![]() |
|
Thread Tools |
#1
|
|||
|
|||
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 No members have liked this post.
Last edited by lakshadvio; 01 May 2020 at 05:20. |
#2
|
||||
|
||||
Originally Posted by lakshadvio
try the variable $page['channelid']![]()
If you want to select the channel only the $page['channelid'] have to be equal to $page['nodeid']
__________________
![]() No members have liked this post.
|
#3
|
|||
|
|||
To use this code in vBulletin 5, you need to replace "forumid" with "channel['nodeid']". Here's the updated code:
<vb:if condition="!in_array($channel['nodeid'], array(5,47,2))"> Ads Here </vb:if> This should work to block ads in specific channels in vBulletin 5. If it's still not working, make sure that the channel IDs you're using in the array are correct. MyHealthAtVanderbilt Help No members have liked this post.
Last edited by AdamsE; 28 Mar 2023 at 03:50. |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:47.