The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Create the plugin as stated above, name it Subscribed.
Hook Location, select, showthread_query In the Plugin PHP Code message area, Add: Code:
$hook_query_fields .= " ,subscribethread.*"; $hook_query_joins .= " LEFT JOIN " . TABLE_PREFIX . "subscribethread AS subscribethread ON (subscribethread.threadid=post.threadid AND subscribethread.userid=post.userid)"; In your postbit or postbit_legacy template find: Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> <br><br><br><br><br><br><br><br><br> Code:
<div align="left"> <if condition="$post['subscribethreadid']">Subscribed</if> </div> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|