coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: uk_martin on August 28, 2004, 04:13:08 PM

Title: How to remove User Gallery
Post by: uk_martin on August 28, 2004, 04:13:08 PM
Hi

I want to remove the User Gallery feature. What's the easiest way to do it?

I also want to remove the Upload Photo item from the menu. I appreciate that there is more to it than just removing
<!-- BEGIN upload_pic -->
<a  class="topmenu" href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>&nbsp;
<!-- END upload_pic -->

Removing it works fine if someone is logged in (the gallery is bridged to phpBB) but it produces a broken page if a logged-out user tries to access the page.

Help on this matter would be appreciated.

Thanks

Martin
Title: Re: How to remove User Gallery
Post by: kegobeer on August 28, 2004, 04:18:16 PM
Config ->  Users can have private albums -> No
Groups -> Can have a personal gallery -> No
Title: Re: How to remove User Gallery
Post by: uk_martin on August 28, 2004, 05:52:08 PM
I've done that, but someone has already started an album, so now I have a User Gallery item on my page, with no albums and no photo's in it.

It all looks a bit silly, and some way of removing the one line of
User galleries
This category contains albums that belong to Coppermine users. 1


would be most welcome.

Thanks

Martin
Title: Re: How to remove User Gallery
Post by: Joachim Müller on August 29, 2004, 01:45:27 AM
if an empty album within user galleries exists, just go there and delete it. Once user gallery is empty, it won't be displayed any longer.

Joachim
Title: Re: How to remove User Gallery
Post by: uk_martin on August 29, 2004, 05:56:17 AM
Thanks, but I wish it was that simple. When I go into the User Gallery:

In the User List, I get "There are no user galleries"

in the Random Files I get "There are no images to display"

In the Last Additions, I get "There are no images to display"

In other words, there is nothing to delete, and yet I get the entry in the index.php page (which I want to get rid of.) Do I need to get into the mySQL database and edit something there? If so, where and to what?

Thanks

Martin
Title: Re: How to remove User Gallery
Post by: Joachim Müller on August 29, 2004, 11:17:54 AM
if you have phpMyAdmin, browse coppermine's  "albums" table and delete the user album(s) that shouldn't be there. Make a backup (dump) of your database first. If you're not sure, post the dump of the albums table here first.

Joachim
Title: Re: How to remove User Gallery
Post by: uk_martin on August 29, 2004, 12:54:09 PM
Brilliant!!!

Problem sorted. Many thanks

Martin