|
|
Joined: Jun 2001
Posts: 49
Member
|
Member
Joined: Jun 2001
Posts: 49 |
Is there a way to pull the info from a custom registration field and have it displayed somewhere under the members name?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
WASSUP!
$user_profile[16], $user_profile[17], $user_profile[18] and $user_profile[19] are the 4 custom profile fields, in which #16 = custom profile field 1 and so forth.
First, make sure that you select option field in the registration settings in your control panel of the custom field you wish to use. Then enter your info you want the user to see in the text area. All you have to do is match the $user_profile # with the custom field # and stick it where you want. Example: If you want to use Custom Field #1 and have it displayed under the user's name on topic pages then it could look like this:
Find: $user_public_name
Add Under: $user_profile[16]
This will work with plain text but if you want something like custom font colors or images then you need to do extra coding. I hope this helped!
THANKS! PrimeTime
|
|
|
|
Joined: Jun 2001
Posts: 49
Member
|
Member
Joined: Jun 2001
Posts: 49 |
just what I needed!
now what .cgi file should this be done in?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
WASSUP JONNY!
No .cgi file needed to be edited unless you are creating new custom profile fields (already used up 1-4)...Only .pl files are to be edited.
From my understanding, you want your customized info displayed under the usernames along with their posts. If this is the case then open up the public_topic_page.pl file in your Templates directory and scroll somewhere in the middle you'll find $public_user_name. Just take whichever $user_profile # you are using and paste under the username. GL!
THANKS! PrimeTime
|
|
|
|
Joined: Jun 2001
Posts: 49
Member
|
Member
Joined: Jun 2001
Posts: 49 |
SWEET! works like a charm! thanks man! be sure to check out my site 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
WASSUP!
Man...All I can say is you have a sweet site. WOW!
THANKS! PrimeTime
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|