always in admin mode always in admin mode
 

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

always in admin mode

Started by till, June 14, 2005, 06:05:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

till

The admin mode is for my users the most mis understood feature. I have too many support requests that sound like, "my account is validated, but I can't upload any pictures or create any albums" and so on. Now in 100% of those cases the people didn't click on admin mode, and I can't really blame them.

So anyway, is it possible to make logged in users always browse the galleries in admin mode? I couldn't find a setting, maybe I overlooked something.

Thanks for your help,
Till

kegobeer

Changed in 1.4, no plans to reverse engineer for 1.3.x.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

edit themes/yourtheme/theme.php, find<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- 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 enter_admin_mode -->
                        <!--<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::-->
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <!--<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::-->
<!-- END leave_admin_mode -->

till

Quote from: GauGau on June 15, 2005, 09:13:05 AM
edit themes/yourtheme/theme.php, find<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- 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 enter_admin_mode -->
                        <!--<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::-->
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <!--<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::-->
<!-- END leave_admin_mode -->


Thanks for all the replies, guys. :)

@Gaugau: I know this disables the links so users won't be able to change the modes, but how do I set the the user to be in admin mode, when he logs in?

Thanks,
Till

Joachim Müller

new users will be in admin mode by default. Cpg1.4.x sets all users into admin mode, but as suggested above: there will be no backport. Just disable the user mode link, leave the admin mode link visible to give them the opportunity to go back into admin mode.

till

Quote from: GauGau on June 16, 2005, 08:14:23 AM
new users will be in admin mode by default. Cpg1.4.x sets all users into admin mode, but as suggested above: there will be no backport. Just disable the user mode link, leave the admin mode link visible to give them the opportunity to go back into admin mode.

Ok, thanks for the info. Great suggestion, btw. ;)

Looking forward to 1.4 then.

Thanks,
Till