Hmm, Ok I figured out what it is doing, but its still not solving my problem.
That code seems to be showing Yes to me on all profiles because I am usergroup 6 so it says ok I will show you YES. But to other members they see No. This in that simple test that is.
Ok, to explain it simple,
I have Teamspeak and VB integrated together. When a member registers and is approved for an account on my site, it automatically gives them access to teamspeak as the DB is shared. Now I have some settings built in profiles via admincp where I can grant them Server Admin, Channel Admin and many other options. Now my Admin usergroups by default have all this already in Teamspeak, but I can also toggle a checkbox in admincp if I want to grant specific rights to certain members.
So I want a condition that will say, If apart of this usergroup say Yes they have this specific access or if box is checked it will also say yes.
I already know the other conditionals, what I cant get to work is based off usergroup. The answer is based on the usergroup of that members I would be viewing not what usergroup I the view is in.
|