Jump to content
Invision Community

gavpedz

+Clients
  • Content count

    179
  • Joined

  • Last visited

  1. (NB41) Enhanced Advertisements

    Brilliant thank you!
  2. (NB41) Enhanced Advertisements

    So basically at the moment, it is just a simple Adsense ad which shows in the sidebar globally. I have the sidebar turned on globally. I am using your conditional above to ensure it doesn't show on error pages and in private forums which works great but I don't want it to show on the forum index as it's too long. So in addition to the conditionals above i also want to stop it showing on the index page.
  3. (NB41) Enhanced Advertisements

    I have one particular ad that I need to adjust this code for slightly. It's an ad that shows in the sidebar. Is there a way to adjust the above code to stop showing this particular ad on the index page but will show in the sidebar on other pages?
  4. (NB41) Enhanced Advertisements

    Ah yes fantastic that works like a charm!
  5. (NB41) Enhanced Advertisements

    This is what i have. I tried clearing the cache as well just in case but no change. This is for an Adsense ad that is using a customer header position just under the built in header position {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'forums'}} {{$forumId = \IPS\Request::i()->id;}} {{elseif \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic'}} {{try { $topic = \IPS\forums\Topic::loadAndCheckPerms( \IPS\Request::i()->id ); $forumId = $topic->forum_id; } catch( \Exception $e ) {};}} {{endif}} {{if !(isset($forumId) and in_array($forumId, array(5,2,21)))}} 1 {{endif}} {{if 1==1 and !isset(\IPS\Output::i()->hiddenElements['nbenhadverts_error_page'])}}1{{endif}}
  6. (NB41) Enhanced Advertisements

    Sorry i edited my post i tried this but ads are still showing in those particular forums and the topics within them.
  7. (NB41) Enhanced Advertisements

    Thank you but the code doesnt seem any different. What i mean is the new code doesnt make a difference. Ads still show in those particular forums and the topics within those forums.
  8. (NB41) Enhanced Advertisements

    Thank you so much for your help. I just have the extra conditionals box like this now but the ads still show in the private forum topics {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'forums'}} {{$forumId = \IPS\Request::i()->id;}} {{elseif \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic'}} {{try { $topic = \IPS\forums\Topic::loadAndCheckPerms( \IPS\Request::i()->id ); $forumId = $topic->forum_id; } catch( \Exception $e ) {};}} {{endif}} {{if isset($forumId) and in_array($forumId, array(5,2,21))}} 1 {{endif}} {{if 1==1 and !isset(\IPS\Output::i()->hiddenElements['nbenhadverts_error_page'])}}1{{endif}}
  9. (NB41) Enhanced Advertisements

    Ok what conditional would I need to use for that please? To exclude ads in private forums and topics within those forums.
  10. (NB41) Enhanced Advertisements

    I seem to have another issue i need to fix. I have two forums that are private as in they are only visible and accessible to logged in members. I added the forum sections url to the global settings which stopped ads within the topic list of that forum but if a click a topic within that forum ads try and show how can i stop ads from showing in any topic of a particular forum, please? Oh also any trickery to show ads after either the first unread post within a topic or the last post if already read?
  11. (NB41) Enhanced Advertisements

    Perfect thank you! What i am doing is using the global settings to stop ads showing on any login and register url so no need for the login conditional then just adding the one error page conditional.
  12. (NB41) Enhanced Advertisements

    Loving this app so far wondering how i might be able to stop showing ads on error pages though as far as i am aware google doesn't like Adsense ads to show on error pages like 404 not found etc.
  13. Remove ipsAdvertisement Class

    Just as a note @Bluto i notice you wanted to figure out how to turn upload of smaller image off in your original post. Not sure if you have already figured this out but i use this in custom.css and works a treat in that the smaller option doesn't show in the frontend when someone books an advert. #ad_image_more,#ad_image_small,#ad_image_medium { display: none; }
  14. Remove ipsAdvertisement Class

    I didn't even know this until a potential sponsor who was going to have an ad on our site told me they couldn't see any of our ads. It turned out they were using an ad blocker. I thought ok adsense might be blocked but didn't expect our own ads to be. I have just removed that ipsAdvertisement as well and now the ads show. Not sure if this is the best option or not as not my strong point but it works anyway so thanks!
  15. Forum Logos (Support)

    Do the logos show on mobile displays also can this be linked in with the commerce (nexus) plugin?
×