View Full Version : "No permission" message on custom vB page
Dave Rosteck
11-28-2004, 01:00 AM
Can someone explain how to make the "No permission" error message appear for guests telling them to login or register when they access this part of my forums (http://forums.davesmk.com/chat.php)? You see, I'd like to do this to encourage my guests to register when accessing my chatroom.
Thanks in advance for the help.
Andreas
11-28-2004, 02:22 AM
if (!$bbuserinfo['userid']) {
print_no_permission();
}
Personally, I don't think it would encourage guests to register - the error-messages just gets on their nerves.
Dave Rosteck
11-28-2004, 05:26 PM
Do I place this code in the chat.php file or template and what location within the code if that matters?
I agree with you that the message may irritate them. However, this beats the general chat login screen I have now which doesn't even supply the register link or information on how to become a chat user.
Thanks for the help KirbyDE, much appreciated.
Andreas
11-28-2004, 06:46 PM
Place this in chat.php, right after require_once('./global.php');
T3MEDIA
12-13-2004, 06:05 PM
what if you had a template? How would that work?
deathemperor
12-14-2004, 03:43 AM
it can only be placed on php file, useless in template yet it doesn't accept
filburt1
12-14-2004, 03:54 AM
Can someone explain how to make the "No permission" error message appear for guests telling them to login or register when they access this part of my forums (http://forums.davesmk.com/chat.php)? You see, I'd like to do this to encourage my guests to register when accessing my chatroom.
Thanks in advance for the help.
As Kirby said, it can discourage registrations rather than encourage. And the registrations you get will likely never make any posts.
Instead, earn your registrations through content and a unique positive experience.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.