- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 42 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - part of a module is members only... [ ]
Author
Message
jimmyjimjim
Lieutenant
Joined: Jan 23, 2003
Posts: 258
Location: USA
Posted:
Sat Jun 14, 2003 4:39 pm
how do you make part of a mdule redirect to the "Access Denied" page?
I'mm working on a module that has a form I want to limit to member access only.
oaklid
Corporal
Joined: May 30, 2003
Posts: 56
Posted:
Sat Jun 14, 2003 4:52 pm
You'll need to use a combination of
if (is_user($user))
do stuff users can see
elseif (!is_user($user))
do stuff non-users can see.
_________________ Kristen
http://www.mediatinker.com/
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum