The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
1)
It's actually BETTER to fetch both at once. :3 Notice the query line, PHP Code:
PHP Code:
PHP Code:
Now, to make the variable easy to access in the templates, use THIS instead for your plugin in "threadbit_display": PHP Code:
2) No worries! Using those values above, go into your "threadbit" template, and just plug in the values wherever the hell you want. :3 For example, this is USUALLY (without modifications) the part of the threadbit template that is the FIRST column: HTML Code:
<td class="alt1" id="td_threadstatusicon_$thread[realthreadid]"> $thread[openclose_editable] <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="" /> </td> HTML Code:
<td class="alt1" id="td_threadstatusicon_$thread[realthreadid]"> $thread[openclose_editable] $my_field6 <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="" /> </td> Now, I've never used this advanced threadbit thing, but it PROBABLY uses the threadbit template, so... yar. :3 The BEST way to go about it is to avoid editing your templates directly if you can avoid it. But if you can't... well, that's what the template editor is there for. :3 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|