The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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. |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
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. |
#4
|
||||
|
||||
![]()
Place this in chat.php, right after require_once('./global.php');
|
#5
|
|||
|
|||
![]()
what if you had a template? How would that work?
|
#6
|
||||
|
||||
![]()
it can only be placed on php file, useless in template yet it doesn't accept
|
#7
|
|||
|
|||
![]() Quote:
Instead, earn your registrations through content and a unique positive experience. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|