YaBB Modification Help - Page 5 of 7

QUOTE Great, now you just have to deal with - Page 5 - Computer Issues, Video Gaming - Posted: 10th Aug, 2003 - 3:42pm

Text RPG Play Text RPG ?
 

+  1 2 3 4 5 6 7 
Posts: 51 - Views: 16042
7th Aug, 2003 - 4:15pm / Post ID: #

YaBB Modification Help - Page 5

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)~;
     }


this is what actually displays the bar based on the number of posts. Make sure that you uploaded the .gifs as binary. Make sure you installed the right mod... there is one for AMM and one without.



Sponsored Links:
Post Date: 7th Aug, 2003 - 4:24pm / Post ID: #

YaBB Modification Help
A Friend

Help Modification YaBB

i'm using sp 1.1 too.

the bar appears coorectly but the bit above it
Posts: 132
for example only appears as
Posts:

I do not have amm installed, and i could onlt find the 1 version.. :-/

7th Aug, 2003 - 4:32pm / Post ID: #

YaBB Modification Help Gaming Video & Issues Computer

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.



Post Date: 7th Aug, 2003 - 4:38pm / Post ID: #

YaBB Modification Help
A Friend

Page 5 Help Modification YaBB

strange :-/
but if i do it bit by bit won't I get errors since the code won't be complete?

7th Aug, 2003 - 5:04pm / Post ID: #

Help Modification YaBB

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?



Post Date: 10th Aug, 2003 - 12:07pm / Post ID: #

YaBB Modification Help
A Friend

YaBB Modification Help

OK, it's the step in the Load.pl that's causing the problem.
Once I upload the old Load.pl the problem is fixed.

Make sure to SUBSCRIBE for FREE to JB's Youtube Channel!
10th Aug, 2003 - 3:24pm / Post ID: #

YaBB Modification Help - Page 5

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.



Post Date: 10th Aug, 2003 - 3:42pm / Post ID: #

YaBB Modification Help
A Friend

YaBB Modification Help Computer Issues & Video Gaming - Page 5

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.


hmm i'll try lol.
Thanks for your help.

+  1 2 3 4 5 6 7 

 
> TOPIC: YaBB Modification Help
 

▲ TOP


International Discussions Coded by: BGID®
ALL RIGHTS RESERVED Copyright © 1999-2024
Disclaimer Privacy Report Errors Credits
This site uses Cookies to dispense or record information with regards to your visit. By continuing to use this site you agree to the terms outlined in our Cookies used here: Privacy / Disclaimer,