+ Reply to Thread
Results 1 to 4 of 4

Thread: Possible to add {if !$isLogin} to banners plugin?

  1. #1

    Possible to add {if !$isLogin} to banners plugin?

    I wanted to make a smart move to make people wanna create accounts on my site by removing google ads when they are logged in.
    Is it possible to add this to the plugin?

    I tried to add {if !$isLogin} bu that just became text
    Last edited by Peter Jonsson; February 23, 2022 at 02:09 PM.
    Classifieds Site: Annonssida
    Other Site: SEO

  2. #2
    I was thinking exactly the same thing a few days ago.

    Maybe under membership services can have the option of remove google ads, and then have it connected to the banners plugin where in each banner you can click an option to enable/disable the banner so it relates to the membership service.

    I would deffo use that
    Last edited by Chris Brown; February 23, 2022 at 06:03 PM.
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  3. #3
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    Try to do it at the template level! That is, wrap the output of the block in {if !$isLogin} banner {/if}
    Then the patterns under the login will not see ads! But I would actually remove the ads for the membership plan, it's cooler! That's if you use it!
    And by the way! At the template level, it is better to implement the function of hiding ads, in this case, you will not lose edits when updating!

  4. #4
    Ye, i can do it thru teamplate but i dont have ads on all pages and it's annoying to modify the template, would rather have it done by the plugin.
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread