Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 57
Member
Member
Offline
Joined: Feb 2000
Posts: 57
User Status Hack

Well, on my UBB board the users love to have a custom stat under their name. I am not sure if somone posted this yet, but if they did I did not see it. I figured out how to do it by changing some stuff for the custom avatar hack that MM posted (http://www.h-realms.com/hacks/6.x/avatar6.txt)

This is very simple, and it worked very easily on my board, but make sure you back up your files first.

Here it is

#############################
public_topic_page.pl
#############################

## FIND:

sub topic_row {

## PASTE THIS UNDER:

my $this_txt = $user_profile[19];
chomp($this_txt);

## FIND:

$user_status


$member_number

##(something other than member_number may be here...$AuthorExtra was there in my code)

## PASTE THIS UNDER:
##if you want more breaks, just do the line break html code.

$this_txt

#############################
Save, upload, Clear Cache
#############################

##Then go to your control panel (primary settings:registration settings) and use the LAST custom slot. Enter "Custom User Text" or whatever label you want to use, and make it an optional field. If you wish to use another custom slot, you will need to change the number 19 that I have in the code, to the number of the slot that you use.

-Lupus

User Status Hack

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.0x] Custom User status (Titles) Lupus 02/05/2001 12:54 PM
Re: [6.0x] Custom User status (Titles) Jigga-Master 02/05/2001 3:38 PM
Re: [6.0x] Custom User status (Titles) Lupus 02/05/2001 6:06 PM
Re: [6.0x] Custom User status (Titles) Yamaha Raptor 02/05/2001 6:15 PM
Re: [6.0x] Custom User status (Titles) Lupus 02/05/2001 6:23 PM
Re: [6.0x] Custom User status (Titles) Alien 02/06/2001 12:51 AM
Re: [6.0x] Custom User status (Titles) Greg Hard 02/06/2001 2:41 AM
Re: [6.0x] Custom User status (Titles) Lupus 02/06/2001 2:42 AM
Re: [6.0x] Custom User status (Titles) Jamer 02/09/2001 7:28 PM
Re: [6.0x] Custom User status (Titles) Calvin 02/09/2001 10:58 PM
Re: [6.0x] Custom User status (Titles) Dark Templar 02/10/2001 7:04 AM
Re: [6.0x] Custom User status (Titles) Lupus 02/10/2001 9:59 AM
Re: [6.0x] Custom User status (Titles) t-c-i 02/10/2001 4:59 PM
Re: [6.0x] Custom User status (Titles) drkknght 04/20/2001 6:07 AM
Re: [6.0x] Custom User status (Titles) Travis 04/20/2001 10:34 PM
Re: [6.0x] Custom User status (Titles) PowerMatt 07/11/2001 5:23 PM
Re: [6.0x] Custom User status (Titles) Tech-Ni-Kal 07/12/2001 6:17 AM
Re: [6.0x] Custom User status (Titles) Tech-Ni-Kal 07/12/2001 6:28 AM
Re: [6.0x] Custom User status (Titles) Oblivion Knight 06/04/2002 11:58 AM
Re: [6.0x] Custom User status (Titles) LK 06/04/2002 12:00 PM
Re: [6.0x] Custom User status (Titles) Lord Dexter 06/04/2002 1:56 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 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 20221218)