The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I am trying to create a tiny plugin that gets evaluated for each post in a thread.
This code should be executed for each post: PHP Code:
Code:
<if condition="$admin_has_posted == 1"> do this... <else /> do that... </if> thanks eric |
#2
|
||||
|
||||
![]()
postbit_display_complete
Though, it won't work this way. |
#3
|
||||
|
||||
![]() Quote:
|
#4
|
|||
|
|||
![]()
I want to do the same thing but I get an error when I use
PHP Code:
<if condition="$thread[forumid] == $hf[new_request]"> "new_request" has the id of the forum I want to use the conditional on. I doubt the conditional is causing the problem though Here's the error Fatal error: Call to a member function on a non-object in c:\apache\htdocs\forum\forums\includes\class_postb it.php(279) : eval()'d code on line 1 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|