Too many comments shown in admin [solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
presura
Forum Members
Forum Members
Posts: 20
Joined: Wed May 23, 2007 5:36 pm

Too many comments shown in admin [solved]

Post 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
Last edited by presura on Mon Feb 23, 2009 4:17 pm, edited 1 time in total.
presura
Forum Members
Forum Members
Posts: 20
Joined: Wed May 23, 2007 5:36 pm

Re: Too many comments shown in admin

Post by presura »

No suggestion?  :'(
JeremyBASS

Re: Too many comments shown in admin

Post by JeremyBASS »

You could always go in to the DB and delete... that would be fast...

Cheers
jeremyBass
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Too many comments shown in admin

Post 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
presura
Forum Members
Forum Members
Posts: 20
Joined: Wed May 23, 2007 5:36 pm

Re: Too many comments shown in admin

Post 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
Post Reply

Return to “Modules/Add-Ons”