The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I can't get this code to work:
Code:
<vb:if condition="can_moderate() AND $forumid==$vboptions['rpforumid']">
<form method="post" action="postings.php?do=domovethread&t=$threadid">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="domovethread" />
<input type="hidden" name="title" value="[solved] $threadinfo[title]" />
<input type="hidden" name="destforumid" value="88" />
<input type="hidden" name="redirect" value="none" />
<input type="submit" value="Solve report">
</form>
</vb:if>
|
|
#2
|
||||
|
||||
|
Shouldn't it be this?
HTML Code:
<vb:if condition="can_moderate() AND $forum[forumid] == $vboptions['rpforumid']">
|
|
#3
|
|||
|
|||
|
Still won't work. Supposedly I have to register a variable, but I tried registering forum to SHOWTHREAD and it didn't work.
|
|
#4
|
|||
|
|||
|
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|