More User Info More User Info
 

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

Main Menu

More User Info

Started by melloman, December 16, 2003, 11:14:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

melloman

Is it possible to add more fields for user info...
Birthdate, Favorite *, * Color...
i want to give the users the possibility to search other users by their age, or their hair color...
____________
Greets mello

Joachim Müller

at the moment: no!
Maybe you'll want to have a look into bbs integration: most bbs have an in-detail user management with a lot of options (there are also tons of mods for forums to boost the "community-software" aspect of a bbs. If you integrate coppermine with a bbs user management, you can have this (although user info won't be displayed togeter with the pic - visitors will have to click the link pointing to an uploader's user profile to get more information, same applies to searching).
You could try using the custom fields that come with coppermine: they don't show info on a "per-user"-basis, but "per-picture"; your users are nevertheless able to add some info to the pic they uploaded that can also be searched.

GauGau

melloman

is it possible to inegrate an existing gallery into a bb ?
i've read someting about integrating in phpBB, but there you have to install the bb first, an after that the gallery...
or is there a way to backup my db, an integrate into a new gallery ?

Joachim Müller

you'll lose all "registered users" entries (or have to re-register them at the bbs). There's no automatism available for converting the user table of coppermine to a bbs. The table itself won't be deleted or emptied, just disabled - you can always go back. Backing up your db before is of course recommended before applying any modification.

GauGau

Casper

You can add more fields for user info, as you can see I have done on my site.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.langportrd.f2s.com%2Fimages%2Fuser.jpg&hash=7beb2b2ab83afa0186487d67490871690e8cf74f)
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.langportrd.f2s.com%2Fimages%2Fuser2.jpg&hash=69995c7f3255c7fbf587aaae8f6e85789ca35fd6)
As you can see I've added 2 extra fields.

How to;

1.  add the new fields to your database, using phpMyAdmin.

2.  Edit usermngr.php, register.php and profile.php.  Add the new fields everywhere you find the current fields.

3.  Do the same for every language file you use.

upload, and away you go.  :D

EDIT;  full instructions can be found HERE
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

Casper

I have now combined the above hack with jasons memberlist hack.  It is possible to create your own extra fields, and to have them shown, and ones you don't want not shown, in the users memberlist.

my user memberlist shows just the user name, registered on, and my 2 extra fields, bike and other clubs.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.langportrd.f2s.com%2Fimages%2Fmemberlist.jpg&hash=0fbd86248657989774ebdc4f35aa9364dfe755ad)

although not a true search function, this could meet your needs.  your members would put the details you want in the profile, other logged on members can quickly scroll through the memberlist for the particular detail they want, then click on the link to the full profile and that users pics.

You can also add the 'sort by' function to this page, so if you users wanted to look by hair colour, they could sort by that, and all blondes would be together.
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

jason

Quote from: "casper"You can also add the 'sort by' function to this page, so if you users wanted to look by hair colour, they could sort by that, and all blondes would be together.

would need two blonde sort routines...true blonde and blonde by choice ;).
jason

Casper

It would be nice if the admin had the ability to choose in config the field names for the optional profile fields(like the pic info fields), and also to add extra required fields.
And also to include these fields in the search function.
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