Jump to content

Community

gavpedz

+Clients
  • Content count

    184
  • Joined

  • Last visited

About gavpedz

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. gavpedz

    Mark as Sold

    I can see the buttons but users can not I have set that all users can use it in the plugin settings.
  2. gavpedz

    Mark as Sold

    4.3 support?
  3. gavpedz

    (NB41) Enhanced Advertisements

    Brilliant thank you!
  4. gavpedz

    (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.
  5. gavpedz

    (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?
  6. gavpedz

    (NB41) Enhanced Advertisements

    Ah yes fantastic that works like a charm!
  7. gavpedz

    (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}}
  8. gavpedz

    (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.
  9. gavpedz

    (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.
  10. gavpedz

    (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}}
  11. gavpedz

    (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.
  12. gavpedz

    (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?
  13. gavpedz

    (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.
  14. gavpedz

    (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.
  15. gavpedz

    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; }
×