forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Animor on September 26, 2012, 01:20:07 pm

Title: Add new album from upload page
Post by: Animor on September 26, 2012, 01:20:07 pm
Hello,

I've recently upgraded from older cpg1.5 to cpg1.5.20 (bridging to phpbb3 board)
If I remember correctly, on the older version users could add/create new album from the upload page. However, I couldn't find this option now, after the upgrade.

I've tried to search the documentation and the forums, but couldn't find an answer.
How can I allow users add new album from the upload page?

Any help is appreciated!
Title: Re: Add new album from upload page
Post by: berni on September 26, 2012, 02:46:46 pm
Hi Animor,
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_personal_album_on_registration (http://documentation.coppermine-gallery.net/en/configuration.htm#admin_personal_album_on_registration)
 but: This option is disabled when being bridged.
MfG. Bernd
Title: Re: Add new album from upload page
Post by: Animor on September 26, 2012, 02:49:57 pm
Thank you for your reply.

Since I'm bridging phpbb3, I cannot use this option.
Anyway, I meant another option - a button to add/create new album on the upload page, as I think my gallery once had.
Title: Re: Add new album from upload page
Post by: berni on September 26, 2012, 07:23:02 pm
sorry, I think you used a Plugin names Jupload
http://coppermine-gallery.net/plugins.php?cpg_version=both&sort=name&submit=#jupload_beta (http://coppermine-gallery.net/plugins.php?cpg_version=both&sort=name&submit=#jupload_beta)
but it was written for 1.4
MfG. Bernd
Title: Re: Add new album from upload page
Post by: Αndré on September 27, 2012, 01:09:12 pm
In stock Coppermine you always have to create albums with the album manager before you can upload files into them. Plugins may behave different. However, if there doesn't exist any album the current user can upload to, you get a message which redirects you to the album manager. Maybe that's what you have in mind.
Title: Re: Add new album from upload page
Post by: Animor on September 27, 2012, 09:41:53 pm
That must me the issue!
I think that users couldn't create an album from upload window since I created an open public album. So they all have one album available for them.
Is there a way to give users a link to album manager from upload window, even if there are available albums?

Maybe there a plugin compatible with version 1.5.20?

Thanks :)
Title: Re: Add new album from upload page
Post by: Αndré on September 28, 2012, 07:29:03 am
Seems that we're talking about different things. There will be a menu button if the user can create albums, at least it should. Please post a link to your gallery and a test user account with permission to create albums.
Title: Re: Add new album from upload page
Post by: Animor on September 28, 2012, 09:18:01 am
Perhaps I wasn't clear enough, sorry.
Normal users can create albums through the menu button "My Profile". However, this button name is not very intuitive. New users might not understand that creating new albums "hides" behind "My Profile".
It would be much user-friendly in terms of GUI to allow users to create new albums on the "upload file" page, where they should choose the destination album for their photos.

Users, that have no album at all, are redirected to create new album. However, I think there should be a permanent link to create new album on the upload page, regardless if the user has available album or not.
In my specific case, new gallery users have one available album, since I created an open public album. Hence, they are not redirected to create new album.

So my question is:
Is there a way to add a link or an option to create new album on upload page? Regardless if the user have available albums?

Thanks :)
Title: Re: Add new album from upload page
Post by: Αndré on September 28, 2012, 09:55:08 am
Do you need it for the flash uploader, the single upload form or both?
Title: Re: Add new album from upload page
Post by: Animor on September 28, 2012, 10:01:01 am
I think the default uploader is the flash uploader, so that's the first priority.

Of course the best would be for both uploaders...

Title: Re: Add new album from upload page
Post by: Αndré on September 28, 2012, 10:30:44 am
Find
Code: [Select]
    echo <<<EOT
            </select>
        </td>
    </tr>
and replace with
Code: [Select]
    global $lang_user_admin_menu;
    echo <<<EOT
            </select> <a href="albmgr.php"> {$lang_user_admin_menu['albmgr_lnk']} </a>
        </td>
    </tr>
Title: Re: Add new album from upload page
Post by: Animor on September 28, 2012, 11:07:06 am
This is exactly what I was looking for!

Thank you so much :)