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: Adding a line to user profile  (Read 3053 times)

0 Members and 1 Guest are viewing this topic.

wipqozn1

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Adding a line to user profile
« on: June 20, 2007, 11:01:20 am »

Hi there,

how could I add a line to all users profile? Important: it's not like I'd like to define the brand new pole where user could write something during the registration proccess. I'd like to display time the user spent on our site. Like this:

------------------------------------------------
User name        |   <name here>
Joined               |   <date here>
<my new line>|   <my data here>
etc.
-----------------------------------------------

I hope You get the picture :-)
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Adding a line to user profile
« Reply #1 on: June 20, 2007, 02:56:08 pm »

Try to search before posting. You would eventually have find this one which i think might help you.

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

wipqozn1

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: Adding a line to user profile
« Reply #2 on: June 20, 2007, 03:27:09 pm »

Yes, great, but I did a search and You didn't read my post carefuly ;-) Like I said, I don't wanna add just another custom field that users could fill in - and this is the only feature what mentioned hack do.

I would like to add a line like "member since" which doesn't depend on users imagination. Just take a look at the schema posted above, it should be pre-defined and uneditable for users.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Adding a line to user profile
« Reply #3 on: June 20, 2007, 03:45:06 pm »

Then try to post more carefully  ;D . At least now you mentioned what kind of data it is that you want to appear there. I am not that code savvy but maybe someone else is willing to help you with that part.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Adding a line to user profile
« Reply #4 on: June 20, 2007, 06:14:01 pm »

download the modpack and compare its profile.php with the coppermine profile.php and you know how it can be done (even adding checkboxes, links etc.)
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.