Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 127
Member
Member
Offline
Joined: Feb 2001
Posts: 127
Anyone know a way to add in more information to the $AuthorExtra , other than the Join , Location?

Like if I wanted to add 3 optional profiles fields to the listing.

So that it would display ie

Posts: | From: | OptionalField1: | OptionalField2: |Registered: | IP:


I know you can just add the coding yourself to make it display whatever.. like


Posts: | From: | Sex: Please | Registered: | IP:

By just putting | Sex: Please after the Location profile field when registering. I want it to be automatic though..

I was looking at the coding.. I'm a dummy though.

I figure ubb_lib_posting.cgi and public_topic_page.pl ??

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I have no idea..but It would be good if they made a hack for extra fields there...

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Cant you use the Custom Fields in the cp and call em in public_topic_page.pl?

Joined: Mar 2000
Posts: 204
Member
Member
Offline
Joined: Mar 2000
Posts: 204
Use a custom field and implement it in $AuthorExtra, like so:

Find:

Code
code:

and add beneath it:

Code
code:

Use the first custom field for this. And create a wordlet called optional_field1 (I'm assuming you know how to do that).

That's a pretty crude hack right there, but it should work.

Thanks for giving me an idea for a mod. laugh

And might I add, unless you want a 500 ISE, might want to find this:

Code
code:

Note: I don't want to take up a whole page with the local() statement so the dots are just substituted..

Find $reg_date_line in the local statement and add this after it:

Code
code:

And would get it for ya.. Hope I wasn't too confusing..

[ June 03, 2001 09:26 PM: Message edited by: The Donut ]


-Never Underestimate The Power Of Stupid People In Large Groups.
Joined: Feb 2001
Posts: 127
Member
Member
Offline
Joined: Feb 2001
Posts: 127
nah, i understand what you said... Thanks for the coding. I was doing something real close to that, hehe.. it should work now.. I'll let you know.. thanks

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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2080
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 11
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)