Aight, if you want to go there... First to link the cpf names listed you need this edit.
Open ./includes/functions_profile_fields.php
FIND
- Code: Select all
$value = make_clickable($value);
REPLACE WITH
- Code: Select all
// $value = make_clickable($value);
Let's start with 4 cpf names for this and you can expand from there.
You will need 8 cpf for those 4 names. 2 names in each game.
Let's do the SGC and the SGA games for this example.
Create the 8 cpf:
- sgcnameone - Simple text field
- sgclinkone - Simple text field
- sgcnametwo - Simple text field
- sgclinktwo - Simple text field
- sganameone - Simple text field
- sgalinkone - Simple text field
- sganametwo - Simple text field
- sgalinktwo - Simple text field
You will find out that you need a long line to enter the url addresses in so make the link cpf large.
Maximum number of characters: 50 to 80 (what ever you need)
Creating one name cpf and one link cpf example:
- Code: Select all
sgcnameone - Simple text field - Create new field
Field name/title presented to the user: SGC Character1
Field description: Enter your first character name for SGC.
Profile type specific options - Save
- Code: Select all
sgclinkone - Simple text field - Create new field
Field name/title presented to the user: SGC Link1
Field description: Enter url to your first character for SGC.
Profile type specific options - Maximum number of characters: 80 - Save
Those two cpf will do for one name. Continue and create another 3 names for this.
I put some code together for 4 names. So add these 3 other names like you did above.
- sgcnametwo - Simple text field
- sgclinktwo - Simple text field
- sganameone - Simple text field
- sgalinkone - Simple text field
- sganametwo - Simple text field
- sgalinktwo - Simple text field
I placed this cpf group below the sig of the user's post like this.
Open ./styles/prosilver/template/viewtopic_body.html
FIND
- Code: Select all
<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
AFTER ADD
- Code: Select all
<ul class="profile-icons">
<!-- IF postrow.S_PROFILE_SGCNAMEONE and postrow.S_PROFILE_SGCLINKONE -->
<li>
<dd><strong>{postrow.PROFILE_SGCNAMEONE_NAME} </strong><br />
<a href="{postrow.PROFILE_SGCLINKONE_VALUE}" title="{postrow.PROFILE_SGCLINKONE_VALUE}">{postrow.PROFILE_SGCNAMEONE_VALUE}</a></dd>
<!-- IF postrow.S_PROFILE_SGCNAMETWO and postrow.S_PROFILE_SGCLINKTWO -->
<dd><a href="{postrow.PROFILE_SGCLINKTWO_VALUE}" title="{postrow.PROFILE_SGCLINKTWO_VALUE}">{postrow.PROFILE_SGCNAMETWO_VALUE}</a></dd>
<!-- ENDIF -->
</li>
<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_SGANAMEONE and postrow.S_PROFILE_CGAKONE -->
<li>
<dd><strong>{postrow.PROFILE_SGANAMEONE_NAME} </strong><br />
<a href="{postrow.PROFILE_SGALINKONE_VALUE}" title="{postrow.PROFILE_SGALINKONE_VALUE}">{postrow.PROFILE_SGANAMEONE_VALUE}</a></dd>
<!-- IF postrow.S_PROFILE_SGANAMETWO and postrow.S_PROFILE_SGALINKTWO -->
<dd><a href="{postrow.PROFILE_SGALINKTWO_VALUE}" title="{postrow.PROFILE_SGALINKTWO_VALUE}">{postrow.PROFILE_SGANAMETWO_VALUE}</a></dd>
<!-- ENDIF -->
</li>
<!-- ENDIF -->
</ul>
Study the codes, you will see that each game with 2 names in it is between the <li> and the </li>
If you can see how that code is dividing the games you can add the other 3 games to this.
Let me know how it goes...