Top 5 Posters

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Top 5 Posters
0pticalviper
CZ Newbie
0pticalviper has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
Just wondering if i could get any help on getting this top 5 users block to work on mine. Im trying to get the one to work made by Chatserv. If theres a better one out there, let me know too. This is the only one i could find.
It only came with one file called block-Top_Posters.php .... I get this error on the main page where the block is:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/assassin/public_html/main/includes/sql_layer.php on line 286


Any help on this is much appreciated. Pretty much if it doesnt come with a readme, im lost like a stranger in paradise.

-0p



Back to top Reply with quote
#2   re: Top 5 Posters
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
that's a very general error. You can do either of 2 things:

1. Although this will not fix the error, it will give you a more definite error message so you can pinpoint the problem. In your sql_layer.php file look for:

case "MySQL":
        $row = mysql_fetch_row($res);
        return $row;
    break;;



change to:

case "MySQL":
        if ($row = mysql_fetch_row($res)) {
           return $row;
        } else {
           print (mysql_error());
        }
    break;;



You can also do:

2. In our download section are 2 Top Posters blocks which you can also use.


Back to top Reply with quote
#3   re: Top 5 Posters
0pticalviper
CZ Newbie
0pticalviper has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
Coo man, works! But when i click on any of those names that show up as one of the 5 top posters it goes to a 404 page not found. Any ideas?



Back to top Reply with quote
#4   re: Top 5 Posters
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
which one did you end up doing? if you choose step 2, which downlaod did you get?



Back to top Reply with quote
#5   re: Top 5 Posters
0pticalviper
CZ Newbie
0pticalviper has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
The one without the point system, just post count.



Back to top Reply with quote
#6   re: Top 5 Posters
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
post a link to your site please



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum