Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Extended User Profile  (Read 4565 times)

0 Members and 1 Guest are viewing this topic.

wuschel_lux

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • volleyball.lu - photo gallery & shop
Extended User Profile
« on: February 07, 2007, 10:56:53 am »

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.
(http://www.volleyball.lu/profile.png)

I hope somebody can help me. Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Extended User Profile
« Reply #1 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.
Logged

wuschel_lux

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • volleyball.lu - photo gallery & shop
Re: Extended User Profile
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Extended User Profile
« Reply #3 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.
Logged

wuschel_lux

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • volleyball.lu - photo gallery & shop
Re: Extended User Profile
« Reply #4 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.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Extended User Profile
« Reply #5 on: February 08, 2007, 09:22:34 am »

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

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Extended User Profile
« Reply #6 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

Hein
Logged

wuschel_lux

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • volleyball.lu - photo gallery & shop
Re: Extended User Profile
« Reply #7 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
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 21 queries.