Additional Settings For Custom Profile Fields [1.2]
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #101
RE: Additional Settings For Custom Profile Fields
I've created a single profile field for testing purposes in this.

brad-t kindly provided his usercp template and directed me to the plugin on page 6 of this thread. I've installed it, and (for the purposes of this test), pasted his template verbatim into my usercp template. I changed the $xtpf_minp variables to the right fid (11) and did everything as directed in the examples (page 6).

The fields don't show up. Aww They're just blank. How can I get them to display properly?
10-21-2012 04:25 PM
Find all posts by this user Quote this message in a reply
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #102
RE: Additional Settings For Custom Profile Fields
You need the attachment in the first post too.
10-21-2012 11:56 PM
Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #103
RE: Additional Settings For Custom Profile Fields
I've got it. Otherwise I would have realized when I was modifying the input.
10-22-2012 12:02 PM
Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #104
RE: Additional Settings For Custom Profile Fields
Anyone know?

Edit: I fixed it. It was the theme. They reappeared when I installed Apart Clean.
(This post was last modified: 10-28-2012 06:09 PM by Seabody.)
10-28-2012 12:54 PM
Find all posts by this user Quote this message in a reply
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #105
RE: Additional Settings For Custom Profile Fields
Edit - never mind, apologies. i was using {$userfields['fid2']} in my member_profile template instead of the correct variable of {$xtpf['fid2']}. ill leave the below text in case anyone makes a dumb mistake like me.

hi, i had another question: i'm using the mybb editor (as seen in your post), and everything looks good. the only thing is that the Mycode does not work on the actual profile page, but HTML seems to work.

the settings are set to make sure no HTML is allowed, and Mycode is allowed. this is the default FID2 About profile field i'm trying to get mycode to work with.

is there anything special i need to do to make the mycode work?
(This post was last modified: 11-04-2012 07:03 PM by Gstone.)
11-04-2012 03:56 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #106
RE: Additional Settings For Custom Profile Fields
Yeah, (I think) $userfields variable is not sanitized in profile page, so try to not use it directly there, or at least sanitize it first if you want to use it directly in member_profile template.

(This post was last modified: 11-05-2012 04:46 AM by RateU.)
11-05-2012 03:37 AM
Find all posts by this user Quote this message in a reply
NNT_ Offline
Junior Member
**
Posts: 18
Joined: Feb 2011
Post: #107
RE: Additional Settings For Custom Profile Fields
Hello there,

I have a trouble, it is I can't save any changes with Profile Fields in UCP (of course I add the hidden input, the template code for UCP, download and installed UCP Main Page...) when I click to Save, it will rollback me to before saving... (blank)

But in the profile page, it still update (what I changed in UCP but we can only see blank - it mean no changes in UCP)

Anyone else met this? If yes please help me learn how to solve that. Thanks a lot.
(This post was last modified: 11-18-2012 02:10 AM by NNT_.)
11-18-2012 02:05 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #108
RE: Additional Settings For Custom Profile Fields
Not fully understand what you mean. Do you mean by the "blank" is a blank (white) page?
Or do you mean that the value entered/supplied is not stay in the profile fields input?
What is your usercp templates code?

11-18-2012 05:29 AM
Find all posts by this user Quote this message in a reply
NNT_ Offline
Junior Member
**
Posts: 18
Joined: Feb 2011
Post: #109
RE: Additional Settings For Custom Profile Fields
(11-18-2012 05:29 AM)RateU Wrote:  Or do you mean that the value entered/supplied is not stay in the profile fields input?
What is your usercp templates code?

Sorry for my bad english, I mean blank is the value entered is not stay in the profile fields input after we save it.

I put this in my usercp template code:

Code:
{$xtpf_minp['fid4']}


(Like brad-t, I follow his introduction in mybb.com)

11-18-2012 03:26 PM
Find all posts by this user Quote this message in a reply
NNT_ Offline
Junior Member
**
Posts: 18
Joined: Feb 2011
Post: #110
RE: Additional Settings For Custom Profile Fields
Please check my previous post, I really really need it. Thanks you Frown
11-20-2012 08:50 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: