Show private album Icon to unlogged user Show private album Icon to unlogged user
 

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]

Main Menu

Show private album Icon to unlogged user

Started by freeby, June 26, 2004, 03:56:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

freeby

I have an album for registered users only, I want to display an icon for all visitors to my site to see, which clearly statesregistered users only. I have set the option to yes in "Show private album Icon to unlogged user" However when I log out the album disapears, just showing 4 albums instead of Five.

Any ideas anyone please ???

Joachim Müller

link and test account (non-admin) please.

GauGau

omniscientdeveloper


Joachim Müller

please post what files freeby has to download from the cvs to make this work for him again.

GauGau

freeby

Thanks for the replies guys, here is the link to my site http://www.freebys-tavern.co.uk if you still need a test account, please let me know.

I have had a nose around the cvs but I am a newbie and could not find the files i need to download, but I did find this :

$Id: CHANGELOG,v 1.18 2004/06/25 08:10:26 gaugau Exp $
Added option of turning on OR off the showing of "Private" Icon to unlogged / unprivileged user, Tarique



omniscientdeveloper

I think he should download the whole thing. Partial downloading could cause errors. The file that shows user albums is index.php though. He can try download that and functions.inc.php


-omni

freeby

Yip I got errors galore, not to worry I will wait for the next release, thanks anyway guys  :)

Tarique Sani

Quote from: omniscientdeveloper on June 27, 2004, 10:29:50 AM
Fixed in CVS
please elaborate - did you fix this just now?

I thought that  had fixed this in Jan this year.... OR are you talking about the mishap just before the 1.3 release?
SANIsoft PHP applications for E Biz

omniscientdeveloper

I fixed this in CVS: revision 1.5 fixes user albums showing "nopic.jpg" only, 1.7 fixes show private album icon (line 294)



-omni

Tarique Sani

Quote from: omniscientdeveloper on June 27, 2004, 03:54:15 PM
I fixed this in CVS: revision 1.5 fixes user albums showing "nopic.jpg" only, 1.7 fixes show private album icon (line 294)

And which file are you talking about and in which module?  ???  please give complete answers  :-\\
SANIsoft PHP applications for E Biz

freeby

Hi, Sorry about this but could someone please give me a link to download the full cvs, so I can sort this out. I have looked every where,  ???

Tarique Sani

You have to check out a CVS repository you don't download it via a link.....
SANIsoft PHP applications for E Biz

omniscientdeveloper

#12
Quote from: omniscientdeveloper on June 27, 2004, 12:19:27 PM
I think he should download the whole thing. Partial downloading could cause errors. The file that shows user albums is index.php though. He can try download that and functions.inc.php


-omni


*shakes naughty finger*

T'was stated above.  :-\\

(no need to smite)



QuoteHi, Sorry about this but could someone please give me a link to download the full cvs, so I can sort this out. I have looked every where

http://sourceforge.net/cvs/?group_id=89658

See section on "Anonymous CVS Access"


More information is also available here: http://forum.coppermine-gallery.net/index.php?topic=4657.0

-omni

Tarique Sani

Quote from: omniscientdeveloper on June 27, 2004, 06:38:19 PM
T'was stated above.  :-\\
In which case your version numbers are completely wrong - unless you are talking about the Stable module - which I asked about. If it is in Stable module, is it committed in the devel module as well - which version?

Like I said - Complete answers in the first place at least for fellow developers will go a long way in improving work flow...

Anyway - I have now looked into the CVS comments and know what you are talking about  but I am sure freeby is still totally clueless as to what happened.
SANIsoft PHP applications for E Biz

jenma

I have the exact problem as the poster:

I turned "Show private Album Icon to unlogged user" to YES and "Users can have private albums" to YES.  However, when I change one of the album to be viewed by "Registered Users Only", unlogged users will not be able to see the Private Album Icon.  There's simply nothing under that category.  It doesn't applear in album and photo count either.

I checked out the CVS website but have no idea what it's talking about.  Can someone shed some light?  Thanks.

jenma

O, I figured out what the CVS thing is all about.  I've downloaded the latest stable versions of index.php and functions.inc.php. and it's working for me now.  Thanks.

Casper

You should just have upgraded to version 1.3.1, which has all these files.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Incite

I have upgraded to 1.3.1 and am having the same problem. any suggestions?

Joachim Müller

post a link and test user account (non-admin). Describe your problem in detail, there have been so many postings on this thread already - let's make sure we understand what your problem actually is.

GauGau

Incite

Sorry GauGau, I have to appologise.. i corrected the problem my self. I am just an idiot and forgot to change the settings in my config :P  ** Smacks head**