[Kinda Solved] PCP End Game: no text output on new userfield

Support for IntegraMOD 141

Moderator: Integra Moderator

[Kinda Solved] PCP End Game: no text output on new userfield

PostAuthor: spaniel » Sun Jan 13, 2008 3:15 pm

What I've done:

I created a new field for characters and called it user_roles and a language field called User_roles.

I set up a list_roles with 7 values each with a unique text for each role and added $lang values to lang_extend_profile_control_panel.php.

I added it to the profile registration page as a drop-list menu, and put the display on the Base profile page.


What has/hasn't happened:

The text is selectable from the drop-list on the registration page, but all that shows on the Base profile page is the Value number from the list_roles, not the text <img>


What I did next:

I went to PCP Validate files and it gave me the following errors:

Code: Select all
PCP.profil.profile_prefer.Registering_infouser_roles => Move 2 Fields => lang_key (Roles)  Validation def_userfields.phpuser_roles => Move 2 Fields =>  *  leg  (1)     * txt       (1)  



Question is: what have i missed? what have i done wrong? it works; it's just not showing the text from the list_roles, but is showing the value numbers instead...


This is quite technical to me so any help with this would be greatly appreciated. Thanks.
Last edited by spaniel on Mon Jan 14, 2008 12:18 am, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00

Re: PCP End Game: no text output on new userfield :(

PostAuthor: spaniel » Sun Jan 13, 2008 7:45 pm

What PCP is like for the average user:

[youtube:370b43jw]http://youtube.com/watch?v=WT_xpFZe20A[/youtube:370b43jw]


If i can't get it looking like an easy-to-use profile my sites are dead in the water.
Last edited by spaniel on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00

Re: PCP End Game: no text output on new userfield :(

PostAuthor: spaniel » Mon Jan 14, 2008 12:17 am

Solved (kind of!)

I got the output to show by adding pcp_output_state to my user_role array in def/def_userfields.php !

That may not be the way Mr Ptirrik would have done it but I'm just a poor website owner trying to make a success online :D
Last edited by spaniel on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]