Page 1 of 1

Too many comments shown in admin [solved]

Posted: Thu Jan 15, 2009 11:20 am
by presura
Hi,

after 2 years, I have many comments on my site. However, if I want to edit or delete some, I have a problem.
Ussually, I have to log in into admin:

../admin/moduleinterface.php?module=Comments

After that I can edit or delete the comment.
However, in Admin it takes a lot of time to load the page, because it loads ALL the comments (I have CMS Made Simple 1.2.2 "Holetown").

I do not have an option like in the News Module to show only the last 25 comments... I looked for a new version of the Cooment module (I have Comments 1.8.2) but I could not find...

Any idea how to solve the problem, and display in admin only the last 25 comments? Or to delete quicly the last comments?

thanks in advance,
cristian

Re: Too many comments shown in admin

Posted: Fri Feb 13, 2009 11:22 am
by presura
No suggestion?  :'(

Re: Too many comments shown in admin

Posted: Fri Feb 13, 2009 10:42 pm
by JeremyBASS
You could always go in to the DB and delete... that would be fast...

Cheers
jeremyBass

Re: Too many comments shown in admin

Posted: Sat Feb 14, 2009 7:29 am
by RonnyK
In SVN Comments already has the option to limit the comments showing. When Comments will be released, that option will be available.

Ronny

Re: Too many comments shown in admin

Posted: Mon Feb 23, 2009 4:17 pm
by presura
I solved it by modifying the action.defaultadmin.php:

$valoare = 0;
while (($row = $dbresult->FetchRow()) &&  ($valoare id = $row['comment_id'];

It shows now the last 15 comments