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: Making a coppermine site Read Only for all users  (Read 3714 times)

0 Members and 1 Guest are viewing this topic.

racingworld08

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Making a coppermine site Read Only for all users
« on: August 28, 2008, 11:33:22 am »

Hi, I am new to this and would reallly appreciate some help.

I have created my gallery website using coppermine. However, I would only like the Admin User to be able to login.
I want all other users to VIEW only the pictures as Guests.

Ideally I want to remove the login button (not visible to users but only available if you are an admin), & also remove other links such as 'My Favorites'. So basically when users visit the site, they have NO write or login access (not visible to them as it will confuse them) but VIEW/READ only access.

many thanks for your ugent assistance.
Logged

johanz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: Making a coppermine site Read Only for all users
« Reply #1 on: August 28, 2008, 11:46:24 am »

Disable registration and edit theme to remove some buttons.
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Making a coppermine site Read Only for all users
« Reply #2 on: August 28, 2008, 01:07:38 pm »

After logging in as admin, set under User Settings
Code: [Select]
Allow new user registrations =>  No
Allow unlogged users (guest or anonymous) access => Yes

As for removing the login link, how will YOU login? There are two options but both use the same plugin called Final Extract. You can leave the login link there so it's easier for admins to see and login or you can remove it and remember the login link is "http://you_gallery.com/login.php". People are use to surfing the web with login links on lots of pages so I wouldn't be too concerned
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

racingworld08

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Making a coppermine site Read Only for all users
« Reply #3 on: September 28, 2008, 11:19:02 pm »

Thanks for your posts. I have removed some of the buttons. I now comment out the addButton function (which makes the login link visible) so that users can never login. When I want to login as admin, I simply un comment that line & do my thing. Sometimes though, when I do change the theme.php, when i access the site then, the site does behave kinda funny(i.e: bringing back the default coppermine skin, or even some times wont show login link).. anyway, works now and only gives those problems once in a while. maybe a caching issue? have deleted browser histry files but that problem still exists.

Thanks again for your responses.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.