The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
What template do I need to edit to create a conditional for the thread starter in the forumdisplay page. The thread starter is currently in plain text underneath the Thread title. I would like to set some kind of conditional to BOLD and make red all Thread Starters that are in my "SPONSORS" usergroup.
If I make this kind of conditional... will it make the forums slow? I really appreciate all your help and suggestions. Thanks. |
#2
|
||||
|
||||
![]()
If I am right you should edit "threadbit" template and this won't slow down your forums
|
#3
|
|||
|
|||
![]()
I was told by vBulletin support staff that the variable that I would use in the conditional is unavailable in the threadbit template???? Is this true?? If so... what can I do to get around this? Thanks.
|
#4
|
||||
|
||||
![]()
use this condition: <if condition="is_member_of($thread, 6)"> code goes here </if>
6 is the number of the usergroup. I don't know if this works, just a logical thought. this is the line you must edit: HTML Code:
<if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span> </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|