2008-01-26, 06:08 PM
Ok, either the search feature sucks, or I am terrible at searching. I can never find anything on these forums that I know is here as I saw it only a couple days ago.
Basically, im looking for some instruction on how to secure pages with the mybb user groups. So, you know, if the user is logged in and if they are an administrator, show this, else if they are logged in but not an administrator, show that.
Or something.. anyway, can anyone help me out with this? Also, how on earth does anyone manage to actually find something via the forum search. I always seems to get what seem like completely random and off-topic results. Not to mention, I always seems to get a lot of the same topics no matter what I search.
Thanks.
Basically, im looking for some instruction on how to secure pages with the mybb user groups. So, you know, if the user is logged in and if they are an administrator, show this, else if they are logged in but not an administrator, show that.
if ($user->groups['admin']) {
}
Or something.. anyway, can anyone help me out with this? Also, how on earth does anyone manage to actually find something via the forum search. I always seems to get what seem like completely random and off-topic results. Not to mention, I always seems to get a lot of the same topics no matter what I search.
Thanks.