I'm running text ads on my website, and sometimes they seem to be in a continuous "loading" state, which leaves the WYSIWYG locked. Is there any place that I can put the ads so they won't show up on newthread.php or newreply.php?
Announcement
Collapse
No announcement yet.
My advertisements are killing my WYSIWYG.
Collapse
X
-
You can put this around your ads code in the templateCode:<if condition="THIS_SCRIPT != 'newthread' OR THIS_SCRIPT != 'newreply'"> Your ads code goes here </if>
-
A page can't be both.
gear, using and would make that conditional fail 100% of the time
everypage would be not a AND not b
Comment
-
Let's see...
The problem:
they won't show up on newthread.php or newreply.php
Your solution (using OR): condition="THIS_SCRIPT != 'newthread' OR THIS_SCRIPT != 'newreply'"
THIS_SCRIPT=newthread ==> false OR true ==> true ==> it shows the ads (we don't want this)
THIS_SCRIPT=newreply ==> true OR false ==> true ==> it shows the ads (we don't want this)
THIS_SCRIPT=anything_else ==> true OR true ==> true ==> it shows the ads (OK HERE!!!)
My solution (using AND): condition="THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'newreply'"
THIS_SCRIPT=newthread ==> false AND true ==> false ==> it don't shows the ads (OK HERE!!!)
THIS_SCRIPT=newreply ==> true AND false ==> false ==> it don't shows the ads (OK HERE!!!)
THIS_SCRIPT=anything_else ==> true AND true ==> true ==> it shows the ads (OK HERE!!!)
Am I evaluating something wrong?Last edited by Gearloose; Wed 15 Jun '05, 11:28pm.
Comment
-
Code:<if condition="THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'editpost'"> </if>
Comment
-
-
Related Topics
Collapse
-
Hey all,
I am trying to add Google Ads to my cloud hosted site and I think I've done it right
- I've added an Ad module to the bottom of my page, put my <script> code from Google...-
Channel: vB Cloud Support & Troubleshooting.
Tue 8 May '18, 4:59am -
-
by TheFurtherI have been trying to get approved for google Adsence for quite a while now and im stuck on the reviewing your page for over a month now. I have a feeling its because i posted the code on the wrong section...
-
Channel: Support Issues & Questions
Tue 24 Jan '17, 8:19am -
Comment