Firefox PHP
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
August 30, 2007 10:58AM
Quote
sheik
I've just checked my Phorum DB and the phorum_spamhurdles table had 14MB of overhead (i.e. wasted space). An OPTIMISE sorted that out, but it might be worth noting in the Readme for this module that such maintenance may be required.

(I've never understood why MySQL isn't clever enough to optimise its own tables, but there you go...)

/\dam
I run this periodically via cron on my servers:
mysqlcheck --all-databases -o # optimize -a analyze -r repair
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
July 31, 2010 01:50AM
I have this message :
Quote

phorum_mod_spamhurdles_tpl_editor_before_textarea(): Can't determine whether we're editing a new message

what this ?
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
August 01, 2010 09:10AM
start with telling us what you are using and doing:
1. the thread you are posting in talks about this module on the really outdated phorum 5.1.x. Which Phorum version are you using? Which version of this module?

2. When do you get this message? What did you do to get it?

3. Did it work before and the message just happened now? What was changed?


Thomas Seifert
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
December 09, 2010 05:18AM
Hi,

I've tried to use this mod to prevent the SPAM registrations for my Phorum, but as soon as I enable the Captcha Function for new user registration I got the following error message:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/xxx/yyyy/DAF_Forum/mods/spamhurdles/db.php on line 72
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/xxx/yyyy/DAF_Forum/mods/spamhurdles/db.php on line 72

It is equal which kind of Captcha Code was selected. Below this error message, the Captcha information and icon was shown.

I'm using:
* Phorum version 5.2.15a
* Spam Hurdles (version 1.1.2)

The SQL table was created, but it seams that the script couldn't write any data to this table.

Any idea?

Thanks,
Torsten



Edited 1 time(s). Last edit at 12/09/2010 05:18AM by wawibu.
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
December 09, 2010 07:04AM
Please try upgrading to Phorum 5.2.16-RC2. A fully rewritten spam hurdles module is available in that version. I have no idea if that will fix your problem (frankly, I have no idea why you see this error), but I'd rather debug and fix the issue in the new module than in the old one.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
December 09, 2010 08:05AM
Hi Maurice,

it works now ! Thanks a lot for your work and the great mod!

Cheers,
Torsten
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
December 09, 2010 08:47AM
Great to hear that the new version works for you and thanks for reporting back!


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
August 17, 2011 02:41PM
(post removed... I think I have the module working now, maybe.)



Edited 1 time(s). Last edit at 08/18/2011 04:39PM by BritishV8.
mac
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
October 25, 2011 04:10AM
Mmm. Also got this error as reported here above when I upgraded to the latest downloadable version (on version 5.2.18).
Language: HTML
phorum_mod_spamhurdles_tpl_editor_before_textarea(): Can';t determine whether we';re editing a new message

Then I realised I have made so many changes to template files over the years and have rewritten newer template files with older ones without careful checking of what is new in the new template files.. .

So I did a complete new install of 5.2.1.8
Everything is working but this module. No error messages. Sanity check is OK. It simply does not show.

OK, it does now on the registration form.

Language: HTML
For versions 5.1.16 and higher, this code is already in the default template.

Does this mean it is not is not in the emerald template...?

And is this is what I must add (I seem to remember from the earlier version)
Language: HTML
{HOOK "tpl_editor_before_textarea"} <small>{LANG->Message}:</small>

The above is what we want, not so, and it is there?



Edited 2 time(s). Last edit at 10/25/2011 06:48AM by mac.
Re: Spam Hurdles Module (CAPTCHA's and other anti-spam tools)
October 25, 2011 12:03PM
You know that you just posted in a thread for this module for Phorum 5.1?
I hope that you used the spamhurdles module that is included in the distribution.


Quote

Does this mean it is not is not in the emerald template...?

The emerald template IS the default template and therefore it contains all needed changes.


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login