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
Forums : Pimp My Site! > Widget Access Level
pinstripesc (New Admin) 9/3/2011 1:32 AM EST : Widget Access Level
pinstripesc
Posts: 4895
Zomgawsh Poster

Is the "Widget Access Level" code working? I'm trying it, not sure if I'm doing it totally wrong or what..
TopBottom

Rockie* (New Admin) 9/3/2011 7:30 AM EST : RE: Widget Access Level

Rockie*
Posts: 2
Getting Started!

Yea mine are working. But My site hates IE users.



Mottie's - Widget Access Levels  
   Goodluck..
TopBottom

pinstripesc (New Admin) 9/3/2011 7:30 PM EST : RE: Widget Access Level
pinstripesc
Posts: 4895
Zomgawsh Poster

Hm - if you only want to hide one box, do you have to list all others to show?

ex. "Video(1)", "Movies(1)", "Calendar(1)", "Dragons(4)"
vs.
ex. "Dragons(4)"

I swear I've messed with it upside-down and backwards.
TopBottom

Mottie (MVP) 9/4/2011 9:22 AM EST : RE: Widget Access Level
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Pinstripesc!

Yeah, Hmm.. I'm not sure why I did that backwards like that - hide all of the widgets, then just show the ones with access levels. I'll work on turning this into a mod and maybe try to make it easier to use, if I can

Update: Yeah, I see now LOL. All of the widgets are hidden because the script is near the bottom of the page so you actually get to see the widget before it gets hidden. So, if you have a user that disables javascript, they're not going to see anything - otherwise they will be able to see the widget they shouldn't be able to see.
TopBottom

pinstripesc (New Admin) 9/4/2011 2:31 PM EST : RE: Widget Access Level
pinstripesc
Posts: 4895
Zomgawsh Poster

Hrm. The little line that goes in the CSS Additions works fine (makes everything disappear), but as soon as I state any widget to hide ("Dragons(4)") at any level (1-4) it just disappears for everyone.
TopBottom

Mottie (MVP) 9/4/2011 3:39 PM EST : RE: Widget Access Level
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Well yeah, it should... level 4 means super admin only

Access Levels are as follows:
  • public = 1
  • associate = 1.5
  • member = 2
  • council = 2.5
  • officer = 3
  • super admin = 4
TopBottom

pinstripesc (New Admin) 9/4/2011 6:21 PM EST : RE: Widget Access Level
pinstripesc
Posts: 4895
Zomgawsh Poster

Sorry, I meant I've tried all access levels and it always disappears. Setting it to 4 hides it from everyone, including me as a Superadmin.  I keep logging out to check, even when set to 1 I can't see it as a visitor.
TopBottom

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