Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetSimple Contact
#1
Lightbulb 
Hello.

I thought i would share my contact plugin i used on some of my sites so i updated a few things in it and uploaded it.

Features:
  • Call sc_get_component('contact-page-slug') in a component (for example a sidebar component)
    This also fixes multiple form (duplicates) conflicts (like validation/wysihtml5 editor issues) for components.
  • Enable/disable SMTP+SMTP Authentication + configurations
  • Enable/disable frontend attachments (currently max 1 attachment with a 1MB max filesize and [.jpg, .jpeg, .png, .gif, .bmp, .pdf (Portable Document Format; Adobe Acrobat), .doc, .docx (Microsoft Word Document), .ppt, .pptx, .pps, .ppsx (Microsoft PowerPoint Presentation), .odt (OpenDocument Text Document), .xls, .xlsx (Microsoft Excel Document)] file types are allowed)
  • Enable/disable frontend wysihtml5 editor
  • Frontend multi language support (i18n setlang and lang params)
  • Multiple recipients - check the configuration section below for details
  • Frontend validation (jQuery) + backend validation (checks against form fields to make sure nothing more/less was posted than the available/whitelisted fields)
  • Each time the form is loaded it will generate a random token (for validating the form).
    The 5 latest tokens are always available.
  • HackLog - If invalid token is posted or invalid form fields a simple HackLog is emailed to a superadmin email (can be set in the admin panel)
  • reCaptcha service - minimal configuration required
  • OpenCaptcha service - no configuration required
  • Enable/disable captcha services fully
  • Minimal message editor (wysihtml5 editor)
  • Uses PHPMailer class to send mails (planned to add settings to choose smtp/mail)
  • Uses html2text class to send both html & plain text emails
Planned features:
  • Refactor some code to avoid the above mentioned duplicate forms for valid html with multiple forms on the same page (currently if multiple forms are added to the same page they become duplicates and they break the validation, wysihtml5 editor, smileys, etc)
  • Add optional settings for forms
Installation:
  • Unzip the archive into your plugins folder
  • Activate the plugin in the administration area
Upgrading:
  • Just overwrite all the old files with new ones
Configuration: (There are a few settings that must be filled/changed before you can use the plugin)
  • Go to your administration area -> plugins and open Configure GetSimple Contact from the sidebar menu
  • Set the Superadmin name & Superadmin email to your name & email! (only one name and email can and must be set)
  • Set the Recipient names & Recipient emails separated by commas
    Note that names and emails are merged together by their position so here is an example:
    Recipient name:
    Recipient One, Recipient Two
    Recipient email:
    recipient.one@domain.com, recipient.two@domain.com
    They will become:
    Recipient One - recipient.one@domain.com
    Recipient Two - recipient.two@domain.com
  • Enable/disable captcha services
  • OpenCaptcha - if you choose OpenCaptcha you have nothing else to configure from here.
  • reCaptcha - if you choose reCaptcha you have to set public and private keys
  • Set the reCaptcha Public Key to your reCaptcha Public Key
  • Set the reCaptcha Private Key to your reCaptcha Private Key
Note: The reCaptcha keys are set by default. They are made with localhost domain and set to global keys so they should work but it is recommended that you create your own since i will remove them at a later time and maybe add no captcha settings.
Get your own reCaptcha keys here simply with your google account.


In future versions two more captcha services will be added (numeric & text)

Usage:
  • Add [sc_form] tag to any page where you want your form to appear

Frontend images:
       
Backend image:
           

Demo 1: GetSimple Contact
Demo 2: GetSimple Contact

Download: GetSimple Contact 1.3.0 - Download from Extend

Note: I hope you GetSimple guys dont mind about the name (i couldnt really come up with a better one) so just let me know if i should change.

Versions:
  • 1.0.1 - Small fixes
  • 1.0.2 - Added settings to enable/disable reCaptcha
  • 1.1.0:
    - Multiple recipients
    - HackLog - (email to superadmin)
    - OpenCaptcha
    - Enable/disable captcha services
    - Extra form validation (token+white listed fields)
    - Fix UTF-8 Characters in frontend Name, Subject, Message
    - Some really small other things
  • 1.1.1 - Small fixes/additions on token validation
  • 1.1.2 - Small fixes/additions on form fields
  • 1.2.0:
    - Frontend multi language support based on i18n setlang & lang params added
    - Enable/disable frontend wysihtml5 editor
    - wysihtml5 editor smileys
    - Some code has been rewritten
    - Other small changes/fixes/additions
  • 1.2.1:
    - Added sc_get_page_content() (more info above)
    - Small change/addition on captcha template/js
  • 1.2.2 - Previously unchanged version fixed
  • 1.3.0:
    - Added SMTP Configuration (enable/disable/configure from backend)
    - Added frontend attachments (enabled/disable from backend)
    - Small changes/additions on multi language detection
    - Small changes/additions on other parts of the code
Version number explained:
1.0.2

1 - Major update/patch
0 - Minor update/patch
2 - Small/miscellaneous update/patch
Reply


Messages In This Thread
GetSimple Contact - by Kolyok - 2013-10-17, 12:53:41
RE: GetSimple Contact - by Oleg06 - 2013-10-17, 17:13:08
RE: GetSimple Contact - by Kolyok - 2013-10-17, 17:30:54
RE: Контакт GetSimple - by Oleg06 - 2013-10-17, 17:35:45
RE: GetSimple Contact - by Oleg06 - 2013-10-17, 17:45:09
RE: GetSimple Contact - by Kolyok - 2013-10-17, 17:49:19
RE: GetSimple Contact - by Oleg06 - 2013-10-17, 18:12:56
RE: GetSimple Contact - by Kolyok - 2013-10-17, 19:25:32
RE: GetSimple Contact - by Oleg06 - 2013-10-17, 23:41:37
RE: GetSimple Contact - by Kolyok - 2013-10-18, 05:29:34
RE: GetSimple Contact - by Oleg06 - 2013-10-18, 05:56:52
RE: GetSimple Contact - by Kolyok - 2013-10-18, 06:03:30
RE: GetSimple Contact - by Kolyok - 2013-10-18, 23:06:37
RE: GetSimple Contact - by boa - 2013-10-18, 23:23:38
RE: GetSimple Contact - by Kolyok - 2013-10-18, 23:47:28
RE: GetSimple Contact - by boa - 2013-10-19, 00:40:08
RE: GetSimple Contact - by Oleg06 - 2013-10-19, 01:28:33
RE: GetSimple Contact - by griskle - 2013-10-19, 03:23:30
RE: GetSimple Contact - by Oleg06 - 2013-10-19, 04:04:14
RE: GetSimple Contact - by Kolyok - 2013-10-19, 07:57:53
RE: GetSimple Contact - by griskle - 2013-10-19, 08:30:30
RE: GetSimple Contact - by Kolyok - 2013-10-19, 10:37:44
RE: GetSimple Contact - by boa - 2013-10-19, 14:41:59
RE: GetSimple Contact - by Oleg06 - 2013-10-19, 14:57:17
RE: GetSimple Contact - by Kolyok - 2013-10-19, 15:12:36
RE: GetSimple Contact - by Oleg06 - 2013-10-19, 15:54:39
RE: GetSimple Contact - by Kolyok - 2013-10-19, 18:10:54
RE: GetSimple Contact - by Oleg06 - 2013-10-20, 04:47:24
RE: GetSimple Contact - by dad113 - 2013-10-20, 19:45:29
RE: GetSimple Contact - by Kolyok - 2013-10-20, 06:14:04
RE: GetSimple Contact - by ReBo - 2013-10-20, 22:21:41
RE: GetSimple Contact - by phpman - 2013-10-21, 00:30:32
RE: GetSimple Contact - by Kolyok - 2013-10-21, 04:28:36
RE: GetSimple Contact - by ReBo - 2013-10-21, 06:42:55
RE: GetSimple Contact - by Oleg06 - 2013-10-21, 05:00:13
RE: GetSimple Contact - by Kolyok - 2013-10-21, 05:09:45
RE: GetSimple Contact - by Kolyok - 2013-10-21, 06:46:53
RE: GetSimple Contact - by Oleg06 - 2013-10-21, 07:16:32
RE: GetSimple Contact - by Kolyok - 2013-10-21, 07:22:02
RE: GetSimple Contact - by dad113 - 2013-10-21, 19:45:37
RE: GetSimple Contact - by DimaYakovlev - 2013-10-21, 20:23:05
RE: GetSimple Contact - by dad113 - 2013-10-21, 20:46:42
RE: GetSimple Contact - by Kolyok - 2013-10-21, 16:04:40
RE: GetSimple Contact - by DimaYakovlev - 2013-10-21, 16:29:31
RE: GetSimple Contact - by dad113 - 2013-10-21, 18:27:24
RE: GetSimple Contact - by Kolyok - 2013-10-21, 16:32:26
RE: GetSimple Contact - by DimaYakovlev - 2013-10-21, 16:37:51
RE: GetSimple Contact - by Kolyok - 2013-10-21, 20:00:46
RE: GetSimple Contact - by Oleg06 - 2013-10-22, 00:57:44
RE: GetSimple Contact - by dad113 - 2013-10-24, 14:18:42
RE: GetSimple Contact - by Kolyok - 2013-10-22, 01:52:10
RE: GetSimple Contact - by dad113 - 2013-10-22, 08:28:00
RE: GetSimple Contact - by Kolyok - 2013-10-22, 14:05:27
RE: GetSimple Contact - by boa - 2013-10-22, 14:54:37
RE: GetSimple Contact - by Oleg06 - 2013-10-22, 14:59:53
RE: GetSimple Contact - by Kolyok - 2013-10-22, 15:35:42
RE: GetSimple Contact - by skymonk - 2013-10-22, 22:22:09
RE: GetSimple Contact - by Oleg06 - 2013-10-23, 00:32:31
RE: GetSimple Contact - by skymonk - 2013-10-24, 03:52:14
RE: GetSimple Contact - by Kolyok - 2013-10-23, 03:44:12
RE: GetSimple Contact - by boa - 2013-10-23, 04:03:06
RE: GetSimple Contact - by Kolyok - 2013-10-23, 12:33:52
RE: GetSimple Contact - by yojoe - 2013-10-24, 00:22:30
RE: GetSimple Contact - by Kolyok - 2013-10-24, 01:03:52
RE: GetSimple Contact - by Oleg06 - 2013-10-24, 02:13:50
RE: GetSimple Contact - by boa - 2013-10-24, 03:18:44
RE: GetSimple Contact - by moronis - 2013-10-24, 08:58:02
RE: GetSimple Contact - by Kolyok - 2013-10-24, 09:29:46
RE: GetSimple Contact - by moronis - 2013-10-24, 09:56:55
RE: GetSimple Contact - by Kolyok - 2013-10-24, 11:28:30
RE: GetSimple Contact - by Kolyok - 2013-10-24, 14:29:11
RE: GetSimple Contact - by dad113 - 2013-10-24, 15:54:50
RE: GetSimple Contact - by Kolyok - 2013-10-24, 16:16:32
RE: GetSimple Contact - by dad113 - 2013-10-24, 16:34:03
RE: GetSimple Contact - by Oleg06 - 2013-10-24, 14:52:01
RE: GetSimple Contact - by Oleg06 - 2013-10-24, 16:09:41
RE: GetSimple Contact - by Kolyok - 2013-10-24, 17:06:44
RE: GetSimple Contact - by dad113 - 2013-10-24, 18:23:22
RE: GetSimple Contact - by Oleg06 - 2013-10-24, 17:59:38
RE: GetSimple Contact - by Kolyok - 2013-10-25, 07:01:53
RE: GetSimple Contact - by evan70 - 2013-10-25, 21:23:14
RE: GetSimple Contact - by mikevador02 - 2013-10-26, 20:15:24
RE: GetSimple Contact - by Kolyok - 2013-10-27, 01:34:36
RE: GetSimple Contact - by mikevador02 - 2013-10-27, 01:47:01
RE: GetSimple Contact - by Kolyok - 2013-10-27, 02:40:36
RE: GetSimple Contact - by Kolyok - 2013-10-28, 01:42:02
RE: GetSimple Contact - by Oleg06 - 2013-10-28, 02:41:00
RE: GetSimple Contact - by Kolyok - 2013-10-28, 03:10:10
RE: GetSimple Contact - by Oleg06 - 2013-10-28, 03:36:28
RE: GetSimple Contact - by ~GW~ - 2013-11-06, 11:41:48
RE: GetSimple Contact - by klowan - 2013-11-08, 07:27:23
RE: GetSimple Contact - by Kolyok - 2013-11-08, 07:38:06
RE: GetSimple Contact - by klowan - 2013-11-08, 07:53:28
RE: GetSimple Contact - by Kolyok - 2013-11-08, 09:19:23
RE: GetSimple Contact - by skymonk - 2013-11-12, 23:31:45
RE: GetSimple Contact - by yojoe - 2013-11-22, 06:52:17
RE: GetSimple Contact - by Carlos - 2013-11-22, 07:14:49
RE: GetSimple Contact - by Kolyok - 2013-11-24, 04:24:46
RE: GetSimple Contact - by mklemme - 2013-11-25, 01:14:18
RE: GetSimple Contact - by yojoe - 2013-11-25, 05:48:20
RE: GetSimple Contact - by vasitellapahki - 2014-01-16, 20:17:10
RE: GetSimple Contact - by dignityinside - 2014-01-20, 00:51:46
RE: GetSimple Contact - by moonette - 2014-01-25, 05:29:50
RE: GetSimple Contact - by twenky - 2014-02-01, 23:27:03
RE: GetSimple Contact - by Terminus - 2014-03-07, 17:53:15
RE: GetSimple Contact - by Kolyok - 2014-03-17, 21:22:38
RE: GetSimple Contact - by nikrodk - 2014-09-08, 01:23:39
RE: GetSimple Contact - by boa - 2014-03-27, 03:11:14
RE: GetSimple Contact - by abaer - 2014-04-03, 17:42:08
RE: GetSimple Contact - by xxdex - 2014-04-05, 19:56:36
RE: GetSimple Contact - by avatsur - 2014-05-17, 20:00:48
RE: GetSimple Contact - by rpetges - 2014-06-24, 05:09:40
RE: GetSimple Contact - by Oleg06 - 2014-07-10, 16:37:51
RE: GetSimple Contact - by c0mp0ser - 2014-07-10, 16:43:54
RE: GetSimple Contact - by Oleg06 - 2014-07-10, 17:27:31
RE: GetSimple Contact - by c0mp0ser - 2014-07-10, 17:29:07
RE: GetSimple Contact - by c0mp0ser - 2014-07-10, 19:04:30
RE: GetSimple Contact - by lukinhasb - 2014-07-17, 08:30:39
RE: GetSimple Contact - by Oleg06 - 2014-08-25, 22:25:42
RE: GetSimple Contact - by moped - 2014-09-12, 00:09:23
RE: GetSimple Contact - by nikrodk - 2014-09-12, 00:16:28
RE: GetSimple Contact - by moped - 2014-09-12, 17:57:28
RE: GetSimple Contact - by nikrodk - 2014-09-12, 19:29:25
RE: GetSimple Contact - by R.Muetterlein - 2014-10-06, 17:58:38
RE: GetSimple Contact - by moped - 2014-10-07, 04:21:13
RE: GetSimple Contact - by R.Muetterlein - 2014-10-07, 15:18:32
RE: GetSimple Contact - by Cavetroll - 2015-04-06, 21:18:45
RE: GetSimple Contact - by moped - 2015-04-08, 21:54:40
RE: GetSimple Contact - by Cavetroll - 2015-04-23, 20:57:33
RE: GetSimple Contact - by moped - 2015-04-28, 17:37:39
RE: GetSimple Contact - by Cavetroll - 2015-04-29, 17:51:03
RE: GetSimple Contact - by maco-nl - 2015-04-12, 21:06:56
RE: GetSimple Contact - by sashozs - 2015-06-20, 09:44:08
RE: GetSimple Contact - by moped - 2015-06-23, 17:40:11
RE: GetSimple Contact - by Everyone - 2015-06-29, 07:59:36
RE: GetSimple Contact - by Oleg06 - 2015-06-29, 21:17:55
RE: GetSimple Contact - by Oleg06 - 2015-07-18, 23:54:07
RE: GetSimple Contact - by moped - 2015-07-20, 16:46:42
RE: GetSimple Contact - by Oleg06 - 2015-07-20, 17:48:33
RE: GetSimple Contact - by Oleg06 - 2015-07-20, 17:43:47
RE: GetSimple Contact - by kazu2015 - 2015-08-10, 20:12:28
RE: GetSimple Contact - by moped - 2015-08-11, 18:59:42
RE: GetSimple Contact - by korey.badgley - 2015-09-15, 05:09:53
RE: GetSimple Contact - by ckalapodas - 2015-09-29, 19:01:21
RE: GetSimple Contact - by moped - 2015-10-02, 19:30:36
RE: GetSimple Contact - by Oleg06 - 2015-10-03, 22:36:17
RE: GetSimple Contact - by flynn - 2015-10-15, 00:49:49
RE: GetSimple Contact - by moped - 2015-10-16, 17:32:44
RE: GetSimple Contact - by flynn - 2015-10-20, 18:19:02
RE: GetSimple Contact - by Merouane CRMK - 2015-10-26, 23:05:52
RE: GetSimple Contact - by datiswous - 2015-10-26, 23:17:02
RE: GetSimple Contact - by Merouane CRMK - 2015-10-26, 23:25:48
RE: GetSimple Contact - by datiswous - 2015-10-26, 23:47:20
RE: GetSimple Contact - by Merouane CRMK - 2015-10-27, 02:48:36
RE: GetSimple Contact - by acsro - 2015-12-28, 08:58:54
RE: GetSimple Contact - by Lars Lind - 2016-01-04, 01:51:21
RE: GetSimple Contact - by SoHo22 - 2016-03-16, 20:25:25
RE: GetSimple Contact - by SoHo22 - 2016-03-16, 20:34:12
RE: GetSimple Contact - by viva47 - 2016-04-01, 20:24:22
RE: GetSimple Contact - by Oleg06 - 2016-04-02, 00:44:16
RE: GetSimple Contact - by Lucianp - 2016-04-13, 06:49:23
RE: GetSimple Contact - by pmallet - 2017-03-11, 07:55:07
RE: GetSimple Contact - by animas - 2017-04-28, 20:39:06
RE: GetSimple Contact - by Oleg06 - 2017-04-28, 21:15:08
RE: GetSimple Contact - by animas - 2017-04-29, 03:06:53
RE: GetSimple Contact - by animas - 2017-04-29, 15:53:20
OpenCaptcha - by harley-peter - 2017-11-29, 05:08:08
RE: GetSimple Contact - by harley-peter - 2017-11-29, 20:29:56
RE: GetSimple Contact - by homeant - 2018-09-23, 01:03:18
RE: GetSimple Contact - by Oleg06 - 2018-09-24, 00:51:06
RE: GetSimple Contact - by EA999 - 2018-10-23, 18:38:19
RE: GetSimple Contact - by Felix - 2019-09-30, 00:48:03
RE: GetSimple Contact - by pmallet - 2022-12-07, 07:56:31
RE: GetSimple Contact - by multicolor - 2022-12-07, 10:02:48



Users browsing this thread: 1 Guest(s)