Previous Thread
Next Thread
Print Thread
Rate Thread
#179313 10/04/2002 7:09 AM
Joined: Nov 2001
Posts: 1,703
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,703
Welcome smile

This isn't too hard to accomplish, thankfully smile

Go to your CP -> Registration Settings, and insert "Custom Rank" as one of the four Custom Profile Fields.

Open public_topic_page.pl, find:

Quote
code:
Code
$user_status

Replace it with:

code:
[qb]
Code
$custom_status
[/qb]
Open ubb_lib_posting.cgi, find:

Quote
code:
Code
			# Show posts per day
if ($time_diff < 1) {
$posts_per_day = "$user_profile[7]";
} else {
$posts_per_day = int (($user_profile[7] / $time_diff) * 100) / 100;
}

Add after it:

code:
[qb]
Code
			$custom_status = $user_profile[NUMBER];
[/qb]

If you used Custom Field 1 for the "Custom Rank" field, replace $user_profile[NUMBER] in the code above with $user_profile[16]

If you used Custom Field 2 for the "Custom Rank" field, replace $user_profile[NUMBER] in the code above with $user_profile[17]

If you used Custom Field 3 for the "Custom Rank" field, replace $user_profile[NUMBER] in the code above with $user_profile[18]

If you used Custom Field 4 for the "Custom Rank" field, replace $user_profile[NUMBER] in the code above with $user_profile[19]


Reupload both files to their respective directories, clear cache, done smile

Enjoy your stay here smile

Sponsored Links
Entire Thread
Subject Posted By Posted
Custom User Title Mod? sfpunk_dave 10/04/2002 2:32 AM
Re: Custom User Title Mod? AllenAyres 10/04/2002 3:03 AM
Re: Custom User Title Mod? sfpunk_dave 10/04/2002 3:24 AM
Re: Custom User Title Mod? Charles Capps 10/04/2002 4:52 AM
Re: Custom User Title Mod? sfpunk_dave 10/04/2002 5:23 AM
Re: Custom User Title Mod? usr bin geek 10/04/2002 6:38 AM
Re: Custom User Title Mod? sfpunk_dave 10/04/2002 7:49 AM
Re: Custom User Title Mod? AllenAyres 10/04/2002 8:32 AM
Re: Custom User Title Mod? sfpunk_dave 10/04/2002 8:53 AM
Re: Custom User Title Mod? CTM 10/04/2002 2:09 PM
Re: Custom User Title Mod? AllenAyres 10/04/2002 7:49 PM
Re: Custom User Title Mod? AllenAyres 10/04/2002 7:51 PM
Re: Custom User Title Mod? sfpunk_dave 10/04/2002 8:36 PM

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,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 7875
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
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
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)