Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Disable "user mode" for logged in users  (Read 2350 times)

0 Members and 1 Guest are viewing this topic.

cynikalsam

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Disable "user mode" for logged in users
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Disable "user mode" for logged in users
« Reply #1 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 -->
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.