The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How this code works in vBulletin 5
This code is for blocking ads in specific channels
He was working at vb4 Quote:
I changed [forumid] to [nodeid] but did not work I hope to find the solution Best Regards |
#2
|
||||
|
||||
Quote:
<vb:if condition="!in_array($page['nodeid'], array(5,47,2))"> Ads Here </vb:if> If you use a hook you have to put page=page into the arguments |
#3
|
||||
|
||||
Quote:
It works now excellently And I modify it also works but do not know which one is better <vb:if condition="in_array($page['channelid'], array(16,26,30))"> Ads Here </vb:if> Waiting for your assistance Best Regards |
#4
|
||||
|
||||
Look at the sourcecode (Firefox, press cmd + u) of the pages and look what is print out there.
Than you could decide by yourself ;-) |
#5
|
||||
|
||||
Quote:
Best Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|