forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: cynikalsam on May 22, 2005, 09:43:54 pm

Title: Disable "user mode" for logged in users
Post by: cynikalsam on May 22, 2005, 09:43:54 pm
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?
Title: Re: Disable "user mode" for logged in users
Post by: Joachim Müller on May 23, 2005, 07:39:23 am
edit themes/yourtheme/theme.php, find
Code: [Select]
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
and replace with
Code: [Select]
<!-- BEGIN leave_admin_mode -->
                        <!--<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::-->
<!-- END leave_admin_mode -->