Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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 +


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
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

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
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


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)