Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How to remove User Gallery  (Read 3611 times)

0 Members and 1 Guest are viewing this topic.

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
How to remove User Gallery
« 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
Code: [Select]
<!-- 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
« Last Edit: August 29, 2004, 01:06:16 pm by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: How to remove User Gallery
« Reply #1 on: August 28, 2004, 04:18:16 pm »

Config ->  Users can have private albums -> No
Groups -> Can have a personal gallery -> No
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: How to remove User Gallery
« Reply #2 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
Code: [Select]
User galleries
This category contains albums that belong to Coppermine users. 1


would be most welcome.

Thanks

Martin
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to remove User Gallery
« Reply #3 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
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: How to remove User Gallery
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to remove User Gallery
« Reply #5 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
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: How to remove User Gallery
« Reply #6 on: August 29, 2004, 12:54:09 pm »

Brilliant!!!

Problem sorted. Many thanks

Martin
Logged
Pages: [1]   Go Up
 

Page created in 0.048 seconds with 19 queries.