Quote:
04-24-03 at 07:41 AM Jujimufu said this in Post #27
I have a question about this. You state certain user groups can be allowed to view it only. I'd like admins to be the only people able to enter through this membercheck portal thingy password thingmajigger How can I do that? I see a code line in it that is obvious but.. could you toss an example please? Say only allowing admins to enter?
|
Change this:
PHP Code:
if ($usergroupid!=1 and $usergroupid!=3 and $usergroupid!=4 and $usergroupid!=9 and $usergroupid!=11)
to this:
PHP Code:
if ($usergroupid!=1)
Assuming 1 is the admin group id.
Great hack MT_100 and great mod WouterW (using yours

).
This is a great hack, and I am gonna make a non vb (just using the user table) members area login page with this
By the way, anyone interested adding a logout? I know it could be done, and I am trying to come up with something.