UBB.Dev
Name: Add 1 - Infinite User Rankings

Description: You can add as many user rankings as you desire.

Instructions:
OPEN: cp_user_titles.pl

FIND: foreach my $posts (0 .. 14) {

CHANGE: the 14 to any number you like.

Demo: none

Author: Allen Ayres (actually Charles Capps, as he made it easy to change smile )

Requirement: UBBâ„¢ 6.4 +
Cool Allen. With one of my sites being clan-based the members wanted not only a custom title (under their pdn) but their status/ranks based on their roles within the clan (e.g., officer, sub-officer, member, GraphX, etc.) and the gaming divisions they play in. Jimbo's Custom Status Rank hack did just the trick.

I noticed when people used his hack they only used the $custom_status code but not the $user_status. So in version 6.05 I used both codes. The $custom_status was for custom titles while the $user_status was for unique status/ranks of the clan. The flexibility is perfect for what we do.

Some people may think my method is overkill but it works and make the members happy. Sometimes we need to think outside of the box and explore different ways to approach things rather than be content of what is there by first glance. smile
Go to Control Panel - View/Edit Member Records (in Members menu), type the member # and in "Custom User Title" or something like that put his clan status... smile Then in ubb_lib_posting.cgi, find:
Code
[/code]replace with:
Code
</pre></div></div>in ubb_pm.cgi:<br>find:<div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace with:[code]
Untested, but should work smile
Cool LK! I did not test out your hack yet but (if you want to) check out this page which shows the custom titles (under pdn) and if members specified, right above their extra profile (at the bottom of each user's post) you will find their custom ranks/status. It works in all UBB versions. I don't think anyone has done this yet so I thought I might share a bit since people have helped me here in the past.

Click Here

laugh
© UBB.Developers