The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to make admin's colour red in last subject and last message
I just want to be red colour who write last message or answer message. If admin who write answer message to subject be red colour, I did that code
<if condition="in_array($gthread[usergroupid], array(6))"> <a href="member.php?$session[sessionurl]u=$gthread[userid]" target="_blank"><font color="#FF0000">$gthread[username]</font></a> <else /> <a href="member.php?$session[sessionurl]u=$gthread[userid]" target="_blank">$gthread[username]</a> </if> I made that code like this if admin write subject. <if condition="in_array($gthread[usergroupid], array(6))"> <a href="member.php?$session[sessionurl]u=$gthread[postuserid]" target="_blank"><font color="#FF0000">$gthread[postusername]</font></a> <else /> <a href="member.php?$session[sessionurl]u=$gthread[postuserid]" target="_blank">$gthread[postusername]</a> </if> but i got error. this code didnt work if user write subject. for example user write subject and admin write message colour is red but users colour is red too. can you help me for this failure? --------------- Added [DATE]1341873061[/DATE] at [TIME]1341873061[/TIME] --------------- ??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|