Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Integrating CAPTCHA Code

 

 


kezza
User

Aug 21, 2008, 7:59 AM

Post #1 of 10 (9445 views)
Shortcut
Integrating CAPTCHA Code Can't Post

I'm hoping someone can help me here ...! A client has a property listings web site using Realty Manager and each property has a link to an enquiry form that submits a request for information to the relevant 'agent' and includes details of the property in question. This has always worked fine (it sends an email to the 'agent' and also to my client) but the ever increasing problem of 'spam bots' that are submitting links to porn sites etc via online enquiry forms is becoming a big problem.

I have CAPTCHA code that I've always used from a UK company called WebWizGuide that needs to run on an ASP page. try as I might I cannot get it to work on my enquiry forms which are driven via the Realty Manager template, e.g.

listman/exec/search.cgi?view=397&template=enquiry.htm

If I use a .asp page (e.g. listman/exec/search.cgi?view=397&template=enquiry.asp) the page displays OK but won't display the CAPTCHA image and submission field ... I'm wondering if this is a conflict between CGI and ASP scripting and, if so, if anyone has any suggestions as to how I can overcome this (perhaps an alternative CAPTCHA code)?

Thanks in advance Smile

Kerry
Kerry


Donna
Staff / Moderator


Aug 21, 2008, 11:28 AM

Post #2 of 10 (9430 views)
Shortcut
Re: [kezza] Integrating CAPTCHA Code [In reply to] Can't Post

Hi Kezza,

Yep, the basic problem here is that the file is a .cgi, not a .asp -- regardless of what you name the template (heck, you could call it enquiry.blargh) the actual filename that you're hitting is search.cgi -- it's just pulling the details from the template.

There isn't really a way around this. Dynamic pages have to have the extension of the type of file they use -- you'd have the same problem if it were php... or anything other than asp. We do have a script (PublishCron) that allows you to generate a static page from a dynamic query, but if you want that on individual pages, that gets a little trickier as you'd have to setup a publishcron entry for every page... and that sort of defeats the purpose of having dynamically generated pages. :)

Or, if you had the enquiry data on the static pages that Realty Manager creates (l00397.html, for example) you could change the extension of that page to asp, and it would work fine. (This is changed in the Setup Options.)

Let me know if that helps at all, or if you have any other questions. :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


kezza
User

Aug 21, 2008, 10:50 PM

Post #3 of 10 (9386 views)
Shortcut
Re: [Donna] Integrating CAPTCHA Code [In reply to] Can't Post

Hi Donna

Thanks for that, I did suspect this was the case Frown

I did consider the suggestion about including the enquiry form on the static pages (and changing the extension to of those to .asp accordingly) - unfortunately there are around 1,400 properties on the site and the hosting provider we use has a timeout set for scripts that's always been a problem on this site as it means we can't run the '(re)publish all listings' option as it just times out!

I know that Article manager has a new interface now that would seem to avoid this problem - does the later version of Listings Manager work the same way?
Kerry


Donna
Staff / Moderator


Aug 22, 2008, 10:24 AM

Post #4 of 10 (9322 views)
Shortcut
Re: [kezza] Integrating CAPTCHA Code [In reply to] Can't Post

Hi Kerry,

Listings Manager isn't likely to have that particular update made. However, CMS Builder would be a good fit in this case -- it can already do everything that Listings Manager can.. and a lot more. :) You'd need to find a PHP-based contact script rather than ASP, but other than that, it would probably fit your needs pretty well.

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


kezza
User

Aug 22, 2008, 10:47 AM

Post #5 of 10 (9320 views)
Shortcut
Re: [Donna] Integrating CAPTCHA Code [In reply to] Can't Post

Thanks for that Donna but I can't see my client willing to invest in the time it would take me to move everything across to CMS builder, especially as it's only to try and integrate some CAPTCHA code. I guess he'll just have to suffer the spam!
Kerry


NicolasAllan
User

Aug 26, 2008, 7:08 AM

Post #6 of 10 (9075 views)
Shortcut
Re: [kezza] Integrating CAPTCHA Code [In reply to] Can't Post

Hello kerry,
I eliminated spam and all email hassles by using a form-creation site at...
... http://www.formdesk.com/
This gives you a url to access the form via a link on your web pages. That link can pick up info from the Listing Manager dbase.

Might be worth a look.

I am developing my own site - and it shows a sample form at ...
... http://www.database-templates.com/faq-home.htm#
Clients like this one as it has a graphic background.
Click on " ... email form... " in the list...

Nick


Oakweb
Novice

Aug 28, 2008, 10:41 AM

Post #7 of 10 (8911 views)
Shortcut
Re: [kezza] Integrating CAPTCHA Code [In reply to] Can't Post

If anyone is interested, I have included a CAPTCHA facility on a listings manager recruitment site http://www.nova-recruitment.com/cgi-bin/listman/exec/search.cgi?view=11&template=_publish_listing_apply.html using an additional template and a Dreamweaver extension I got from http://www.hotdreamweaver.com/.

Mine is in PHP but there is an ASP version as well

Hope this helps


AussieT
User

Sep 2, 2008, 4:28 PM

Post #8 of 10 (8681 views)
Shortcut
Re: [Donna] Integrating CAPTCHA Code [In reply to] Can't Post


In Reply To
Hi Kezza,

Yep, the basic problem here is that the file is a .cgi, not a .asp -- regardless of what you name the template (heck, you could call it enquiry.blargh) the actual filename that you're hitting is search.cgi -- it's just pulling the details from the template.

There isn't really a way around this. Dynamic pages have to have the extension of the type of file they use -- you'd have the same problem if it were php... or anything other than asp. We do have a script (PublishCron) that allows you to generate a static page from a dynamic query, but if you want that on individual pages, that gets a little trickier as you'd have to setup a publishcron entry for every page... and that sort of defeats the purpose of having dynamically generated pages. :)

Or, if you had the enquiry data on the static pages that Realty Manager creates (l00397.html, for example) you could change the extension of that page to asp, and it would work fine. (This is changed in the Setup Options.)

Let me know if that helps at all, or if you have any other questions. :)
-----


I have static html listings generated by the _publish_listing template for example: .../listman/listings/l0706.html .

All these static .html pages have an email enquiry form on them and I would like to add CAPTCHA code to them.

Can you recommend a CAPTCHA code for these pages?

Since the site is now several years old, I would prefer not to change the .html extensions to ASP or PHP since I assume I would then lose any search engine rankings I have for these pages.



(This post was edited by AussieT on Sep 2, 2008, 9:05 PM)


AussieT
User

Sep 6, 2008, 9:50 PM

Post #9 of 10 (7464 views)
Shortcut
Re: [kezza] Integrating CAPTCHA Code [In reply to] Can't Post

I did not get a reply to this questions, so I am asking it again.

I have static html listings that are generated by the _publish_listing template for example: .../listman/listings/l0706.html .

All these static .html pages have an email enquiry form on them and I would like to add CAPTCHA code to them.


Can anyone help with some suggestions for doing this?

I noticed that the issues experienced in this thread were for a search query, is this easier to implement on the _publish_listing template and the resulting static pages? Or is it still a problem?

Has anyone successfully implemented CAPTCHA on their template pages?

Since the site is now several years old, I would prefer not to change the .html extensions to ASP or PHP since I assume I would then lose any search engine rankings I have for these pages.


Jake
Staff / Moderator


Sep 7, 2008, 10:14 PM

Post #10 of 10 (7222 views)
Shortcut
Re: [AussieT] Integrating CAPTCHA Code [In reply to] Can't Post

Hi AussieT,

To use CAPTCHA code on your templates, all you'll need to do is add the relevant code to your "_publish_listing.html" template, and then republish your listings. The file extension required will depend on the type of CAPTCHA script you're using - you should be able to find one that works on regular HTML pages. Failing that, you can always use an <iframe> tag to bring in a .php or .asp file for this form, which will preserve your existing file names.

I hope that helps!
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4