Forums

How to i Get a certain user role? (1 post)

  1. Justin
    Member
    Posted 2 years ago #

    Hey, im trying to set up unique nav bars based on the user's level/role. How can i change the level of a certain role? Or how can i get a role? I want something like this:

    if ($rolelevel == 9)
    //show moderator nav

    or if i could do:

    if ($role == 'moderator')
    //show moderator nav

    Anyone have a clue on how i can do this? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic