The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Original Poster Plugin
If we use this condition in vB templates to show and icon etc on the original posters posts,:
Code:
<if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"> Code:
if($vbulletin->$thread['postuserid'] blah blah) Code:
if($thread['postuserid'] blah blah) |
#2
|
||||
|
||||
You would use the same conditional in your plugin code that you would use in the template. For example, if you are adding to the postbit of all of the posts in a thread belonging to the OP, then in your plugin, you could use:
PHP Code:
|
Благодарность от: | ||
Black Snow |
#3
|
|||
|
|||
Thanks MarkFL! That's great!
I think we should have a thread where all variables are shown and what they do. Like $post['BLAH'] is used on 'X' template(s) and does 'Y'. This would be helpful to everyone I think. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|