How to remove User Gallery How to remove User Gallery
 

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

How to remove User Gallery

Started by uk_martin, August 28, 2004, 04:13:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

uk_martin

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

kegobeer

Config ->  Users can have private albums -> No
Groups -> Can have a personal gallery -> No
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

uk_martin

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

Joachim Müller

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

uk_martin

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

Joachim Müller

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

uk_martin

Brilliant!!!

Problem sorted. Many thanks

Martin