|
|
#43152
02/15/2000 2:35 AM
|
Joined: Feb 2000
Posts: 2
Junior Member
|
|
Junior Member
Joined: Feb 2000
Posts: 2 |
ok i look in to the error i cange the rank of 4 user and it worked every time but i did find one error with the code the update user and when you have rank set but post turn on i did not sort the rank list right and all the user would end up with the lowest rank i have upload a new file and here if the fix
if the CosRankLib.pl file find the code:
&GetMemberListArray; #returns @members array @RankList = &OpenFile("$MembersPath/CosRank.DB");
under that add this code:
@RankList = sort {$a <=> $b } @RankList;
find the code:
sub GetNewRank { my $TPost = shift; $NewRank="";
@RankList = &OpenFile("$MembersPath/CosRank.DB");
and under that add this code:
@RankList = sort {$a <=> $b } @RankList;
|
|
|
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: 21,080
Joined: March 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1610
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
|
|
|
|
|
|