Community

Forums » SEPHP Help and Tips

Block a Javascript per User Role

  • Xio
    • 6 posts
    September 19, 2019 1:39 AM EDT

    Hello everyone!

    Socialengine allows you to create an ad campaign that you can block per level settings. For exemple, if you don't want premium members to see an advert, you would set it up there.

     

    How does it work with Javascript components? Let say I have a script on my HTML page and I don't want this specific script to render or activate for premium users. How would I go into specifying it into the code?

     

    Thank you!