Solved: 6 Years, 2 Months ago [How To?] "Force users to login" custom message?
#1
Solved: 6 Years, 2 Months ago Wink 
Hi all,

I'm new to myBB and I like it very much. It is easy to setup and configure unlike phpBB Blush

I set the option "Force user to login" on, but I want to customize the message of it. 

I'd like to change it so it looks like a welcome message for visitors and tell them to register or login.

Thanks!!

[Image: ajo65g.jpg]
Reply
#2
Solved: 6 Years, 2 Months ago
those messages an be modified from, ACP >> Configuration >> Languages >> English >> Options >> Edit Language Variables >> messages.lang.php >> error_nopermission_guest_1 to 5


PS: modifying that text will change them across the board for all no permission pages..
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 6 Years, 2 Months ago
Thanks. I see the logic now.
My intention is to create a forum for internal use.
So is there a mod or plugin for my purpose? ie. to hide all the forums from guest, and put up a "welcome message" on index.
Reply
#4
Solved: 6 Years, 2 Months ago
You can try these plugins which will show a notice to guests: 

http://community.mybb.com/mods.php?action=view&pid=338

http://community.mybb.com/mods.php?action=view&pid=329

or check this thread which will give you an idea about displaying some text only on the index page...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#5
Solved: 6 Years, 2 Months ago
Thank you.
I changed only the error_nopermission_guest_1 to 5
and since I have turned on "Force user to login", I think it works fine.
I'd like to see if I can customize the index page through
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)