PDA

View Full Version : Help Me Please!!


DigitalDesktops
03-21-2003, 09:40 PM
I am looking for a multi rank hack for my board but so far I have not been able to find one.

if someone knows anywhere I can get one please e-mail me or reply in here.

flup
03-22-2003, 06:19 AM
From the AdminCP you are able to set up to a million ranks.
Each on a postcout or a special rank [wich means you [the admin] have to set for a user]

DigitalDesktops
03-27-2003, 09:16 PM
what I mean is so that I can have different rank insignias for different races.

I seen something similar for Ikonboard a while ago but not seen one for vB.

Erwin
03-28-2003, 04:56 AM
I think there is one for vB - do a search...

DigitalDesktops
03-28-2003, 10:32 AM
I found LoB's one but it don't come with instructions or any kind of help file.

as you might have guessed I am a n00b when it comes to PHP & MySQL.

Brad
03-28-2003, 12:13 PM
You can do this:

in /admin/functions.php find:

if ($post[icq]!="") {
eval("\$post[icqicon] = \"".gettemplate("icq")."\";");
} else {
$post[icq]="";

Below that add:

if ($post[posts]>0) {
$post[customrank]="newbie";
} elseif ($post[posts]>10) {
$post[customrank]="not so much of a newbie";
} elseif ($post[posts]>20) {
$post[customrank]="getting there";
} else {
$post[customrank]="Non-newbie";


Then add $post[customrank] anywhere in the postbit template.

You will need to edit the code to suit your needs. basicly the numbers are the amount of posts a member needs to have the rank, the text is the title itself.