|
Text
|
| Xprofile Fields In MemberList |
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



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

Add Comment
Show Comments
|
Posted: Sat Jul 21, 2007 9:08 am |
 |
|
You can add extra lines now to the Memberlist using XPROFILE tags that you have already set up. For this guide I will use KARMA as the Demonstration, And place it after the entry for www. of course you can add how many you like and whatever you like by follow this guide each time.
Here Is HOWTODOIT
Please remember to use the Editor account before making any template changes, If you have not made an editor account yet please read HERE
Secondly you must have all ready made a template you can edit.
If you have not done this please read HOWTODOIT
PLEASE read this post before you do any editing for this code.
http://howtodoit.myfreeforum.org/...component=content&topicid=673
Ok all that done now goto
admin panel -- 3. Styles -- Edit Templates/Logos
Now open up your template using the drop box marked Choose Template to Edit for example myff_howtodoit1 and using the top drop box called Choose Forum template/javascript/css File to Edit find
memberlist_body.tpl
Now you need to find a block of code that will look something like this
| Code: | | <td class="table_index_col_desc" align="center" nowrap>{L_WEBSITE}</td> |
Now after add
| Code: | | <td class="table_index_col_desc" align="center" nowrap>Karma</td> |
This will add the word Karma as the title as shown below.
If you want an image instead as shown below then you would use something like
| Code: | | <td class="table_index_col_desc" align="center" nowrap><img src="ranks/football1/rang5.gif"></td> |
You can change the image to suit your forum remember most ranks are 0-5, so here I show 5 with the command rang5.gif
Ok now you should find a line like this
| Code: | | <td class="stdcontent" align="center"> {memberrow.WWW_IMG} </td> |
And after add
| Code: | | <td class="stdcontent" align="center"> <img src="ranks/football1/rang{memberrow.KARMA}.gif"> </td> |
This will add the rank images again you can change to suit your forum
Hints
You can of course change where you wish it to be by placing the codes after each section, but remember they must match.
It is no good placing the first code which controls the title before the www. tags, and then placing the second code that controls the images after the Location tags
You can add what ever XPROFILE you wish just remember the first code is the title the second code is the image or data.
In this Screenshot you can see that I have added country flags and Favourite Team
I did this with the following codes.
Title
| Code: | | <td class="table_index_col_desc" align="center" nowrap>FLAG</td> |
Data
| Code: | | <td class="stdcontent" align="center" valign="middle"><span class="gen"><img src="/ranks/flags/{FLAGS}.gif"></span></td> |
Title | Code: | | <td class="table_index_col_desc" align="center" nowrap>My Team</td> |
Data
| Code: | | <td class="stdcontent" align="center" valign="middle"><span class="gen">{memberrow.FavTeam}</span></td> |
And that Is HOWTODOIT
|
|
| |
|
 |
|
|
|
 |
|
 |
|
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.
|
|
|
|