|
|
Joined: Mar 2001
Posts: 52
Member
|
Member
Joined: Mar 2001
Posts: 52 |
Hi. I am searching for a hack that adds user titles or ranks.
For example: if you have 0-20 posts - newbie 20-50 posts - junior member 50-100 posts - member 100-150 posts - super member 150 -200 posts - elite member
Does somebody have this hack?
PS. i am running ubb version 5.47 c
|
|
|
|
Joined: Feb 2001
Posts: 108
Member
|
Member
Joined: Feb 2001
Posts: 108 |
Open up UBB_LIBRARY2.PL
----- Search for:
elsif ($ThisStatus eq "Moderator") { -----
The lines below this are the ones you want to modify.
You can change as well as add as many ranks as you so desire (I modified mine to have 20 levels).
Anyhow, one of the first lines should have:
if ($thisprofile[7] > 21) { $ThisStatus = "Junior Member"
It might say Newbie for the first line, I cannot recall. Just start adding more lines so your code would eventually look like this:
if ($thisprofile[7] > 21) { $ThisStatus = "Junior Member ";
}
if ($thisprofile[7] > 41) { $ThisStatus = "Junior Member 1 ";
}
if ($thisprofile[7] > 61) { $ThisStatus = "Junior Member 2 ";
}
if ($thisprofile[7] > 81) { $ThisStatus = "Junior Member 3 ";
}
etc... Just remember to change the number following the > to the # of posts assigned to that rank/level.
p2k
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Its called starhack 
|
|
|
|
Joined: Feb 2001
Posts: 108
Member
|
Member
Joined: Feb 2001
Posts: 108 |
That'll work too. You can even kill the annoying stars if you don't want them with your ranks either.
p2k
|
|
|
|
Joined: Mar 2001
Posts: 52
Member
|
Member
Joined: Mar 2001
Posts: 52 |
|
|
|
|
Joined: Jan 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 8 |
Mine says this in it: Where in there would I put that, EXACTLY? This is v. 545b.
Signature? Derr... what's that?
|
|
|
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
.o0 (How can people post in the wrong forum everyone single time???)
Moving to Questions
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|