vBulletin Mods

The Official vBulletin Modifications Site

Help needed to Hide ads from Lost password page
by Katoona
23 Jan 2020 00:45

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

iA1 23 Jan 2020 04:25

Add a new plugin at hook location: replacement_vars

Paste the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Install this addon as well: https://www.vbulletin.org/forum/showthread.php?t=326045

Katoona 23 Jan 2020 16:09

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 19:41.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.