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: Moving user galleries into categories (and hence making public)?  (Read 2581 times)

0 Members and 1 Guest are viewing this topic.

Lowri

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Moving user galleries into categories (and hence making public)?
« on: September 29, 2005, 11:59:17 pm »

Is this possible? I want to get rid of the user galleries and allow my users to upload to public albums to avoid have several albums of the same event.
« Last Edit: October 01, 2005, 10:40:30 am by GauGau »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Moving user galleries into categories (and hence making public)?
« Reply #1 on: September 30, 2005, 01:37:39 am »

Lowri,

Stramm has a mod that is not quite what you are looking for but it may possible work for you.   Follow this thread to see what I mean.

http://forum.coppermine-gallery.net/index.php?topic=20901.0


Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Moving user galleries into categories (and hence making public)?
« Reply #2 on: September 30, 2005, 09:06:45 am »

if you're not afraid of working with phpmyadmin then it's possible. If you have to many albums to change it can be pain

so here's what to do (!!!!! make a backup of your database before you mess with it)

1. have a look at your coppermine categories table. In here you'll see the categories desciption and the 'cid'. Write it down
2. click coppermine albums. You'll see all albums, it's titles and the category. If the category is greater than 10000 it's a user gallery. Check in which category it may fit best and replace the album category with the cid of the category you've chosen (in 1.)

I hope this isn't to confusing... if you have no clue what I'm talking about let it be :)

Good luck

Lowri

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Moving user galleries into categories (and hence making public)?
« Reply #3 on: September 30, 2005, 10:30:22 am »

cheers guys, that sounds pretty logical. The only other way i'd thought would be to delete the usergalleries and batch upload this pictures from backup. Will try the database method. Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.