Page 1 of 10

[PLUGIN] Contact for Bludit 2.6

Posted: Mon Aug 10, 2015 4:33 pm
by Fred
Contact v2.6
This plugin add a contact form to your Bludit cms.

Generate and store a unique token which can be used to help prevent CSRF attacks and the form check the value token.

The form is added below the content of the page you have set in the plugin.

Is possible to custom the form, for this copy/paste contact/layout/contact.php to themes/YOUR_THEME/php/ and edit, this easy?

With v.0.5, it's possible to custom css, copy/paste contact/layout/contact.css to themes/YOUR_THEME/css/ folder.

Image

Download 2016/01/25 - Version 1.0.1: contact.zip (5 KB)
  • Compatibilty update with Bludit 1.0.1
2015/12/07 - Version 0.5: contact.zip (5 KB)
  • Code clarification for more compatibilty with Bludit 0.7
  • Add reset button to layout form.
  • Add custom css
2015/11/13 - Version 0.4: contact-0.4.zip (5 KB)
  • Ready to Bludit 0.6
2015/08/11 - Version 0.3: contact-0.3.zip (5 KB)
  • Initial version

Re: [PLUGIN] Contact v0.3

Posted: Tue Aug 11, 2015 9:50 am
by Fred
Done!

@Diego, I think you should integrate the token system Bludit on all forms natively..

Re: [PLUGIN] Contact v0.3

Posted: Tue Aug 11, 2015 11:33 pm
by diego
Fred wrote:Done!

@Diego, I think you should integrate the token system Bludit on all forms natively..
Yeap, I will do it.

Re: [PLUGIN] Contact v0.3

Posted: Wed Aug 12, 2015 12:35 am
by Edi
Fred wrote:Generate and store a unique token which can be used to help prevent CSRF attacks and the form check the value token.
How has this to be done?

Re: [PLUGIN] Contact v0.3

Posted: Wed Aug 12, 2015 10:32 pm
by diego
Edi wrote:
Fred wrote:Generate and store a unique token which can be used to help prevent CSRF attacks and the form check the value token.
How has this to be done?
1- Generate a random key/hash
2- Save the key on the user session
3- Insert the key on the form, in a hidden input
4- When the user send the form, you need to compare the KEY from the session with the key from the FORM.

:D

Re: [PLUGIN] Contact v0.3

Posted: Thu Aug 13, 2015 2:30 am
by Edi
Thank you!

Re: [PLUGIN] Contact v0.3

Posted: Thu Nov 12, 2015 4:20 pm
by Alvin
Fred wrote:Contact v0.3
This plugin add a contact form to your Bludit cms.
Is possible to custom the form, for this copy/paste contact/layout/contact.php to themes/YOUR_THEME/php/ and edit this, easy?

After I copy/paste contact/layout/contact.php to themes/YOUR_THEME/php/

show :
Notice: Undefined variable: _selectPageList in /home/u349174378/public_html/plugins/contact/plugin.php on line 68
Warning: Invalid argument supplied for foreach() in /home/u349174378/public_html/plugins/contact/plugin.php on line 69
what should I do about it, mr. Fred?

Re: [PLUGIN] Contact v0.3

Posted: Thu Nov 12, 2015 11:26 pm
by Fred
Alvin wrote:what should I do about it, mr. Fred?
Simply update to lastest (V.0.4) the previews version is for Bludit 0.3.

Re: [PLUGIN] Contact v0.4

Posted: Fri Nov 13, 2015 4:11 am
by Alvin
Mr. Fred, I have file Indonesian Languange for Contact Plugin
click the link below :

Re: [PLUGIN] Contact v0.4

Posted: Fri Nov 13, 2015 1:32 pm
by Fred
Thank a lot, translation added!