[Solved]: Moving an entire user...not just the album [Solved]: Moving an entire user...not just the album
 

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

[Solved]: Moving an entire user...not just the album

Started by marcamillion, April 17, 2004, 07:48:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marcamillion

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.

Joachim Müller

there's no easier way - unless you know your way around in phpMyAdmin and you're ready to run queries there.

GauGau

marcamillion

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 ?

Joachim Müller

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

marcamillion

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 ?

Joachim Müller

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

marcamillion

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 ?

Casper

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.

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

marcamillion

Well, all I want to do is add functionality to it. Do u mind telling me where to find the files ?

Joachim Müller

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

marcamillion

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 :)

Joachim Müller

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

marcamillion

Ok thanks,
   that's what i wanted to know.