Jump to content

Recommended Posts

Posted

I need so help or advise, (if this is not suppose to be here please delete it)

 

Here is the problem, I want to make my photos only available to only people that register, not the whole world, the only way I can do that was to create ids and passwords and make my family Adim, and the make the gallery off line so that only the Admin can log in, well I really do not want my family to see all the extra buttons, so is there a way (hack/mod or what ever) to restrict the picture to only registered members, I also want an email informing me that there is a registation waiting, (of course I would create the id and password myself).

 

Thanks

Posted

From the Coppermine f.a.q:

 

How can I let unregistered users see the thumbnails only, but not the actual pictures?

 

Edit displayimage.php and add

if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

just before

 

/**************************************************************************

* Local functions definition

**************************************************************************/

This should prevent unregistered users from seeing the thumbnail atleast. I don´t have any coppermine gallery installed at the moment. But it did the trick when I did use it.

 

The family should be able to be put in the registered users group and then not needing to view the "extra" buttons. As far as I remember, either they can be pre registered or they can register themselves.

As for preventing people to register without having the gallery offline I dont know.

Posted
From the Coppermine f.a.q:

This should prevent unregistered users from seeing the thumbnail atleast. I don´t have any coppermine gallery installed at the moment. But it did the trick when I did use it.

 

The family should be able to be put in the registered users group and then not needing to view the "extra" buttons. As far as I remember, either they can be pre registered or they can register themselves.

As for preventing people to register without having the gallery offline I dont know.

 

Thanks thomas, but no differance, I did what it said, logged out, cleared my cookies and cache and then went back to the photos, and was able to view the pictures, I will just have to maybe look for a different way to do it, maybe a forum style board, that allows picture area.

 

But thanks for looking for me

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...