Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Nov 2009, 14:24
deluxmall deluxmall is offline
 
Join Date: Jul 2009
How to make different user group with different colour fonts?

Following is the extract from the threadbit, I want to display different colour for different usergroup , how do i do that ?

<div class="smallfont">
<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
<if condition="$show['guestuser']">
$thread[postusername]
<else />
<font color="#9a0000"> Posted by :</font> <font color="#6f6f6f"> <span style="cursorointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> </font>
</if>





</div>
--------------- Added 20 Nov 2009 at 14:24 ---------------

How can i add a if condition ?

Last edited by deluxmall : 20 Nov 2009 at 14:24. Reason: Auto-Merged DoublePost
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:19.

Layout Options | Width: Wide Color: