forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: alfisti.net on January 16, 2004, 11:27:36 am

Title: Edit Username/Owner in edit picture?
Post by: alfisti.net on January 16, 2004, 11:27:36 am
Hello Community,

coppermine is very great, runs perfect and there is no problem with the vbulletin bridge :) thanks a lot! great work!!!
I want to switch my gallery from 4images to coppermine, there is no import script so I decided to import by hand (there are "only" <500 pics to import).

I want to ftp all pictures in coppermine and run the batch. But I don´t want lost the user/owner of the picture because I need the "profile.php?uid" function.

Is there a (easy) way to add the field user/owner to the edit page of the album/pic? I use vbulletin V3 RC2. I don´t need a sequrity request if the user is existing, I make no mistakes ;)

This option can be very helpfull if a user want to upload a lot of pictures, so he can send all the files to a admin, he make a ftp-upload and run the batch (with username) or edit after import all usernames of the new pictures.

Or is there a other way to import the pictures incl. the user/owner name/ID?

Thanks a lot!
André
Title: Edit Username/Owner in edit picture?
Post by: Joachim Müller on January 16, 2004, 05:04:19 pm
this will require some database manipulation, but don't despair - help is on the way.

Some pre-requisites:
Title: Edit Username/Owner in edit picture?
Post by: alfisti.net on January 16, 2004, 08:13:15 pm
Thank you! :)

this will work for the mass-uploaded pics :) fine!

but for the single uploader I need also a single switch.
I´am not a (php) programmer! So I will try to explain:

a addition in editpic.php
find in table "_pictures" field "owner_name" and display it so that the admin can overwrite it.
if there is a new value get the "owner_id" for the new value of "owner_name" and write the value back in "owner_name" and "owner_id". verständlich?

Is this possible and easy or can I forget it?

ok, I just think about a other way :) I can copy the 4images table, change the field names to the coppermine field names and then I can change the vars. I only need to know if (and how) I can use your example for more than 1 changeing a time. for example
if var1=1 set var1=9
else
if var=2 set var1=1
else    ...etc.

so that I can change the album completely. That must work...

Thank you very much!
André
Title: Re: Edit Username/Owner in edit picture?
Post by: Servaas on February 14, 2006, 07:35:07 pm
Hello, sorry for bumping this old topic.

Is it possible to do this GUI-based through a mod of some sorts? I've done a search already but I only found some code for cpg1.2, I'm using 1.4. (most of the 'find this' is missing from the files specified)

edit: Oh I'm in 1.2 support forum. Didn't notice. Well it's about the same subject, kind of.
Title: Re: Edit Username/Owner in edit picture?
Post by: Joachim Müller on February 16, 2006, 08:49:08 am
as you already have found out, you're on the wrong board, it deals with another version, so your posting here goes ignored and un-answered. If you have a cpg1.4.x-question, then post it on the appropriate board. Thread locked.