|
Text
|
| Extra usergroup name/rank and image |
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



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

Add Comment
Show Comments
|
Posted: Wed Jul 05, 2006 3:46 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 usergroup1 And click Add Custom Profile Field
You will now see this screen
Remember for the image link you must first upload an image to your template (remember to upload with lang_english link showing)read here to see how http://howtodoit.myfreeforum.org/ftopic27.php
Fill in the details to how you want them then click submit.
You have now set up your Usergroup field Up.
Please note That i have used the name usergroup1 as an example if you have entered something else in the field name then where i say enter usergroup1 you must replace that name with the name in the field name.
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.
Now goto admin panel-Styles Admin--Edit Templates/Logos --- your template
In profile_view_body.tpl you should add the following code where you want it to appear remember too change usergroup1 if you have entered something else in the field name
| Code: |
<span class="usergroup1">{usergroup1}<br />{usergroup1_IMG}
|
so it could look like this
| Code: | <td class="row1" height="6" valign="top" align="center">{AVATAR_IMG}<br /><span class="postdetails">{POSTER_RANK}<br /> <span class="xtrarank">{xtrarank}<br /> <span class="usergroup1">{usergroup1}<br />{usergroup1_IMG}</span></td>
<td class="row1" rowspan="3" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
|
In viewtopic_body you should add the following code where you want it to appear
| Code: |
{postrow.usergroup1}<br />{postrow.usergroup1_IMG}<br /> |
so it could look like this
| Code: | <!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.xtrarank}<br/>{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br />{postrow.usergroup1}<br />{postrow.usergroup1_IMG}<br />{postrow.POSTER_JOINED}<br/>{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br/></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
Now all that is done you should goto admin- panel-User Admin--Users List
Now add your Usergroup name the default usergroup image will automatically be used as soon as you enter text in the usergroup box
this is the quick and basic way of adding a User group rank with image
|
|
| |
|
 |
|
|
|
 |
|
 |
|
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.
|
|
|
|