PDA

View Full Version : Restricted Page...


Chris M
06-15-2002, 10:00 PM
Basically, if you want to restrict the access to a new page you created for a clan or whatever, then you could download this easy file!

I have tested it on my local forums, but I have not got any screenshots at the moment...

Satan

Velocd
06-16-2002, 08:11 PM
Sounds pretty basic, sure this hasn't been done yet? I feel like I've heard this somewhere on these forums before...

g-force2k2
06-17-2002, 01:05 AM
or you could simply make a new usergroup for that clan or just restrict certain members using the show_nopermission function... but if it works for you easier then thats always cool ^_- nice job man...

on any page

if($bbuserinfo[usergroupid]==XX) {
show_nopermission();
} else {

// coding here

}

;)

g-force2k2

Jawelin
06-17-2002, 08:28 AM
I had similar problem, but main issue is when in the clan should be included ONLY some staff members.
I can't create a group for them, so permissions should be given individually to some user of group 7 (mods)

Bye

Chris M
06-17-2002, 01:06 PM
That can easily be solved by using the code :

if ($bbuserinfo[userid]==xx) {
show_nopermission();
}
(where xx=the user id you want to block)

Satan

Xelation
06-18-2002, 06:53 PM
very cool, this will be good for a modding section I was planning to add.

Chris M
06-19-2002, 08:35 PM
Good:)

Glad u like it!

Satan

Roody
07-08-2002, 02:16 AM
hey hellsatan i dont suppose you have any screenshots of this hack do you?