Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Coppermine's login system  (Read 2375 times)

0 Members and 1 Guest are viewing this topic.

JBChris

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Coppermine's login system
« on: January 10, 2005, 03:56:55 am »

Hey,
I need some help.  I need to take the login system completely off of my photo gallery.  The reason is that it's under a member's area and I need to use the login system that I created.  If this is possible, can I get some tips?

Thanks,
Josh
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Coppermine's login system
« Reply #1 on: January 10, 2005, 04:27:28 am »

sounds like your asking for "bridging" which might be your easiest route.

search the forums on bridging and writing custom bridges.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine's login system
« Reply #2 on: January 10, 2005, 04:41:56 am »

If you don't need any of the user specific functions, like personal galleries, using groups to allow/disallow access to albums, etc, and you'll just be displaying pictures for your members to see, you can edit the theme and remove the login/logout links.  In theme.php, find

Code: [Select]
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
<!-- BEGIN logout -->
                        <a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a>
<!-- END logout -->

and change to

Code: [Select]
<!-- BEGIN login -->
<!-- END login -->
<!-- BEGIN logout -->
<!-- END logout -->

In order to access the admin section, you'll have to create a bookmark/favorite to like this: yoursite.com/coppermine/login.php and another to logout: yoursite.com/coppermine/logout.php.

Make sure you verify your config setting Allow new user registrations is set to no.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.