SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 03:09:06 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 51
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 48
Total: 48
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: spam protection for comments  (Read 1505 times)
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« on: July 20, 2011, 01:53:56 pm »

Hi,

How can enable spam protection for comments?

Wildenborch
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: July 20, 2011, 01:55:56 pm »

Do you have visual verification enabled?
It should support that or reCaptcha I believe.
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #2 on: July 20, 2011, 04:04:36 pm »

Yes, I have it enabled but it's not working with the gallery comments.

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: July 20, 2011, 04:24:59 pm »

Two more things
What SMF version?

And just for guests right?
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #4 on: July 21, 2011, 12:13:31 am »

It's version 2.0 
And indeed just for guests.

The website is http://www.rodebaert.nl
Shall I create an user account for you?

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: July 21, 2011, 10:34:13 am »

Posted a new update that should help added code for visual verification

3.0.25
!Fixed not showing thumbnail in SMF 2.0 with RSS Feeds
+Added visual verification on add comment page and quickreply for guests to help with spam issues.
!Fixed undefined redirect variable in SMF 2.0
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #6 on: July 21, 2011, 11:52:00 am »

When I try to update I get this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY KEY (ID_PICTURE))' at line 5
File: galleryinstall2.0.x.php Line: 1114
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #7 on: July 21, 2011, 11:58:04 am »

Reuploaded try again.
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #8 on: July 21, 2011, 12:12:27 pm »

YES!!! Installed and spam protection is working for guests!

Thank you very much!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #9 on: July 21, 2011, 12:19:24 pm »

Glad to help!
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #10 on: July 21, 2011, 12:30:40 pm »

I need your help once again..... can I only remove approved comments through the database?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #11 on: July 21, 2011, 12:39:29 pm »

Yeah here you
Code:
DELETE FROM smf_gallery_comment where approved = 0
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #12 on: July 21, 2011, 12:52:52 pm »

And after removing the (aproved) comments from the database  how do I recalculate the number of comments?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #13 on: July 21, 2011, 12:57:31 pm »

Try
Code:
Update smf_gallery_pic as p SET p.commenttotal = (SELECT count(*) from smf_gallery_comment as  c WHERE c.ID_PICTURE = p.ID_PICTURE)
Logged
wildenborch
SMF Gallery Pro Customer
Newbie
*****
Offline Offline

Posts: 17


View Profile
« Reply #14 on: July 21, 2011, 02:05:02 pm »

That did the trick!

Thanks!
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.257 seconds with 19 queries.