![]() |
How do I tell VB NOT to display ads on custom page?
I created a custom VB page using Lynne's tutorial. It worked great! But now I need to make it so that ads don't show up on that page. Right now, we have an ad beneath the navbar and above the footer. What can I do to make these ads not show up on this custom page?
I originally posted the question on vBulletin.com, but as we decided it was a custom question am taking it here instead. Here's the thread from there: https://www.vbulletin.com/forum/show...88#post2310288 Any help would be most welcome!! Thanks, Joe |
Hi Joe,
From the thread at vbulletin.com you indicated you have a script called museumlinks.php. Sounds like you need to also have a template called museumlinks. That way the code I provided will work. Do you know how to create templates? --------------- Added [DATE]1341109599[/DATE] at [TIME]1341109599[/TIME] --------------- Hi Joe, I was thinking about your question a bit more and having just gone through this on my site, what I did was end up only showing the banner on my forumhome and search pages. Would this work for you? |
I am working on this partially for someone else, I will ask re: the ads. Thanks!
|
Quote:
|
At the top of your custom file, look for the THIS_SCRIPT definition:
PHP Code:
Code:
<vb:if condition="THIS_SCRIPT != 'museumlinks'"> |
Very good Link14716. It's been so long since I created my home custom page I forgot all about the index.php file that I use as my default home page. I run the forum only package with a custom home page.
|
All times are GMT. The time now is 12:59 AM. |
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:
|