The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Show icons for specific usergroup (threadstarter) in threadbit?
On the thread listing page (threadbit), in vB3 and vB4, I find the icons to the left of the thread title to be useless. To make that space useful, I'd like to show icons only for threads started by members of certain "priority" usergroups. Their threads get icons, normal members will not.
The easiest way is to wrap this code (which shows one of the icons) Code:
<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" /> I've tried writing several statements, but none have worked, or even come close. All those did was blank out the icon column, and showed nothing. Example of NOT working: Code:
<vb:if condition="is_member_of($vbulletin->thread[postuserid], 6, 33)"> </vb:if> Quote:
Code:
<vb:if condition="is_member_of($memberinfo, 6)"> </vb:if> .. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|