The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am thinking of trying to make a hack where if a user of a certain usergroup posts a thread the thread will become highlighted in the forum view. Any ideas to get me started?
|
#2
|
||||
|
||||
![]()
this could be easily done via templates conditions.
|
#3
|
|||
|
|||
![]() Quote:
|
#4
|
||||
|
||||
![]()
in threadbit
search for: <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a> replace with <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong><if condition="is_member_of($thread,5)"><span color="red"> $thread[threadtitle]</span><else />$thread[threadtitle]</if></strong><else /><if condition="is_member_of($thread,5)"><span color="red"> $thread[threadtitle]</span><else />$thread[threadtitle]</if></if></a> this changes the threatitle to red if it's of members of usergroupid 5, I didn't test it though |
#5
|
|||
|
|||
![]() Quote:
hmmm yeah it doesn't work for me |
#6
|
|||
|
|||
![]()
anyone know why this doesn't work, does it work for anyone else?
|
#7
|
|||
|
|||
![]()
has anyone tried it, anyone see anything wrong with the code, seems strange to me
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|