Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Jan 2020, 01:45
Katoona Katoona is offline
 
Join Date: Oct 2008
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
Reply With Quote
  #2  
Old 23 Jan 2020, 05:25
iA1 iA1 is offline
 
Join Date: Jul 2018
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
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #3  
Old 23 Jan 2020, 17:09
Katoona Katoona is offline
 
Join Date: Oct 2008
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.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements MARCO1 BBCODE Hide Tags [ hide] [/ hide] MARCO1 vBulletin 4.x Add-ons 372 01 Feb 2018 13:21



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:16.

Layout Options | Width: Wide Color: