The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
basically there are 4 buttons now.
2 that I circled and the other 2 at the bottom of the page... basically I want to hid the circled buttons in a specific forum. is there a way to do that?
|
|
#2
|
|||
|
|||
|
<if condition="in_array($foruminfo['forumid'], array(X))">
<else /> <input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" /> <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" /> </if> Replace X with the id of your forum where you don't want the buttons showed... |
|
#3
|
||||
|
||||
|
Quote:
2 or 2, 3, 4 And that would disable in forumids 2, 3, and 4. Code:
if condition="in_array($foruminfo['forumid'], array(2, 3, 4))"> Code:
<if condition="$foruminfo['forumid'] == X">
<else />
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
</if>
Code:
<if condition="$foruminfo['forumid'] != X">
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
</if>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|