Disable "user mode" for logged in users Disable "user mode" for logged in users
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Disable "user mode" for logged in users

Started by cynikalsam, May 22, 2005, 09:43:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cynikalsam

Is there a way i can disable "user mode" for logged in users? I never really saw the point in it. (Maybe it has a purpose on other galleries, but in mine it only causes confusion for my users who dont understand why they can't upload pics).

I'd like to make "Admin mode" default and permanent for logged in users. Would this require a mod, or is tere a simple setting that i have overlooked?

Joachim Müller

edit themes/yourtheme/theme.php, find<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
and replace with<!-- BEGIN leave_admin_mode -->
                        <!--<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::-->
<!-- END leave_admin_mode -->