revealing empty user albums revealing empty user albums
 

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

revealing empty user albums

Started by Bubble, December 28, 2005, 08:04:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bubble

i just upgrade from 1.4.2 to 1.4.3 and there is one new cat just created by itself.

http://www.zmodified.com/gallery/index.php

you will see a new cat as:

User galleries
This category contains albums that belong to Coppermine users.

it show 1 album but when you click to it, nothing show up and i can't seem to delete that cat.

http://www.zmodified.com/gallery/index.php?cat=1

Any idea? Thanks

Joachim Müller

not a bug, but expected behaviour. Empty the user galleries and make sure users can't create new one to stop this "special" category from appearing.

Bubble

hi,

is there a way for me to remove that cat completely? it didn't look nice to have one empty cat display in the main index page.

Nibbler

Delete the album inside it and it will not be displayed.

Tranz

hmmm... I tried to delete a user album on my local installation and couldn't find a way to do it. The albums list doesn't include the user album. I couldn't find info in the docs on how to delete a user's album.

So I searched the forums and came across this: http://forum.coppermine-gallery.net/index.php?topic=15613.msg91208#msg91208

Where he said, "album list", use Parent Category.

ecto

Sounds like the administration of user albums needs some improvemement. Thanks for the search+link TND. New avatar btw? A bit Leia-ish, nice :)

Edit: heh, when I posted I noticed it's a random script.

Tranz

Would adding a link in the Album Manager to modifyalb.php, using an existing language string, be considered a new feature? Is there another way to make it easier to access user albums?

Nibbler

We could make empty user albums be displayed instead of hidden.

Tranz

That would help. It would be much less confusing.

Bubble

#9
tried but still couldn't delete it. Weird.

in addition, even if i create new album under that cat, it still not show at all. why we have this in 1.4.3 ? As of now, you see i have 2 album in there but nothing show up. On thing i see is that they have *name of cat*  so i don't know if  the * meaning hidden?

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.zmodified.com%2Fbug.jpg&hash=22360608eea0e57e45e925c5849f34b8043be010)

i didn't create the *my gallery *  they are just there by itself.  ???

Tranz

I know it's 1.3x, that's why I modified the instructions for 1.4x.

Bubble

humm...so i wait for the new instruction to be posted? ???

Nibbler

udb_base.inc.php, find

        $sql .= " INNER JOIN {$CONFIG['TABLE_PICTURES']} AS pics ON pics.aid = p.aid ";

change to

        $sql .= " LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS pics ON pics.aid = p.aid ";

find

$sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";

change to

$sql .= "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";

That will allow the empty albums to be displayed in the user galleries section.

Bubble

in which folder udb_base.inc.php locate at? can't seem to find it.

Tranz


Bubble

THANK YOU SO MUCH.  ;D ;D ;D

it works perfect now.

Bubble

i have this same problem with 1.4.4 and i have to manual change it as instructed. Can you guy have it included in the next release so we don't have to change it manualy? Thanks

Joachim Müller