Personal Profile Feature

Found a bug? Tell us!!
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Dear Friends,
I was wandering if i could see a feature like:

If I click on the person's name (Say John Doe), i should be able to see a bit of his profile also instead of just all the entries that he made.

Right now, the profile may just include Name, E-Mail and 1-2 more fields that we add while creating the new user. Later on, we may add address and all also with that.

Does any of the plugin has this feature?
If not, how can we add this feature in the current code?
I would be highly obliged if some one could help me out to attain this feature.

Regarrds,
Rahul
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

Actually, there is no such plugin.

But it can be done by creating a plugin, yes. I just created a simple plugin "serendipity_event_userprofile" which is now part of additional_plugins (should appear there within the next 24 hours).

You can try it out! Clicking on a author now also shows the information panel for him. Have fun :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Thanks a lot Garvin !
Thanks for your efforts. We demand the things and on the same day, they're up !

I really appreciate your efforts. :tup:

I'll check it and let you know if there are some tweaks to be done in that.

Regards,
Rahul
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

Thanks a lot, I appreciate this :)

The plugin should be enhancable easily regarding the amount of fields, have a look at the code, it's not that large :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Hi Dear,

This is the information that is displayed.

Showing user profile of selected author:

Real name
Admin Person
Your e-mail address
rahul_munjal@satyam.com
City
Country
Occupation
Hobbies
Yahoo
AIM
Jabber
ICQ
MSN

Now, the 2nd task is to add this information and change the database to store this all information.

How difficult is doing that.

Please help me accomplish that task also.

Regards,
Rahul
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

That's already in there. Go to your Admin Configuration panel, look at the lower left side. There's a "User Profiles" menu item. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Ohh Very Sorry.

I just overlooked that link. I found that now.

Thanks for the great piece of help. :P

Regards,
Rahul
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Dear Garvin,
I was just test running the new plugin.
There's a big big bug in that that may corrupt all the user ids and all. :shock:

Whenever u select a user and press Edit...
Change the information. And then as soon as u change the drop down to some other user...
the values get copied automatically. The 2nd user gets deleted and the first user gets duplicated as an affect of that. :oops: :oops:

I thought to bring this into your knowledge so that you could do something in that context because this is a major problem. If someone changes the combo 2-3 times, all the users will be gone. :cry:

Please provide me a solution for this too. :P

Regards,
Rahul :twisted:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

Oh, yes you are right! I fixed it in version 0.2 :)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Great piece of work Garvin.
But still, there's a small change required. :wink:

Hope you are not getting annoyed at me..... :cry:

In the new version that you've provided, the information is not getting stored.
Only the User Name, E-Mail are stored. Rest all the information is not getting stored even when we press Go Button.

Also, in the last version, Information was getting stored but was not getting displayed.

Looking forward for a solution for that too.

Regards,
Rahul
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

Rahul,

thanks for notifying be about this. I've patched version 0.3 of the plugin and it should now work properly!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Thanks a lot Garvin.
But still a slight thing... hope this will not take much of your efforts.

Whenever we add the profile, it gets added. No Problem in that. It is also stored in the Database. Great Work !!

But whenever we edit it later, the values are not fetched from the database. I mean, we are not able to view the current values of the profile. Can it be possible that whenever we select a person and click on Edit, the current values in for that profile should be displayed. Right now only e-mail, user id are being displayed. Please it would be good if all the current values are displayed like msn, yahoo id, country, state, etc.

Once this thing gets finalised, i need to change some of the fields to make them our company specific. That it seems i can do myself and not trouble you for that. :wink:
Also, i know if i get stuck somewhere.... u are always there with a helping hand. :D

Thanks and Regards,
Rahul
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Garvin,
Still its overwriting the things when we press edit after choosing the new profile when one profile is open.

Suppose i opened your profile and clicked EDIT and then saved it. Now, if i want to change my profile also, so, i'll choose my name from the Drop Down and will click EDIT.

Doing this will overwrite my user id with your details. My user id, password and everything will be changed to yours..... :(

Please have a look at it again... :)

Regards,
Rahul
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Personal Profile Feature

Post by garvinhicking »

Hi Rahul!

Ah, true. I fixed the display part in 0.4. But I could not reproduce your overwrite bug! I also don't see in the code how this could happen.

If it still happens, can you please make screenshots and mark which button you clicked to get to the next screenshot?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rahulmunjal
Regular
Posts: 27
Joined: Thu May 05, 2005 6:44 am
Location: Bangalore, India

Personal Profile Feature

Post by rahulmunjal »

Please refer these Images:

Image
http://img.photobucket.com/albums/v670/spy143/0.jpg

Image
http://img.photobucket.com/albums/v670/spy143/2.jpg

Image
http://img.photobucket.com/albums/v670/spy143/3.jpg

Image
http://img.photobucket.com/albums/v670/spy143/4.jpg

Image
http://img.photobucket.com/albums/v670/spy143/5.jpg

Please tell me if you got the problem. It's in alternate versions. I mean... in version 1, this was happening. Then in version 2, it's fine (not happening) but in version 3 again the above scenario is happening.

Regards,
Rahul
Locked