Advanced search  

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

Pages: [1]   Go Down

Author Topic: Disable "user mode" for logged in users  (Read 2579 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.016 seconds with 19 queries.