Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Apr 2020, 10:13
lakshadvio lakshadvio is offline
 
Join Date: Apr 2020
How this code works in vBulletin 5?

This code is for blocking ads in specific channels

He was working at vb4

<vb:if condition="!in_array($GLOBALS[forumid], array(5,47,2))">
Ads Here
</vb:if>
How to https://19216801.onl/ https://routerlogin.uno/https://192168ll.link/ use it with vBulletin 5
I changed [forumid] to [nodeid] but did not work
I hope to find the solution

Best Regards

Last edited by lakshadvio; 01 May 2020 at 05:20.
Reply With Quote
  #2  
Old 29 Apr 2020, 07:11
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Originally Posted by lakshadvio View Post
This code is for blocking ads in specific channels

He was working at vb4

<vb:if condition="!in_array($GLOBALS[forumid], array(5,47,2))">
Ads Here
</vb:if>
How to use it with vBulletin 5
I changed [forumid] to [nodeid] but did not work
I hope to find the solution

Best Regards
try the variable $page['channelid']
If you want to select the channel only the $page['channelid'] have to be equal to $page['nodeid']
__________________
vBulletin-Forum.de closed!
ⓒ by delicjous
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:59.

Layout Options | Width: Wide Color: