|
#52599
03/15/2002 7:38 PM
|
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?
|
|
|
#52600
03/16/2002 7:10 PM
|
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
|
|
|
#52601
03/17/2002 7:41 PM
|
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?
|
|
|
#52602
03/17/2002 8:21 PM
|
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
|
|
|
#52603
03/18/2002 1:54 AM
|
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
|
|
|
#52604
03/18/2002 3:23 AM
|
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: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|