Advanced search  


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.

Pages: [1]   Go Down

Author Topic: "View-only user"  (Read 2987 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 1
"View-only user"
« on: December 03, 2003, 06:34:15 am »

Is it possible to create a user whit no privilage to change the user profile (exept admin) and give that user just "view-only" privilage???

(Exuse my bad english)


Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
"View-only user"
« Reply #1 on: December 03, 2003, 08:02:15 am »

disallow the group the user belongs to to have private albums or upload or anything.
Edit themes/yourtheme/theme.php and comment out the stuff that comes after
// HTML template for user admin menu
like this:
$template_user_admin_menu = <<<EOT

                <!--<div align="left">
                <table cellpadding="0" cellspacing="1">
                                <td class="admin_menu"><a href="albmgr.php" title="">{ALBMGR_LNK}</a></td>
                                <td class="admin_menu"><a href="modifyalb.php" title="">{MODIFYALB_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>

and the profile should be invisible to all "regular" users.

Pages: [1]   Go Up

Page created in 0.067 seconds with 18 queries.