GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Piyper (New Admin) 9/1/2009 12:43 PM EST : Security level

Posts: 1098
Zomgawsh Poster

Is there any way to get a persons security level through a JScript or something, so we can Hide certain items on a tab?


Mottie (MVP) 2/1/2010 7:36 AM EST : RE: Security level
GuildPortal MVP
Posts: 3884
Zomgawsh Poster

Hi Piyper!

GuildPortal recently added some block codes to provide the access level name as well as a few other things. These variables can be used along with javascript to do what you are asking.

Here is the list of block codes you can use:
I was told, but I haven't tested the "$block[userlevelnumber]" values are as follows (done this way to allow for adding more in the future):
Public = 1
Associate = 1.5
Member = 2
Council = 2.5
Officer = 3
Super Admin = 3.5
So, now that this is possible, is there a particular widget you are trying to hide?

Admins Online
There are   members online.
So-and-so has logged on!