![]() |
Would like to use standard "not logged in" message
How can I display the standard
"you are not logged in or do not have permission to access this page" message instead of the "The administrator has disabled viewing of the arcade for your member group." that is currently displayed when I restrict the arcade to registered/ logged in users? I have the arcade set up to be accessed via a new tab and would like to have the same look as the other pages that are restricted to registered/logged in users. Thanks |
open up this file
arcade/lang/lang_Arcade_en.php search for The administrator has disabled viewing of the arcade for your member group and change it to what you like |
Those seem to be the literals that are displayed.
I was hoping to be able to execute the standard function print_no_permission(). If I replace the literal with "print_no_permission();" then it's going to display "print_no_permission();" and not actually execute the function print_no_permission(). Is there a place that I can insert the call to the function print_no_permission() ? |
if you need it that complex then you'll have to do a little recoding
you mentioned to have it state x instead of z that was the easiest way if you need option / permissions for one or the other recoding is needed |
ok...thanks.
I'll experiment with it a bit. I think I just need to add the test and function call to the php file. |
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|