2010-04-23, 06:50 PM
Thanks man, this is very helpful
[For 1.6] [release] [updated for 1.6] Stopforumspam.com plugin for MyBB - Stop the Spam!
|
2010-04-23, 06:50 PM
Thanks man, this is very helpful
2010-04-23, 07:18 PM
(2010-04-22, 01:44 AM)Shemo Wrote: this thing is STRICT if you leave the option to check usernames! yup. one of my suggestions that I posted earlier in this thread is to include a setting for each test type that would only trigger the denial when a username or whatever has more than X entries in the database. my own version of this plugin is doing this and it is working very well.
Lost interest, sold my sites, will browse here once in a while. It's been fun.
2010-05-09, 10:56 AM
Sorry to bump this thread (again ), what are the core edits he's talking about here that need to be made?
(2010-01-28, 12:57 AM)pavemen Wrote: Regarding point 3, two lines of code added to the banning.php module (yes it requires a core edit) will let you add check boxes to the user ban page and then your plugin can process the SFS ban if you had checked the boxes. The admin_ban_commit hook (i think that is it) can be used to check if the admin checked the SFS boxes and then process accordingly.
Owner of Slavery Report | Our mission is to collaborate information to make a massive forceful impact against Human Trafficking world wide
2010-05-09, 04:16 PM
actually single line to add the check boxes.
look in \<board_root>\admin\modules\users\banning.php and find
and change it to
Then you need to create a new plugin or add to the one in this thread that sets
and then create a function sfs_submit_data() and using CURL, send the required data (per the check box settings and user info) to StopForumSpam along with your API key. You will need to figure out all that for yourself, this function can get rather large depending on what info you send and how you optimize the CURL delivery
Lost interest, sold my sites, will browse here once in a while. It's been fun.
2010-05-09, 04:48 PM
Thanks. I made all the edits except that last one, I have no idea at all what a CURL even is or how to use it. I just want to send the basic info: Username, email, and ip. Can you make me an example code with a fake api key?
Owner of Slavery Report | Our mission is to collaborate information to make a massive forceful impact against Human Trafficking world wide
2010-05-09, 05:03 PM
the last one is what makes use of the core file edits. without it, the banning page edits never get used.
Lost interest, sold my sites, will browse here once in a while. It's been fun.
2010-05-09, 05:05 PM
I know that, I know what it's "used for", I just have absolutely no idea how to make the CURL thing whatever you're talking about there.
Owner of Slavery Report | Our mission is to collaborate information to make a massive forceful impact against Human Trafficking world wide
2010-05-09, 05:27 PM
i think there is an example on the SFS site in their forums, or download one of the plugins the host there and use that code as a basis
Lost interest, sold my sites, will browse here once in a while. It's been fun.
2010-05-09, 05:42 PM
Alright, fine I'll just post a thread there. Anyone else needing help getting this so-called CURL thing done just go here instead, I'm sure they know how to do it. Thanks!
http://www.stopforumspam.com/forum/viewt...9217#p9217
Owner of Slavery Report | Our mission is to collaborate information to make a massive forceful impact against Human Trafficking world wide
2010-05-09, 06:34 PM
cURL is a program. You have to install it on your server.
I'm not here often, shoot a PM or whatever if you want my discord.
|
« Next Oldest | Next Newest »
|