forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: wuschel_lux on February 07, 2007, 10:56:53 am

Title: Extended User Profile
Post by: wuschel_lux on February 07, 2007, 10:56:53 am
Hi all,

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

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.volleyball.lu%2Fprofile.png&hash=c24cf3465aedd0c4dc7621f163c8faac3c629f04)

I hope somebody can help me. Thanks
Title: Re: Extended User Profile
Post by: Joachim Müller on February 07, 2007, 07:32:43 pm
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.
Title: Re: Extended User Profile
Post by: wuschel_lux on February 08, 2007, 08:10:02 am
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
Title: Re: Extended User Profile
Post by: Joachim Müller 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.
Title: Re: Extended User Profile
Post by: wuschel_lux on February 08, 2007, 08:31:19 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.
Title: Re: Extended User Profile
Post by: Hein Traag on February 08, 2007, 09:22:34 am
Why not post the price your willing to pay for a mod like this ?
Title: Re: Extended User Profile
Post by: Hein Traag on February 11, 2007, 11:41:23 am
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 (http://forum.coppermine-gallery.net/index.php?topic=23695.0)

Hein
Title: Re: Extended User Profile
Post by: wuschel_lux on February 11, 2007, 02:56:18 pm
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
Code: [Select]
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