Additional Settings For Custom Profile Fields [1.2]
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #123
RE: Additional Settings For Custom Profile Fields
(12-31-2012 02:45 AM)Schocker Wrote:  I'm afraid it didn't help at all; I still see {VALUE} instead of an actual value, even after rebuilding cache, saving a profile field and editing a user's profile. :/ Do You want me to give you some more details?

Could you post your profile field setting and the value supplied in your edit profile, so maybe I can reproduce it?


(12-31-2012 07:47 PM)leefish Wrote:  When the user hits the update profile button, I would like them to be redirected to the profile. Do you know how to make it redirect like that?

You can edit the redirect in the plugin file (around line #67):

PHP Code:
67
redirect('usercp.php',$lang->xt_proffields_updated);

to something like:

PHP Code:
67
redirect(get_profile_link($mybb->user['uid']),$lang->xt_proffields_updated);

Yeah, I think it's better if we use a 'single' usercp page, we redirect it to the profile page.


01-01-2013 03:40 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Additional Settings For Custom Profile Fields - RateU - 01-01-2013 03:40 AM

 Standard Tools
Forum Jump: