![]() |
Help needed to Hide ads from Lost password page
Google is nagging about my ads showing in ".../login.php?do=lostpw" page, and I need to make a conditional statement to hide Google ads from this page.
I am using <vb:if condition="!in_array($GLOBALS['threadid'], array(30016,53421,94993))"> to hide ads from spesific threads that contain content not accepted by Mr. G, but I cant figure out how to hide it from "Lost password" page as mentioned above. Can anybody help? I am using VB4.2 |
Add a new plugin at hook location: replacement_vars
Paste the following code: Code:
if (defined('VB_ERROR_PERMISSION') OR (THIS_SCRIPT == "login")) |
This worked beautifully. Thanks a lot. I would not have figured this out in a million years :)
I have not recieved any emails regarding Error pages, so I will hold on installing Mr. Bird's addon, but I have bookmarked it in case I need to. |
All times are GMT. The time now is 02:42 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:
|