|
Text
|
| Extra fields for profile e.g fav band/car/Birthday |
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



Joined: 11 Jun 2006
Posts: 909
Location: Hampshire,England

Add Comment
Show Comments
|
Posted: Wed Jul 05, 2006 3:42 pm |
 |
|
Remember to backup your forum template and use editor before you do this incase something goes wrong.
Go to your forum's Administration Panel ----- 2. General --- Profile Fields
Now add favband And click Add Custom Profile Field
You will now see this screen
Fill in the details to how you want them then click submit.
You have now set up your fav Band/food/car etc field.
The Guide below is ONLY for those that wish to edit or move the code to a place not given in the drop down bar in the screen above.
Please note i use the name favband only as an example you must change all favband with the same name as in the Field name (see picture above).
Now got to admin -panel-Styles Admin-Edit Templates/Logos
Select the template you wish to edit and then
In profile_view_body.tpl you should add the following code where you want it to appear
| Code: | <tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_favband}: </span></td>
<td><b><span class="gen">{favband}</span></b></td>
</tr> |
so it could look like this
| Code: | <tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
<td><b><span class="gen">{LOCATION}</span></b></td>
</tr> <tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_favband}: </span></td>
<td><b><span class="gen">{favband}</span></b></td>
</tr>
|
Now goto profile_add_body.tpl
And add where you need it to go for example if you wish it to be on the list under interests and before the sig box place the code like this
| Code: | <td class="row1"><span class="gen">{L_INTERESTS}:</span></td>
<td class="row2">
<input type="text" class="post" style="width: 200px" name="interests" size="35" maxlength="150" value="{INTERESTS}" />
</td>
</tr>{XPROFILE} |
Now when a user enters their profile they will see the option to add fav band, of course you can just change the words fav band to anything you like and you can add more than one again just copy and paste the code and change the favband text, of course remember to add the fields in forum footer aswell.
|
|
| |
|
 |
|
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
HOWTODOIT was designed and built by Symon Field Creator Of ☆ ☆ FunnyWorld ☆
HOWTODOIT© Symon Field 2006,2007,2008 Powered by phpBB Group © 2001,2005.
|
|
|
|