![]() |
Ad module conditions in vBulletin Cloud 5
1 Attachment(s)
Hi folks,
After submitting a support request on vbulletin.com I was told to post here requesting help. We are using the hosted version of vBulletin Cloud (5.2.5) and having trouble using conditionals and variables inside an ad module. Ultimately I need access to the current thread ID if there is one to map to a topic ID with my ad provider. This was previously done as a PHP plugin in the non-hosted version. Screenshot of the ad module is attached (with the direction that you can use conditionals and variables!) The following code Code:
<vb:if condition="condition"><!-- conditionals working --></vb:if> Code:
<div class="widget-content restore axd axd_187"> I tried to report that this wasn't working as it is supposed to be and was told to post about it here by the support staff. Any ideas? Are conditionals and variables not actually available or am I doing something wrong? |
According to a VB developer, template conditionals are disabled in all ad modules. Mods, feel free to close.
|
The thread id is stored in the pageData.nodeid JS variable. If you are on a thread page, that nodeid is the id of the thread.
|
Quote:
|
All times are GMT. The time now is 12:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|