Additional Settings For Custom Profile Fields [1.2]
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #127
RE: Additional Settings For Custom Profile Fields
(01-03-2013 11:10 AM)nier3 Wrote:  I have a problem with social things: I add my facebook page / twitter link / site web url in my usercp, then I save the page, I go on my member profile or my usercp again and social urls are disappeared. Why happen this?

In member profile I have added {$xtpf['fidX']} for facebook / twitter / site web urls.

Do you mean by the 'usercp' is the usercp_profile template (User CP Edit Profile page) or the usercp template (main User CP page)?
Maybe it is better if you post the profile field settings and your template.

(01-03-2013 07:45 PM)leefish Wrote:  I figured it out - plugin edit.

Just an additional info (if we use a single usercp page - please make sure to block them for accessing the Edit Options and the Edit Profile page), we can force a value of a field by adding it to $userxtpf array inside the plugin (no matter whether the settings is displayed or not).
For example, add this code in the $userxtpf['options'] array will force (hopefully) the user to use the classic postbit layout when they update their profile:

PHP Code:
$userxtpf['options']['classicpostbit'] = 1;


01-04-2013 02:24 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-04-2013 02:24 AM

 Standard Tools
Forum Jump: