Previous Thread
Next Thread
Print Thread
Rate Thread
#121182 07/01/2001 8:12 AM
Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
well... i added a new customfield, when someone registers on the board, they must enter their AGE. the variable i think is $customfield1

Now... how can i display it on the bottom of the posts, like....

Posts: 5 | From: country | Registered: Jun 2001 | PUT AGE HERE | IP: Logged

I've checked public_topic_page.pl but i can't add it.

Can anyone help?
tks

Sponsored Links
#121183 07/01/2001 11:59 AM
Joined: May 2001
Posts: 157
Member
Member
Offline
Joined: May 2001
Posts: 157
find this in public_topic_page.pl:

$AuthorExtra $ip_wording

now replace that with:

$AuthorExtra | $user_profile[16] $ip_wording

if that doesnt work post back

#121184 07/01/2001 12:08 PM
Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
Well... Almost!

I've put $AuthorExtra | $user_profile[16] $ip_wording

Now it says:
Posts: 5 | From: country | Registered: Jun 2001 | 21 | IP: Logged


It won't appear the word "AGE", it only appear the age number itself.

if i add to file:
$AuthorExtra | age: $user_profile[16] $ip_wording

it doesn't work either.
Any suggestion?

#121185 07/01/2001 9:58 PM
Joined: May 2001
Posts: 157
Member
Member
Offline
Joined: May 2001
Posts: 157
ok most likely u should have the vars_wordlets_mods.cgi installed if not get it from Qasic's website i think its Qasic.com

in that file put this:
profile_agefield => "Age:",
be sure to include the "comma"

and now replace:
$AuthorExtra | $user_profile[16] $ip_wording

with:
$AuthorExtra | $vars_wordlets_mods{profile_agefield} $user_profile[16] $ip_wording

that should do it

[ July 01, 2001 10:01 PM: Message edited by: SK8285 ]

#121186 07/02/2001 7:02 AM
Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
or at:
http://www.nfscheats.com/users/DPK/scripts/download

smile

[ July 02, 2001 07:04 AM: Message edited by: DPK ]

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)