Topic: Serial-Submission To Stopforumspam via pun_approval

Ok, I have say 30-40 posts I want to submit to stopforumspam at a go (so not submitting one by one manually, which involves 6 mouse clicks for each submission).
The posts are all in pun_approval filter.

Should this be done by ticking each post and then using foreach ?

[code=php]
foreach($myarray as $myvariable)
{
  echo "$myvariable, ";
}
[/code]


I can also just export the ip, username and email to a .csv file - but then how to submit ?


I was also shown this over in another forum

[code=php]
$url = "http://www.stopforumspam.net/api.php?username={spammer}&f=serial";
$sql = "SELECT username FROM forum WHERE spammer = 'yes'";
$erg = mysql_query($sql);
while ( $row = mysql_fetch_assoc($erg) ) {
  $spammer = urlencode(trim($row['username']));
  $url_jetzt = str_replace('{spammer}',$spammer,$url);
  $data = file_get_contents($url);
}
echo 'fertsch'; 
[/code]

2

Re: Serial-Submission To Stopforumspam via pun_approval

Is your question about how to get ip, username and email for each post waiting for approval? Or are you asking about how to send this information to stopforumspam extension? Can you describe the situation in more details?

Re: Serial-Submission To Stopforumspam via pun_approval

alexp wrote:

how to send this information to stopforumspam

1. actually I'm trying to get username, ip and email-address to stopforumspam database from pun_approval...  Ideal would be if one could select several different posts/registrations and then serial-submit that to sfs....

2. I also have a separate list (.csv) I had started (because it was easier to collect the data copy pasting directly from phpmyadmin) that I wanted to upload the sfs db - but if 1. is possible I won't really need 2. in future...

EDIT:

I had started here:
http://punbb.informer.com/forums/topic/ … -progress/