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 

How to delete comments the easy way?

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Thu Dec 02, 2004 2:59 am    Post subject: How to delete comments the easy way? Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Thu Dec 02, 2004 3:22 am    Post subject: Reply with quote

My Blacklist has that ability.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Thu Dec 02, 2004 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Thu Dec 02, 2004 6:36 am    Post subject: Reply with quote

Take a look at http://www.cafelog.com/board/viewtopic.php?t=5849&p=26047#26047
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Fri Dec 03, 2004 12:48 am    Post subject: Reply with quote

Hmm.... I tried it, but it's not deleting the comment. Did I do anything wrong?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Fri Dec 03, 2004 1:03 am    Post subject: Reply with quote

Did you install the Blacklist? What do you mean by you tried it???
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Fri Dec 03, 2004 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Fri Dec 03, 2004 1:41 am    Post subject: Reply with quote

Seems like you forgot to edit your "b2edit.php" file -- step 3.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Sat Dec 04, 2004 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Sat Dec 04, 2004 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Akari



Joined: 04 Oct 2003
Posts: 17
Location: Canada

PostPosted: Mon Dec 06, 2004 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Mon Dec 06, 2004 5:48 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Sigg3



Joined: 03 Jul 2003
Posts: 826
Location: Oslo, Norway

PostPosted: Mon Dec 06, 2004 11:29 am    Post subject: Reply with quote

Sorry Michael if I boosted that PM situation:p
Wasn't my intention.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Mon Dec 06, 2004 7:59 pm    Post subject: Reply with quote

Sigg3 wrote:
Sorry Michael if I boosted that PM situation:p
Wasn't my intention.


No problem.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
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