![]() |
|
Thread Tools |
#1
|
||||
|
||||
User Re-Direct to NO PERMISSIONS
Have the following code to specify which users can use a custom page of mine:
This directs people to the payments.php page, but I have one "Administrative Only" page, where I don't want to direct them to payments.php, but where I want to elicit a No Permission message, so how do I code the above to accomplish this? Thanks!! No members have liked this post.
|
#2
|
||||
|
||||
You can call the function print_no_permission(), no parameters, like:
No members have liked this post.
|
#3
|
||||
|
||||
Okay so, code it like:
Or do I do something different? Thank you again for your help. No members have liked this post.
|
#4
|
||||||||||||
|
||||||||||||
Well, more like this:
Also, I just remembered that there's a function called exec_header_redirect() that takes the url as a parameter, which you might want to use for your other redirects since it ends the script instead of going on and generating the rest of the page. To use that you'd replace
with
No members have liked this post.
|
#5
|
|||
|
|||
Awesome, that did the trick, thank you
![]() --------------- Added 10 Apr 2015 at 20:59 --------------- Much appreciated!! No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Direct Link to User's ACP Profile in Postbit for Admins | N9ne | vBulletin 2.x Full Releases | 19 | 04 Jun 2003 16:04 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:24.