Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Uploader Username in Picture information.  (Read 3512 times)

0 Members and 1 Guest are viewing this topic.

ojohn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Uploader Username in Picture information.
« on: December 23, 2003, 08:04:37 pm »

Ok i went throught all the steps on puttings the username in the picture information but the username doesn't show. And i hope i did the Mysql part were you can execute the query . Can someone maybe give me some step-by-step on the Mysql execute using phpMyAdmin.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Uploader Username in Picture information.
« Reply #1 on: December 24, 2003, 09:46:26 am »

what are you refering to? Is there a thread you have some information from that I am missing?

GauGau
Logged

ojohn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Uploader Username in Picture information.
« Reply #2 on: December 24, 2003, 10:25:39 am »

Its from the FAQ's (How can I display the name of the uploader with the picture info?), but there is a post from the old board:

http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1843

I think I might have a problem with add the mysql tag:

ALTER TABLE `cpg11d_pictures` ADD INDEX ( `owner_id` );

I have access to phpMyAdmin and I don't understand were do I put that at?
If you can post a step-by-step instructions please...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Uploader Username in Picture information.
« Reply #3 on: December 24, 2003, 10:29:58 am »

you shouldn't run modifications that were meant for cpg1.1 on your cpg1.2 install, unless you know what you're doing. If you're not familiar with running queries, you should learn the basics first. Did you read the documentation that comes with phpMyAdmin?

GauGau

P.S. We're not your personal hotline on all computer-related issues.
Logged

dido

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
    • http://www.ibertrainz.com
Uploader Username in Picture information.
« Reply #4 on: December 28, 2003, 01:26:44 pm »

Hi all :) new here and new with coppermine, installed yesterday.

Quote from: "gaugau"
you shouldn't run modifications that were meant for cpg1.1 on your cpg1.2 install, unless you know what you're doing


Well I've done it (shame on me  :oops: ) and it works right  :mrgreen:
But I was searching for another thing, I've noticed that (I'm the administrator) if I upload a picture in user mode CPG store my id 1 with the picture record, if I do the same in admin mode the id is 0... I guess this means user anonymous.

The fix is simple, switch to user mode before uploading, that way my id is stored with the picture, but I setup my private album visible just to power_users  (a group I created with unlimited disk quota) I suppose the administrator is also a power_user but not. So, for every picture uploaded I got an error because I'm not able to see it.
The same happens if I batch upload (something allowed only in admin mode) all the pictures records stores an user id 0.

I want to ask if there is an easy way to have the right id associated with administrator pictures, or if you suggest to keep an admin account just to manage things and a separate account for using the gallery.

Hope I explained well...

Cheers :mrgreen:
Logged

ojohn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Uploader Username in Picture information.
« Reply #5 on: December 30, 2003, 07:58:21 pm »

I got a question: Would it still work if i were to upload using the XP web publishing?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Uploader Username in Picture information.
« Reply #6 on: December 31, 2003, 10:22:25 am »

why don't you just try?

GauGau
Logged

crusius

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
username in pictureinformation
« Reply #7 on: January 18, 2004, 04:09:31 pm »

Hi,

i have read the descreption in the faq step by step. And i maked it step by step. Now i have under the picture the field 'Username'.

But only new users where show with the username. Pictures from old users where show without the name.

What is the problem and how i can solve it?

Thanks
Lars
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.