coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: marcamillion on April 17, 2004, 07:48:07 PM

Title: [Solved]: Moving an entire user...not just the album
Post by: marcamillion on April 17, 2004, 07:48:07 PM
How do I move the entire user from the default category "User Galleries" to another category which I create, for example US, so that all the albums in their username will be moved, and all the albums they make in the future will automatically be put there ?

I read the post that casper left, but that is for specific already created albums. That doesn't transfer all the albums, just one by one. I have 150 albums to transfer, there must be an easier way to do it, plus I want their newly created albums to go into the newly created category.
Title: Moving an entire user...not just the album
Post by: Joachim Müller on April 18, 2004, 07:18:26 AM
there's no easier way - unless you know your way around in phpMyAdmin and you're ready to run queries there.

GauGau
Title: Moving an entire user...not just the album
Post by: marcamillion on April 18, 2004, 08:49:37 AM
So there is no way for a user to specify the category they want to create an album in, or upload pics into a specific category ?
Title: Moving an entire user...not just the album
Post by: Joachim Müller on April 18, 2004, 10:20:49 AM
users can not create albums, except in their user gallery.
You (as an admin) can create albums for them in the public area; you'll have to assign upload permissions for those albums (using album properties).

GauGau
Title: Moving an entire user...not just the album
Post by: marcamillion on April 19, 2004, 09:26:54 AM
So there is no way to 'categorize' my visitors ? Like if I wanted to categorize them by sex, or country that they live in, or nething like that ? Could this be a possible fix for 1.3 or is there a mod/hack available and if not can I request someone to make a mod/hack for it ?
Title: Moving an entire user...not just the album
Post by: Joachim Müller on April 19, 2004, 09:46:12 AM
Quote from: "marcamillion"Could this be a possible fix for 1.3 or is there a mod/hack available and if not can I request someone to make a mod/hack for it ?
no and no. There won't be additional features in cpg1.3.0 - we agreed to have a feature freeze, it's under testing right now. I doubt someone will come up with a quick hack, since it would require in-depth changes of coppermine's core code. Seems like you'll have to live without the ability of users to create albums for some time. There is a hack that allows you to create "sub-admins" who can do anything but change the config, but I don't recommend using it (as you won't want to grant that high privileges to your users, and the mod can be easily tricked).

GauGau
Title: Re: Moving an entire user...not just the album
Post by: marcamillion on April 22, 2004, 08:27:27 PM
i am getting a php programmer to help me with some stuff, and I want to know which files contain the code corresponding to fixing the default category problem ? What i want to do is change the 'category' field in the users profiles, to a drop down menu with all the categories which I create. That way they can move their whole user or just a specific album to various categories I create. Which files in which directories would I be able to find this code in, and what part of the code am I looking out for ?
Title: Re: Moving an entire user...not just the album
Post by: Casper on April 22, 2004, 10:17:07 PM
Quoteand I want to know which files contain the code corresponding to fixing the default category problem

Coppermine doen't have a category problem.  You have a problem, that you want it to do something it isn't designed to do, without any trouble.

Title: Re: Moving an entire user...not just the album
Post by: marcamillion on April 23, 2004, 12:12:01 AM
Well, all I want to do is add functionality to it. Do u mind telling me where to find the files ?
Title: Re: Moving an entire user...not just the album
Post by: Joachim Müller on April 23, 2004, 06:14:23 AM
they're all over the core code. Telling you what to change would mean actually doing the job. Just changing the dropdown won't help, since there's a lot of stuff to change as well to make this work. If it was that easy, we'd have done it by ourselves...

GauGau
Title: Re: Moving an entire user...not just the album
Post by: marcamillion on April 23, 2004, 10:50:53 AM
Ok, well which folder(s) are the core code found in ? /include or in /root or what ? Can u give me an idea of which files are the actual core files or where they can be found. Just be a little more specific, cuz just saying core code doesn't help me.

Thnx in advance for your cooperation :)
Title: Re: Moving an entire user...not just the album
Post by: Joachim Müller on April 23, 2004, 10:59:47 AM
if you're going to hire a coder this person will soon find out, as he/she will have to get to know coppermine before actually starting to code, so what's the idea behind your question? The files are both in the coppermine root folder and the includes folder, adjustments in the themes may be necessary as well - what does this piece of information mean to you? Anyway, if you're happy with knowing that core code does not mean images nor docs nor albums nor the lang folder, you can consider yourself a happy camper now ;)

GauGau
Title: Re: Moving an entire user...not just the album
Post by: marcamillion on April 23, 2004, 09:13:11 PM
Ok thanks,
   that's what i wanted to know.