Allinta CMS Support - Customers Helping Customers
Allinta CMS Support - Customers Helping Customers
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Allinta CMS
 Allinta CMS Mods
 Delete Old Form Entries
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic   

the_shopkeeper

53 Posts

Posted - 16/10/2007 :  13:34:58  Show Profile  Reply with Quote
This mod allows you to remove form entries from Allinta.
It will remove entries that are older than 30 days and matches similar DB maintenance tools in the Settings/Database Administration page.

Replace the file in your admin folder with the revised version.
The file is called dbAdmin.asp (save a copy first)

Tested with Access but not with MySQL - if anyone downloads it, please let me know all is well with other versions.

Download file from here:

dbAdmin.zip

santo

14 Posts

Posted - 08/04/2008 :  13:30:19  Show Profile  Reply with Quote
thanks for the mod! i'm also working on a guestbook right now. I have created one version already but since it's full of crap of bots that leave a message, i have to change the code.
Go to Top of Page

michaelangelo

17 Posts

Posted - 09/04/2008 :  05:40:13  Show Profile  Reply with Quote
Cool, i was just thinking about this today. All my test posts are cluttering up the form results. Thanks! I'll test it out soon.

What we really need for the Forms is a CAPTCHA mod. I know CAPTCHA is not the be all, end all to form security but I'm sure it would help.
Go to Top of Page

CTDesign

1 Posts

Posted - 15/05/2008 :  05:20:16  Show Profile  Reply with Quote
I've been using CSS and a minimalist mod approach on form.asp to keep bots out of Allinta forms since day one:

STEP 1

Add this to your stylesheet:

#SpamTrap {display: none;}

STEP 2:

Mod form.asp (at about line 46) from this:

if submitted then

loadFormInfo()

else

displayForm()

end if


To this:

if submitted then

If Request.form("SpamTrap") > "" Then
Response.Redirect("/default.asp")
else
loadFormInfo()
end if

else

displayForm()

end if

STEP 3:

Mod form.asp (now at about line 270 after above insertion) from this:

contentBody = contentBody & "</table><input type=""hidden"" name=""submitted"" value=""true""><input type=""hidden"" name=""returnPage"" value=""" &returnPage & """></form>"

to this:


contentBody = contentBody & "</table><textarea id=""SpamTrap"" name=""SpamTrap"" rows=""3"" cols=""4""></textarea><input type=""hidden"" name=""submitted"" value=""true""><input type=""hidden"" name=""returnPage"" value=""" &returnPage & """></form>"

Done!

Cheers :)






Go to Top of Page

santo

14 Posts

Posted - 19/05/2008 :  19:39:46  Show Profile  Reply with Quote
nice work ctdesign!
Go to Top of Page

santo

14 Posts

Posted - 07/07/2008 :  18:44:05  Show Profile  Reply with Quote
i've implemented it, hope it works
Go to Top of Page

RSAdevelopment

18 Posts

Posted - 21/10/2008 :  20:40:55  Show Profile  Reply with Quote
How can this be tested? I just implemented it and the only difference I see is a small text box at the bottom left hand corner. Has anyone got a CAPTCHA mod to work? I have about a dozen clients on allinta and they ALL are asking for help from spam on the forms.
Go to Top of Page

RSAdevelopment

18 Posts

Posted - 27/01/2009 :  21:06:39  Show Profile  Reply with Quote
quote:
Originally posted by the_shopkeeper

This mod allows you to remove form entries from Allinta.
It will remove entries that are older than 30 days and matches similar DB maintenance tools in the Settings/Database Administration page.

Replace the file in your admin folder with the revised version.
The file is called dbAdmin.asp (save a copy first)

Tested with Access but not with MySQL - if anyone downloads it, please let me know all is well with other versions.

Download file from here:

dbAdmin.zip



__________________________________________

I tested with MySQL works like a charm! great job! Also implemented the SpamTrap as instructed above. Also works great! Thx!!!
Go to Top of Page

Michaelangelo2

8 Posts

Posted - 01/05/2010 :  18:13:08  Show Profile  Reply with Quote
I've applied this on my sites as well and it works great. Thanks and please share more if you have them.
Go to Top of Page
  Previous Topic Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Allinta CMS Support - Customers Helping Customers © hertsWEB Community Network Go To Top Of Page
Snitz Forums 2000