Question How to show only in severals forums

Status
Not open for further replies.

predi

New member
Hi I am trying to display a plugin only in some forums, but that applies more conditional achievement not only displayed in these forums. There anyone who can assist me with this?

The plugin is: [DBTech] Post Templates v1 (vB4) - vBulletin.org Forum
and conditional that will apply is this:

Option 1
Code:
<vb:if condition="in_array($forum['forumid'], array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
	<div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
	<ul class="editorpopupbody popupbody popuphover">
		{vb:raw posttemplates}
	</ul>
</li></vb:if>

Option 2
Code:
<vb:if condition="!in_array($forumid, array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
	<div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
	<ul class="editorpopupbody popupbody popuphover">
		{vb:raw posttemplates}
	</ul>
</li>
</vb:if>

Thanks!!!
 
The vB 4.2 version doesn't use the templates or the plugins, so those changes won't work. Unfortunately I don't believe it's possible to achieve this in the vB 4.2 version, sorry :(
 
Status
Not open for further replies.

Legacy Post Templates

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
42
Customer rating
0.00 star(s) 0 ratings
Back
Top