Announcement

Collapse
No announcement yet.

Custom priveledges for registered users and guests?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom priveledges for registered users and guests?

    Got a quick qustion. I've got a script file that disables the right-click option. I want to use this script for guests and not-loggin in users, but not use if for registered members, admins, or mods and use it as an incentive to register.

    I've got the script setup to display a little box telling them right click is disabled until they signup and gives them a link to do so.

    Can't figure out how to run it only for a specific usergroup though. Thanks for any help!

  • #2
    In which ever template you need to place it in do something like this:
    <if condition="!$bbuserinfo['userid']">
    // code here
    </if>

    I would think it would go in the header template because most likely javascript and placed between the <head></head> tags.
    PHP Tutorials - Mozilla Firefox :rolleyes:

    Comment


    • #3
      Works perfect! Thanks

      Comment

      Loading...
      Working...
      X