Text
Xprofile Fields In MemberList

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Add Karma

Posted:     Post subject:

Back to top
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866


Location: Hampshire Add Karma

PostPosted: Tue Jul 17, 2007 8:47 pm    Post subject: Xprofile Fields In MemberList Reply with quote

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">&nbsp;{memberrow.WWW_IMG}&nbsp;</td>


And after add

Code:
<td class="stdcontent" align="center">&nbsp;<img src="ranks/football1/rang{memberrow.KARMA}.gif"> &nbsp;</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


Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum All times are GMT
Page 1 of 1

 
Jump to:  
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

Card File  Gallery  Forum Archive
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 

Create your own free forum | Buy a domain to use with your forum