Making a coppermine site Read Only for all users Making a coppermine site Read Only for all users
 

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

Main Menu

Making a coppermine site Read Only for all users

Started by racingworld08, August 28, 2008, 11:33:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

racingworld08

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.

johanz

Disable registration and edit theme to remove some buttons.

Gizmo

After logging in as admin, set under User Settings

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
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

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.