2011-02-27, 04:11 PM
2011-02-27, 05:08 PM
What did you modify? There's no point on using a plugin edited by somebody else if the parameters are put the same way.
2011-02-28, 01:43 AM
The parameters are still the same, I didn't touch them. I just removed the plug-in version checking because it works fine for me, no need to check for another new version. And edited the MyBB version numbering for using with MyBB 1.6.*, nothing else.
I only said try that I uploaded just to see, you never know? Other than that I don't know what to say, maybe it's a server related configuration issue for you. It works fine here for me at my end.
I only said try that I uploaded just to see, you never know? Other than that I don't know what to say, maybe it's a server related configuration issue for you. It works fine here for me at my end.
2011-02-28, 03:35 AM
this seems to be a very intelligent integration, very good job i will use this.
2011-02-28, 07:43 PM
(2011-02-28, 01:43 AM)Gary Bolton Wrote: [ -> ]The parameters are still the same, I didn't touch them. I just removed the plug-in version checking because it works fine for me, no need to check for another new version. And edited the MyBB version numbering for using with MyBB 1.6.*, nothing else.
I only said try that I uploaded just to see, you never know? Other than that I don't know what to say, maybe it's a server related configuration issue for you. It works fine here for me at my end.
Well then it won't fix anything. My forums http://forums.consoleaddicted.com gets some registrations per day including bots. But I do not always get the error, today I didn't get by the way, let's see if this setting change fixed it.
2011-02-28, 11:00 PM
Unfortunately you are correct, I just got home from work and checked my emails. I have 6 email sent from my forum with different errors messages in them all related to the StopForumSpam plugin.
Seems I'm now getting them as well. Here are just 3 below.
Seems I'm now getting them as well. Here are just 3 below.
Quote:Type: 2
File: inc/plugins/stopforumspam.php (Line no. 145)
Message
simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.stopforumspam.com/api?ip=117....xiem7jk:11: parser error : Premature end of data in tag div line 1
Quote:Type: 2
File: inc/plugins/stopforumspam.php (Line no. 145)
Message
simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.stopforumspam.com/api?ip=117....axiem7jk:2: parser error : Opening and ending tag mismatch: br line 2 and div
Quote:Type: 2
File: inc/plugins/stopforumspam.php (Line no. 145)
Message
simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^
Type: 2
File: inc/plugins/stopforumspam.php (Line no. 145)
Message
simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: </response>
2011-02-28, 11:05 PM
Yeap I've just received some new emails a few minutes ago as well. This looks like a bug to me
2011-02-28, 11:07 PM
It's related to line 145 in the plug-in file it seems that says this in the code, as all 6 error emails sent all mention Line 145. I just opened the plug-in file and looked at that line and this is the code on that line.
To be honest I have no idea how the fix this, I'm not a PHP coder. Maybe somebody here could have an idea what going wrong looking at the error messages I posted above though. For now I've disabled it on my forum, which I didn't really want to do.
sp_xml = simplexml_load_file('http://www.stopforumspam.com/api?ip='. $session->ipaddress .'&email='. $mybb->input['email'] .'&username='.$mybb->input['username']);
To be honest I have no idea how the fix this, I'm not a PHP coder. Maybe somebody here could have an idea what going wrong looking at the error messages I posted above though. For now I've disabled it on my forum, which I didn't really want to do.
2011-03-02, 11:25 AM
If anyone is interested in taking over maintenance/development of this plugin then they are more than welcome to do so, It is licensed under GPL so you can just create a fork. I don't have the time these days with my other MyBB duties.
2011-03-02, 02:13 PM
doesn't work with 1.62