View previous topic :: View next topic |
Author |
Message |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Thu Dec 02, 2004 2:59 am Post subject: How to delete comments the easy way? |
|
|
I've recently been bombarded by spam (yes, we've all heard that for a while by many a number of people) However I run a few weblogs (personal, group, etc.) and I was wondering if there was an easy way to delete all the spam comments without having to manually delete them one by one.
Thanks ahead. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Thu Dec 02, 2004 3:22 am Post subject: |
|
|
My Blacklist has that ability. _________________ Michael P.
 |
|
Back to top |
|
 |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Thu Dec 02, 2004 3:38 am Post subject: |
|
|
I've tried the blacklist, and maybe it's my lack of php knowledge, but I cannot seem to make it work. Also my weblog is hosted by someone else and I cannot access phpmyadmin. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
|
Back to top |
|
 |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Fri Dec 03, 2004 12:48 am Post subject: |
|
|
Hmm.... I tried it, but it's not deleting the comment. Did I do anything wrong? |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Fri Dec 03, 2004 1:03 am Post subject: |
|
|
Did you install the Blacklist? What do you mean by you tried it??? _________________ Michael P.
 |
|
Back to top |
|
 |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Fri Dec 03, 2004 1:38 am Post subject: |
|
|
I installed the blacklist and I was able to go into the comments and click on the "ban & delete" link plus clicking on the 'ok' button. After that, it takes me back to the entry that I was deleting and banning the comment from, yet the comment is still there. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Fri Dec 03, 2004 1:41 am Post subject: |
|
|
Seems like you forgot to edit your "b2edit.php" file -- step 3. _________________ Michael P.
 |
|
Back to top |
|
 |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Sat Dec 04, 2004 5:35 am Post subject: |
|
|
Cyberian75 wrote: | Seems like you forgot to edit your "b2edit.php" file -- step 3. |
Hmm.... perhaps I placed it in the wrong place? I know I did insert the snippit, and it's there. However I didn't understand what you really ment by
//right before
//[ code ]
default:
//[ /code ]
Which "default:" were you talking about in the code?
here's a .txt version of my b2edit: http://akari.winged.org/b2edit.txt |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Sat Dec 04, 2004 6:45 am Post subject: |
|
|
Your edit page is apparently messed up.
The "default" action:
Code: |
default:
$standalone=0;
require_once ("./b2header.php");
if ($user_level > 0) {
if ((!$withcomments) && (!$c)) {
$action="post";
include($b2inc."/b2edit.form.php");
echo "<br /><br />";
}
} else {
echo $tabletop; ?>
Since you're a newcomer, you'll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />You can also <a href="mailto:<?php echo $admin_email ?>?subject=b2-promotion">e-mail the admin</a> to ask for a promotion.<br />When you're promoted, just reload this page and you'll be able to blog. :)
<?php
echo $tablebottom;
echo "<br /><br />";
}
include($b2inc."/b2edit.showposts.php");
}
|
_________________ Michael P.
 |
|
Back to top |
|
 |
Akari
Joined: 04 Oct 2003 Posts: 17 Location: Canada
|
Posted: Mon Dec 06, 2004 4:26 am Post subject: |
|
|
Hm.... I see that at the bottom. I added the snippit above that but then this shows up:
Quote: | Couldn't add 203.113.29.1: Unknown column 'URL' in 'field list' |
grr... this is really tough |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Mon Dec 06, 2004 5:48 am Post subject: |
|
|
That's because I recently updated the hack in which I added an extra field "URL" to the database table. Refer to Step 1 (ALTER) of the instruction. _________________ Michael P.
 |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 826 Location: Oslo, Norway
|
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Mon Dec 06, 2004 7:59 pm Post subject: |
|
|
Sigg3 wrote: | Sorry Michael if I boosted that PM situation:p
Wasn't my intention. |
No problem. _________________ Michael P.
 |
|
Back to top |
|
 |
|