boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Hack] Top Commenters with Count
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
Cyberian75



Joined: 26 Sep 2002
Posts: 1015
Location: Oregon

PostPosted: Sun Aug 03, 2003 12:55 am    Post subject: Reply with quote

Try...

Code:

ORDER BY comment_author limit 10



And Patrick, it just lists the commenters with their number of comments.
_________________
Michael P.
Back to top
View user's profile Send private message Visit poster's website AIM Address
mutant



Joined: 03 Aug 2003
Posts: 2

PostPosted: Sun Aug 03, 2003 1:10 pm    Post subject: Reply with quote

I am running into an odd error with the code:

Parse error: parse error, unexpected T_STRING in ../b2-0.6.2.1-20030625/b2-include/b2template.functions.php on line 1221

Anyone know what a T_STRING error is?
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1015
Location: Oregon

PostPosted: Sun Aug 03, 2003 4:08 pm    Post subject: Reply with quote

See if there are empty spaces at the end of that file after "?>".
_________________
Michael P.
Back to top
View user's profile Send private message Visit poster's website AIM Address
cinna



Joined: 16 Jun 2003
Posts: 2

PostPosted: Mon Aug 11, 2003 4:58 pm    Post subject: Reply with quote

i did exactly wha u said but im getting an error saying this:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Andrea'' at line 1

wha should i do?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Cyberian75



Joined: 26 Sep 2002
Posts: 1015
Location: Oregon

PostPosted: Mon Aug 11, 2003 5:28 pm    Post subject: Reply with quote

You probably deleted something from the SQL query or didn't enclose it within single quotes.

Post the line that's giving you an error.
_________________
Michael P.
Back to top
View user's profile Send private message Visit poster's website AIM Address
XianghuaALPHA



Joined: 05 Aug 2003
Posts: 79
Location: Tulsa, OK

PostPosted: Wed Aug 13, 2003 5:05 pm    Post subject: Reply with quote

pretttyyyy. I will have to see if I can tackle this little insert later - TOO GOOD!



X A
_________________
[ [ - - There can be only 2 or 3 - - ]]

You know what. On a quite board - you end up talking to yourself alot....


Friends don't let friends play Tekken™
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
submodalities



Joined: 01 Apr 2004
Posts: 9

PostPosted: Wed May 19, 2004 7:27 pm    Post subject: Reply with quote

This is amazing, what a great hack!! Smile

So easy to install, etc... My second attempt at installing a hack, and it worked perfectly! Smile ..

Is there any way for it to show only the top 10 commenters?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
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


Powered by phpBB 2 © 2001, 2002 phpBB Group