MyBB Hacks

Full Version: Spamalyser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
where can i find the compatibility line in the plugin to make it 18.
as i am getting error not compat with 1.8.3
sorry i find it its in sp_admin.php
but i have a question i was changing compat lines in other plugins and changed to 18.
but in spamalyser
existing compat lines were like 14*,16* so i changed it to 18*.
so what difference would it make b/w 18 and 18*?
* means any arbitrary text.  So "18" would match nothing.

Be aware of potential issues when trying to use this on 1.8, as it isn't really compatible yet (see previous posts for more info).
oh ok i disabled it.
btw
is there any plan to upgrade it?
it is(was) awesome plugin
since i disabled the plugin i got 40+ SPAM threads created that too in weird unknown languages. please yumi update it to 1.8.
earlier when spamalyser was active it seemed people have stopped spamming in this world but i was wrong.
(09-23-2014 04:57 PM)Sama34 Wrote: [ -> ]The `spamalyser_weight_markreport` setting needs to be revised in 1.8, since the reportedposts table has been changed:

PHP Code:
		$numreports = $db->fetch_field($db->query('
			SELECT COUNT(DISTINCT p.pid) AS numreports
			FROM '.TABLE_PREFIX.'posts p
			INNER JOIN '.TABLE_PREFIX.'reportedposts r ON r.pid=p.pid
			WHERE p.uid='.$user['uid'].' AND p.visible=1 AND r.reportstatus!=0'.$qx
		), 'numreports');


Should probably be:

PHP Code:
		$numreports = $db->fetch_field($db->query('
			SELECT COUNT(DISTINCT p.pid) AS numreports
			FROM '.TABLE_PREFIX.'posts p
			INNER JOIN '.TABLE_PREFIX.'reportedcontent r ON r.id=p.pid
			WHERE p.uid='.$user['uid'].' AND p.visible=1 AND r.reportstatus!=0 AND (r.type="post" OR type="")'.$qx
		), 'numreports');


Cheers.


Yumi
is this code correct and if yes where to change it.
today users reported they weren't able to reply or post new thread ang get some sort of mysql error.
Please update this to 1.8 version. it was the most useful (after xthreads) plugin of mybb. totally stops spam
Just read some posts above.
ah at last found it its the sp_main file
i changed the code you gave in the posts above in the sp_main file and spamalyser started to work fine for guest replies i tested it and it showed me error in a nice popup on the right and side which fade away after little while.

but just few minutes ago i tried that with guest threads. and i get this error.
Image attached: http://i.imgur.com/ah0eT7P.png

afterwards when i see the forum the thread is created but the thread is not reported

how can i fix it when it works for replies.

also in spamalyser logs what is /admin/spamalyser_img/action_.gif i what does it symbolize as i am getting a broken image (404) so don't know what this image means.
other images such as /admin/spamalyser_img/action_blocked.gif is showing fine.
Pages: 1 2 3 4 5 6 7 8 9
Reference URL's