[PLUGIN] Contact for Bludit 2.6

Post Reply
User avatar
Fred
Legend Bludit
Posts: 303
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Mon Aug 10, 2015 4:33 pm

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
Last edited by Fred on Sat May 05, 2018 9:23 pm, edited 26 times in total.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
Fred
Legend Bludit
Posts: 303
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Tue Aug 11, 2015 9:50 am

Done!

@Diego, I think you should integrate the token system Bludit on all forms natively..
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 674
Joined: Sat May 16, 2015 2:53 pm
Contact:

Tue Aug 11, 2015 11:33 pm

Fred wrote:Done!

@Diego, I think you should integrate the token system Bludit on all forms natively..
Yeap, I will do it.
User avatar
Edi
Site Admin
Posts: 1199
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Aug 12, 2015 12:35 am

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?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
diego
Site Admin
Posts: 674
Joined: Sat May 16, 2015 2:53 pm
Contact:

Wed Aug 12, 2015 10:32 pm

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
User avatar
Edi
Site Admin
Posts: 1199
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Thu Aug 13, 2015 2:30 am

Thank you!
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Alvin
Jr. Bludit
Posts: 5
Joined: Tue Nov 10, 2015 1:17 pm

Thu Nov 12, 2015 4:20 pm

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?
User avatar
Fred
Legend Bludit
Posts: 303
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Thu Nov 12, 2015 11:26 pm

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.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
Alvin
Jr. Bludit
Posts: 5
Joined: Tue Nov 10, 2015 1:17 pm

Fri Nov 13, 2015 4:11 am

Mr. Fred, I have file Indonesian Languange for Contact Plugin
click the link below :
User avatar
Fred
Legend Bludit
Posts: 303
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Fri Nov 13, 2015 1:32 pm

Thank a lot, translation added!
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
Post Reply