Extended User Profile Extended User Profile
 

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

Extended User Profile

Started by wuschel_lux, February 07, 2007, 10:56:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wuschel_lux

Hi all,

I am searching for a MOD for extending my user profile with following attributes:

  • Camera brand (as pulldown, data in DB), shown in profile as picture
  • Camera model (as pulldown, data in DB), shown in profile as text
  • 3 lines for objectives(text field, data in DB), shown in profile as text
  • belongs to which group
  • disclaimer
  • webspace usage for this user

Is it possible to have an option in 'config' to show/hide additional fields. This will be usefull for my while using Foto Shop, where I store in this fields the users Address. I found that it is not the best idea to show this information to everybody.

Here a pic attached how I could be. Fiels in red are wanted fields.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.volleyball.lu%2Fprofile.png&hash=c24cf3465aedd0c4dc7621f163c8faac3c629f04)

I hope somebody can help me. Thanks

Joachim Müller

This is beyond the scope what usually is being coded for free. Are you looking for a freelancer / paid support? If yes, post your budget, a moderator will then move your thread accordingly.

wuschel_lux

Hi GauGau,

I have no idea how much a such code will cost. My budget is realy low for the moment. Could you give me an approx. price indication?
Is this mod later usable after updates?

I had a look to the profile.php (Stramms Modpack) but do not really understand how it works. I have php & MySQL knowledge but the profile is to much for me.

Regards

Joachim Müller

I haven't said that I'm interessted to do this - neither paid nor unpaid. I'm not doing paid customizations. So I can't post "my" price.

wuschel_lux

Quote from: GauGau on February 08, 2007, 08:22:23 AM
I haven't said that I'm interessted to do this - neither paid nor unpaid. I'm not doing paid customizations. So I can't post "my" price.

sorry this was not I want to say that you will code for me, I just wanted to know if it is a big/hard change and to have a approx. price to have an idea.

Hein Traag

Why not post the price your willing to pay for a mod like this ?

Hein Traag

I think i found something that might help you with your question.

Maybe this thread has the answer you need http://forum.coppermine-gallery.net/index.php?topic=23695.0

Hein

wuschel_lux

Moien Hein,

thanks a lot for the link, but I found 10 minutes ago e simple solution:

edit file porfile.php on line ca. 564
if(USER_GROUP == 'Administrators') {

        $form_data = array('username' => $user_data['user_name'],
            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
            'group' => $user_data['group_name'],
                        'user_profile1' => $user_data['user_profile1'],
                        'user_profile2' => $user_data['user_profile2'],
                        'user_profile3' => $user_data['user_profile3'],
                        'user_profile4' => $user_data['user_profile4'],
                        'user_profile5' => $user_data['user_profile5'],
                        'user_profile6' => bb_decode($user_data['user_profile6']),
                        'user_thumb' => $quick_jump,
                        'pic_count' => $pic_count,
'PMS' => $PMS_link,
'status' => $online,
            );

} else {

        $form_data = array('username' => $user_data['user_name'],
            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
            'group' => $user_data['group_name'],
                        'user_profile1' => $user_data['user_profile1'],
                        //'user_profile2' => $user_data['user_profile2'],
                        //'user_profile3' => $user_data['user_profile3'],
                        'user_profile4' => $user_data['user_profile4'],
                        'user_profile5' => $user_data['user_profile5'],
                        'user_profile6' => bb_decode($user_data['user_profile6']),
                        'user_thumb' => $quick_jump,
                        'pic_count' => $pic_count,
'PMS' => $PMS_link,
'status' => $online,
            );

}

        $title = sprintf($lang_register_php['x_s_profile'], $user_data['user_name']);
        pageheader($title);
        starttable(-1, $title, 2);
        make_form($display_profile_form_param, $form_data);
        endtable();
        pagefooter();
        ob_end_flush();
        break;


This works ok for me. Do somebody view a problem on this mod?

Now I will try to modify the IF phrase that a user viewing his on profile will view the same profile view like the admin.
Some one an idea?

Thanks