UBB.Dev
Posted By: sfpunk_dave Custom User Title Mod? - 10/04/2002 2:32 AM
I looked around these forums for awhile and I was wondering if someone has a Custom User Title Mod? I really need one, if someone could please help, it would be great.
Posted By: AllenAyres Re: Custom User Title Mod? - 10/04/2002 3:03 AM
Welcome smile What version ubb are you running?
Posted By: sfpunk_dave Re: Custom User Title Mod? - 10/04/2002 3:24 AM
I'm running 6.3 and thanks for welcoming me. smile
Posted By: Charles Capps Re: Custom User Title Mod? - 10/04/2002 4:52 AM
Upgrade to 6.3.1, then check out:

Cpanel -> Additional Settings -> User Titles

Does this do what you seek?
Posted By: sfpunk_dave Re: Custom User Title Mod? - 10/04/2002 5:23 AM
I have 6.3.1, thought it was the same thing as 6.3. But no not that. I want it so that the users can make up their own title in their profile and they can be seen on the forums. Is there a Mod for this purpose?
Posted By: usr bin geek Re: Custom User Title Mod? - 10/04/2002 6:38 AM
I don't think I seen it as a mod. It will be included in 6.4 which will be in public beta in a few weeks.
Posted By: sfpunk_dave Re: Custom User Title Mod? - 10/04/2002 7:49 AM
I remember having it over at planetplastica.com before they went vB. frown

But alrighty, thanks though.
Posted By: AllenAyres Re: Custom User Title Mod? - 10/04/2002 8:32 AM
It's possible this:

https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=20;t=000467

can be updated...
Posted By: sfpunk_dave Re: Custom User Title Mod? - 10/04/2002 8:53 AM
If I knew how to hack like you guys do, I would do it myself. frown

But Allen, do you think you can do it? Or is it too much of a hassle?
Posted By: CTM Re: Custom User Title Mod? - 10/04/2002 2:09 PM
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
Posted By: AllenAyres Re: Custom User Title Mod? - 10/04/2002 7:49 PM
very nice smile Thanks CTM laugh
Posted By: AllenAyres Re: Custom User Title Mod? - 10/04/2002 7:51 PM
we'd need to add it to the "edit profile" screen too smile
Posted By: sfpunk_dave Re: Custom User Title Mod? - 10/04/2002 8:36 PM
Thanks, it worked like a charm! Thanks a ton CTM! laugh
© UBB.Developers