|
|
Joined: Nov 2006
Posts: 191 Likes: 1
Member
|
Member
Joined: Nov 2006
Posts: 191 Likes: 1 |
How do I disable the viewing of profiles by members and moderators but not admin? Thankyou.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
All scripts have at the top of their page the setting about who can view/run the file - can be set to admin-only
|
|
|
|
Joined: Jul 2006
Posts: 51
journeyman
|
journeyman
Joined: Jul 2006
Posts: 51 |
go to /scripts/showprofil.inc.php find replace with
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Actually, since he wants it enabled for admin's AND mod's, he should edit showprofile.inc.php and increase:
"admin_or_mod" => 0, vs "admin_only" => 0,
Which should allow mod's to access as well.
Last edited by Gizmo; 05/02/2007 7:30 PM.
|
|
|
|
Joined: Jul 2006
Posts: 51
journeyman
|
journeyman
Joined: Jul 2006
Posts: 51 |
Oopss, next time i c&p
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Oopss, next time i c&p Lol don't sweat it, I made the same mistake a couple of times with several mod's at UBBDev ol
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
502
guests, and
178
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|