Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: rolo on October 22, 2003, 03:32:42 am

Title: Button gone
Post by: rolo on October 22, 2003, 03:32:42 am
Hi guys,
This happens after using the album for a time (and this is random...done a couple of reinstalls)
When I create a new album and add a bunch of pictures in it..I go to the ALBUM LIST>PROPERTIES and I see the button to set the permissions is gone   :shock: ( other thing that seems to happen at the same time is that anonymous users can view the top rated, last uploaded pics etc... they can also search for pictures...There are no public pictures on my album (and the anonymous user does not see a thing under "albums") so I wonder how this is possible...I have worked around the second issue by removing the html code so that only login and album list buttons appear at the homepage but it's still a pain in the ...

I hope someone has an idea...
Title: Button gone
Post by: rolo on October 22, 2003, 04:01:08 am
Ok so I found the code in modifyalb.php referring to this section and these are the defaults:

array($lang_modifyalb_php['can_view'], 'visibility', 5),

If I change this value to 0, 1, 2 , 3 or 4 the field is displayed (the wrong one but it's displayed..) when I change it back to 5 ( that one should give me the ability to configure who can view this album) it's gone again... :cry:  beats me....

Help anyone?
Title: Button gone
Post by: Joachim Müller on October 22, 2003, 08:55:02 am
got a link? What version of Coppermine? BBS integration yes/no?

Title: Button gone
Post by: rolo on October 22, 2003, 10:52:23 am
I have sent you the URL and username/pw in PM

It's coppermine 1.2.0 - RC2 no BBS integration. It's running on Win2000 Pro SP4, MySQL 4.0.15, PHP 4.3.3 and Abyss web server (weird choice I know..)

If you want to get the search and other buttons back choose default theme..let me know if you need ftp access so I can set it up.
I also put some pictures into the albums folder so you can create a new album using batch add (in gaugau folder)...saves you the upload time...

Thanks for trying.. :wink:
Title: Button gone
Post by: rolo on October 22, 2003, 02:11:04 pm
Ok i did a separate install on another machine. After configuring the album as I want it to be (did not change any files manually) I reproduced the problem straight away...when I reset the config to default I can access the button again.. :lol:

I am going to do a step by step config change to see where the problem is... :roll:
Title: Button gone
Post by: rolo on October 22, 2003, 02:22:28 pm
Found it...

If you set "user can have private gallery" in configuration to "NO" the "Album can be viewed by" In the permissions for the album disappears..

Can anyone check this and tell me I have not gone mental from clicking all the buttons?

(damn I am talking to myself a lot..)