[mod request] (re)captcha for ajax contact form?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-10-2008, 08:42 PM
Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 69
I like the ajax contact form that ships with pligg, but it really needs a captcha.

I get so much spam from my other sites that have contact forms with no captcha, I'm afraid to put another contact form online without one

Anybody have any tips/instructions for adding a captcha (or recaptcha) to the ajax contact form?

If someone can figure out a way to make it work with the existing recpatcha public/private keys that are used for the pligg recaptcha registration plugin, I'll be happy to pay via PayPal (and the finished result can be shared here in the community)
Reply With Quote
  #2 (permalink)  
Old 01-13-2008, 03:10 PM
Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 69
Anybody interested?
Reply With Quote
  #3 (permalink)  
Old 01-24-2008, 07:02 PM
Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 69
Anybody?
Reply With Quote
  #4 (permalink)  
Old 03-30-2008, 03:00 AM
New Pligger
Pligg Version: None
 
Join Date: Mar 2008
Posts: 2
1. Go to dagon design, download their secure form mailer Secure PHP Form Mailer Script · Dagon Design
2. upload it to your web directory
3. create a file contact.php in the root directory
Code:
include_once('Smarty.class.php');
$main_smarty = new Smarty;

include('config.php');
include(mnminclude.'html1.php');
include(mnminclude.'ts.php');
include(mnminclude.'link.php');
include(mnminclude.'tags.php');
include(mnminclude.'search.php');
include(mnminclude.'smartyvariables.php');
//include("./contactus/contact.php");

// module system hook
$vars = '';
check_actions('search_top', $vars);

// breadcrumbs and page title
$navwhere['text1'] = "Contact Us";
$navwhere['link1'] = getmyurl('contact');
$main_smarty->assign('navbar_where', $navwhere);
$main_smarty->assign('posttitle', " / Contact Us");

//sidebar
//$main_smarty = do_sidebar($main_smarty);

// pagename	
define('pagename', 'contact'); 
$main_smarty->assign('pagename', pagename);


// show the template
$main_smarty->assign('tpl_center', $the_template . '/contact_center');
$main_smarty->display($the_template . '/pligg.tpl');
4. create a file contact_center.tpl in your template directory
code:
Code:
{php}
include('./contactus/contact.php');
{/php}
NB: I renamed the folder dd-formmailer to contactus and the file dd-formmailer.php to contactus.php if i hadn't it would show include('./dd-formmailer/dd-formmailer.php');

5. Edit the dd-formmailer.php file according to their instructions.

Last edited by blooksllc; 03-30-2008 at 03:01 AM. Reason: change quote to code
Reply With Quote
  #5 (permalink)  
Old 05-08-2010, 02:30 AM
New Pligger
Pligg Version: 1.0.4
 
Join Date: Dec 2008
Location: Brasil
Posts: 10
Really was looking for a hint of such by Google has been hard but I found.

I followed the tips that you spent, and it worked perfectly!

Set up to answer automatically, I changed the title, size of fields, perfect!

Thank you!


Quote:
Originally Posted by blooksllc View Post
1. Go to dagon design, download their secure form mailer Secure PHP Form Mailer Script · Dagon Design
2. upload it to your web directory
3. create a file contact.php in the root directory
Code:
include_once('Smarty.class.php');
$main_smarty = new Smarty;

include('config.php');
include(mnminclude.'html1.php');
include(mnminclude.'ts.php');
include(mnminclude.'link.php');
include(mnminclude.'tags.php');
include(mnminclude.'search.php');
include(mnminclude.'smartyvariables.php');
//include("./contactus/contact.php");

// module system hook
$vars = '';
check_actions('search_top', $vars);

// breadcrumbs and page title
$navwhere['text1'] = "Contact Us";
$navwhere['link1'] = getmyurl('contact');
$main_smarty->assign('navbar_where', $navwhere);
$main_smarty->assign('posttitle', " / Contact Us");

//sidebar
//$main_smarty = do_sidebar($main_smarty);

// pagename	
define('pagename', 'contact'); 
$main_smarty->assign('pagename', pagename);


// show the template
$main_smarty->assign('tpl_center', $the_template . '/contact_center');
$main_smarty->display($the_template . '/pligg.tpl');
4. create a file contact_center.tpl in your template directory
code:
Code:
{php}
include('./contactus/contact.php');
{/php}
NB: I renamed the folder dd-formmailer to contactus and the file dd-formmailer.php to contactus.php if i hadn't it would show include('./dd-formmailer/dd-formmailer.php');

5. Edit the dd-formmailer.php file according to their instructions.
Reply With Quote
  #6 (permalink)  
Old 02-18-2011, 06:53 AM
New Pligger
 
Join Date: Jan 2011
Posts: 2
It did all the following but it is not work

What folder " contact.php " need to be in?

and it seems like when you click contact us in the bottom of my web - it will show like this
http://www.blixflip.com/Blixflipfolder/help/125.jpg

my web: http://www.blixflip.com/

How can I connect both?
Thanks
Reply With Quote
  #7 (permalink)  
Old 02-18-2011, 07:37 AM
Constant Pligger
Pligg Version: 1.1.3
 
Join Date: Oct 2006
Posts: 191
I tried the exact instructions, but it did not work for me.
Any help? Thanks

www.startupbug.com/contact.php

I have set the $standalone = FALSE
categories don't showup (topics) and also the actual contact form also doesn't show up.
I am using Pligg v1.1.3

Thanks much for any help

My Pligg Sites: startupbug.com

Last edited by PurpleCow; 02-18-2011 at 07:52 AM.
Reply With Quote
  #8 (permalink)  
Old 02-18-2011, 11:02 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Contact module for Pligg 1.0 | Pligg CMS Templates and Modules
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact Form? ver 1.0.0 rrivera Questions and Comments 1 06-14-2009 08:20 PM
Ajax Contact Form v0.1 ??? dragan Questions and Comments 10 04-24-2008 04:44 AM
Another AJAX Contact form sending error GeneralLedger Questions and Comments 2 03-22-2008 03:49 PM
[SOLVED] No Emails from Ajax Contact Form jawinn Questions and Comments 6 07-09-2007 08:47 AM
Ajax Contact Form v0.1 Sadmir Questions and Comments 1 03-26-2007 01:39 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development