MyBB Hacks

Full Version: Contact Us System
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 10
I fill the form:
[attachment=190]
Did I missed something there? Biggrin

I hit the post thread button:
[attachment=191]

I'm using Firefox 3.6.6

I've tried it for several times, Techu. But I always failed to pass the capatcha in newthread page Biggrin

I can't help you in this step, Techu. Because I can't make the plugin works in a fresh MyBB 1.6 installation too. I'm not quite sure why. Maybe there is some mistake in my side.

I think maybe you need to wait Yumi to help. I'm really sorry.
No problem mate, and it was not your fault..

I was using chrome, and captcha works.
I tried again in firefox and it failed in new thread but it works during registration...
Possibly because the plugin wasn't designed to work with quick thread maybe.
From a 2 second glance, maybe try this (have no idea if it works):

find

PHP Code:
$plugins->add_hook("newthread_start", "reCAPTCHA_main_start");

add below

PHP Code:
$plugins->add_hook("forumdisplay_start", "reCAPTCHA_main_start");

(09-08-2010 09:17 AM)ZiNgA BuRgA Wrote: [ -> ]Possibly because the plugin wasn't designed to work with quick thread maybe.
From a 2 second glance, maybe try this (have no idea if it works):

find

PHP Code:
$plugins->add_hook("newthread_start", "reCAPTCHA_main_start");

add below

PHP Code:
$plugins->add_hook("forumdisplay_start", "reCAPTCHA_main_start");



I actually did that before but what happens it that the default captcha get disabled but the recaptcha does not appear...

It is not probably due to quickthread because the problem takes place in  newthread.php
Oh I see, fair enough.
Update:

It seems that when visitor submit the form, the value of the contus_status not set to "New" (or whatever we set the value in the default value) automatically.

The solution is like in the Garage Forum:
Find this code in contus_forumdisplay_quick_thread template:

HTML Code
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />


And contus_newthread template:

HTML Code
<input type="hidden" name="posthash" value="{$posthash}" />


Add this after the code above:

HTML Code
<input type="hidden" name="xthreads_contus_status" value="New" />


I've updated the first post.

Is recaptcha III supported instead of the default image verification system?
(10-25-2010 01:54 PM)1master1 Wrote: [ -> ]Is recaptcha III supported instead of the default image verification system?

It does not have any hooks to showthread, newreply, newthread. So the recaptcha wont appear or work on showthread, newreply, newthread.

The recaptcha for this plugin will only appear and work on registration page.
Thanks for the update RateU - implemented Smile
I had seen that when we install recaptcha III it is appearing along with GD default captcha on registration page. So there are 2 captcha boxes while registration.

To eliminate this i disabled the GD captcha and now it is also disabled in the contact us page. Without a captcha in contact us, is like filling our inbox with spam messages. Frown
Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's