Version: , by Ralgar
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 11-02-2001
Last Update: Never
Installs: 11
No support by the author.
Following features
You can add so many rankingsystems you want extremly easy
The users can switch the systems at the cp and choose his own rankingsystem at the registration
complet admintool support
a possible ramified rankingsystem
i hope u like all
sigh, wrong board, pls move :stupid:
Update 24.11.2001:
The following bugs are handled
When a new user registered to the forum, the user would get the first title from the OLD usertitles. This is fixed.
When a user changed the ranksystem, he would only changed the title then he post something. This is also fixed.
Here are the Bugfixcode, the zipfile is now the bugfixed full release
Code:
*******************
* files, which will be edit by the bugfix
*******************
register.php
member.php
*******************
* file
* member.php
* -------------
* modify the display for the field Ranksystem
* -------------
*******************
***
*search:
***
// Custom User Title Code!
if ($resettitle) {
$group=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid=$bbuserinfo[usergroupid]");
if ($group[usertitle]=="") {
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=$bbuserinfo[posts] ORDER BY minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$group[usertitle];
}
$bbuserinfo[usertitle] = $usertitle;
$bbuserinfo[customtitle] = 0;
unset($customtext);
}
***
*replace with
***
// Custom User Title Code!
$group=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid=$bbuserinfo[usergroupid]");
if ($group[usertitle]=="") {
$getprofilefield=$DB_site->query_first("SELECT profilefieldid from profilefield where 1 and title = 'Ranksystem' LIMIT 0, 1");
$varname="field$getprofilefield[profilefieldid]";
$rankid = $$varname;
$gettitle=$DB_site->query_first("Select rankdetail.title from user, rankdetail left join userfield on user.userid = userfield.userid where user.userid= $bbuserinfo[userid] and rankdetail.rankid = $rankid and rankdetail.minposts <= user.posts ORDER BY rankdetail.minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$group[usertitle];
}
$bbuserinfo[usertitle] = $usertitle;
$bbuserinfo[customtitle] = 0;
unset($customtext);
$customtext = $usertitle;
*******************
* file
* register.php
* -------------
* modify the display for the field Ranksystem
* -------------
*******************
***
*search
***
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$newusergroupid'");
if ($usergroup[usertitle]=="") {
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=0 ORDER BY minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$usergroup[usertitle];
}
***
*replace with
***
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$newusergroupid'");
if ($usergroup[usertitle]=="") {
$getprofilefield=$DB_site->query_first("SELECT profilefieldid from profilefield where 1 and title = 'Ranksystem' LIMIT 0, 1");
$varname="field$getprofilefield[profilefieldid]";
$rankid = $$varname;
$gettitle=$DB_site->query_first("Select rankdetail.title from rankdetail where rankdetail.minposts <= 0 and rankdetail.rankid = $rankid ORDER BY rankdetail.minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$usergroup[usertitle];
}
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I have registered on your Forum quite a few minutes ago and made several postings.
Sorry, but after you have reinstalled, I cannot find any bug.
If there are some bug, that I can reproduce on your forum, then I will look for them and rewrite some code to solve the problem.
Sadie..I am not insulted andI am also new to the VB. Been running a UBB for a few years and hacking that is completely different from this, but exactly what do you mean by
Quote:
but did you re-run the install file after you upgraded
Zamora: It seems to be working today. I was in the procees of uploading re-hacked files when you were testing it. I will have to see if it keep sworking. thank you for your help.
Everytime you upgrade your forum, you have to reinstall the hacks, because vbulletin usualy exchange every (even the patched) files.
This is, what Sadie Frost means.
So if you upgrade to 2.2.x then reinstall all hacks and everything is ok.
Originally posted by Zedd Sadie..I am not insulted and I am also new to the VB.
Good I'm not very advanced so my suggestions are usually the simple ones, so didn't want you to take it the wrong way.
I upgraded my board recently from 2.2.1 and (I think) I had to re-run the install file (forums/admin/multirank.php) in order to make it work after the upgrade, so I thought that might have been your problem too.
But it looks like you may have gotten it working, so I hope it's fixed