I have been scouring the forum for any information relating to this but I have not seen much.
What I am trying to do is to allow my users to edit their own profiles.
When allowing a group to see the profiles link, it also causes the configuration link to appear, showing settings (albeit unchangeable to them) that I would rather user unable to see. This is no problem as User Profiles appear also in personal configuration.
Still, how do I allow a user to edit his/her own profile?
If there actually is such information contained already in the forum, my fault, but I have been searching through it for a few days and have not found the answer I needed.
Thank you in advanced for you divine help.
Profile Plugin, User Editing
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Profile Plugin, User Editing
Hi!
If your users access their personal configuration, they should be able to edit their profile there? Isn't this possible? What does happen?
Best regards,
Garvin
If your users access their personal configuration, they should be able to edit their profile there? Isn't this possible? What does happen?
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/
# 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/
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
no edit button
the profiles show in the personal configuration and users are able to view each others profiles but when selected on their own profile there is no editing available for them.

Shown for user snorkle.

Shown for user snorkle.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: no edit button
Hi!
Thanks, that already helps a bit. Which userprofile plugin are you using exactly, and which serendipity version?
Best regards,
Garvin
Thanks, that already helps a bit. Which userprofile plugin are you using exactly, and which serendipity version?
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/
# 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/
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
Serendipity 1.0.1, User Profile .18 (is that really supposed to be 1.8?)
I've tried to find a newer version but alas everytime I user Spartacus or just the plugin link here, its the same one so I assumed it was the newer.
Yet I've seen you referencing a few different version, which should I be using?
I've tried to find a newer version but alas everytime I user Spartacus or just the plugin link here, its the same one so I assumed it was the newer.
Yet I've seen you referencing a few different version, which should I be using?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Okay, that one is the recent version.
I believe it's because of this check in serendipity_event_userprofiles.php:
maybe you could try to change it to:
? But I believe there's an other error so that $user['authorid'] is not == $serendipity['authorid']. Maybe you could echo both values, if you know how to?
If not I'll try to look into this next week. Another try you might want to do is to upgrade to Serendipity 1.1 - I believe the $serendipity['authorid'] value was fixed there in some ways, but I'm not sure.... ('Im running out of time this week *g*)
Best regards,
Garvin
Okay, that one is the recent version.
I believe it's because of this check in serendipity_event_userprofiles.php:
Code: Select all
return ($user['userlevel'] < $serendipity['serendipityUserlevel'] || $user['authorid'] == $serendipity['authorid'] || $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN);
Code: Select all
return ($user['userlevel'] <= $serendipity['serendipityUserlevel'] || $user['authorid'] == $serendipity['authorid'] || $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN);
If not I'll try to look into this next week. Another try you might want to do is to upgrade to Serendipity 1.1 - I believe the $serendipity['authorid'] value was fixed there in some ways, but I'm not sure.... ('Im running out of time this week *g*)
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/
# 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/
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
Update good, edit bad
Ok, the update is complete and I am happy that I am running the current version of s9y. However, the edit you suggested give a user the ability to edit everyones profiles. Not good.
What would echoing both values accomplish if i were able to do it and how woudl I go about doing so?; Just talking another php script designed just to echo both to learn their values??
What would echoing both values accomplish if i were able to do it and how woudl I go about doing so?; Just talking another php script designed just to echo both to learn their values??
-
snorkle256
- Regular
- Posts: 10
- Joined: Tue Jan 09, 2007 5:45 pm
- Location: Wisconsin
- Contact:
I think I've decided that I don't want to use the Profiles plugin as of right now.
I had the though that once I gain more users, that drop down box is going to be a pain.
I supposed I will have to wait for a major edit of this plugin that simply places the profile editing form directly into a users personal configuration.
Until then I'm just going to uninstall it.
I had the though that once I gain more users, that drop down box is going to be a pain.
I supposed I will have to wait for a major edit of this plugin that simply places the profile editing form directly into a users personal configuration.
Until then I'm just going to uninstall it.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I'll try to see to make it work at the end of next week or the week after that, when I have more time. I'll let you know here in this thread once it is done!
Best regards,
Garvin
I'll try to see to make it work at the end of next week or the week after that, when I have more time. I'll let you know here in this thread once it is done!
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I just committed a new version 0.20 of the userprofiles plugin which should accommodate your wishes!
HTH,
Garvin
I just committed a new version 0.20 of the userprofiles plugin which should accommodate your wishes!
HTH,
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/
# 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/