Which version of YaBB are you using? I am using 1.1 and the zip I sent you is for 1.1. I will not be able to assist with 1.2 and 1.3 YaBB as they are different.
The key of the code is here:
CODE |
$exp{$user} = sprintf("%.1f", $posts / $nextlevel * 100); if($exp{$user} == 100) { $exp{$user} = qq~ nGot this level beat.;)~; } else { $fill_bar = int($exp{$user}); if($fill_bar){$fill_bar = qq~~;} else {$fill_bar = "";} $empty_bar = 100 - $exp{$user}; if($empty_bar){$empty_bar = qq~~;} else {$empty_bar = ""; } $exp{$user} = qq~$fill_bar$empty_bar nTo level: $exp{$user}% ($posts/$nextlevel)~; } |
Hmm... sounds like check is being missed by code insertion. Uninstall the mod and then put up your old files, make sure the posts show properly again... then install one piece of code bit by bit manually and then you will see where the problem arises.
Sorry I should have clarified... the post section or where you actually see the code in action can be left for last so you will know if there is something wrong with display or some other call behind the scenes. When you uninstall does the correct post count return? If it does then you just have to figure where the code is causing posts not to be shown, this may take working piece by piece, understand?
Great, now you just have to deal with the code in Load.pl see what it is substituting that causes posts to stop showing. Sometimes you may have to take the mod code and integrate it with your existing code rather than replace it.
QUOTE |
Great, now you just have to deal with the code in Load.pl see what it is substituting that causes posts to stop showing. Sometimes you may have to take the mod code and integrate it with your existing code rather than replace it. |