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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 -->