Make Email Address Mandatory
Replies 11
No plugin require, just edit add.php file and search in:
if(Util::isGETValidEntry('forum', 'topic'))
For add a topic, replace:
by:
For add a reply, seach in:
if(Util::isGETValidEntry('topic', 'reply'))
replace:
by:
Save add.php file and is done.
if(Util::isGETValidEntry('forum', 'topic'))
For add a topic, replace:
if(HTMLForm::checkBot() && HTMLForm::check('trip', 0, 20) && HTMLForm::check('title', 5, 80) && HTMLForm::check('content', 1, 4000) && CSRF::check($token) )
by:
if(HTMLForm::checkBot() && HTMLForm::checkMail($_POST['mail']) && HTMLForm::check('trip', 0, 20) && HTMLForm::check('title', 5, 80) && HTMLForm::check('content', 1, 4000) && CSRF::check($token) )
For add a reply, seach in:
if(Util::isGETValidEntry('topic', 'reply'))
replace:
if(HTMLForm::checkBot() && HTMLForm::check('trip', 0, 20) && HTMLForm::check('content', 1, 4000) && CSRF::check($token) && $error=='' )
by:
if(HTMLForm::checkBot() && HTMLForm::checkMail($_POST['mail']) && HTMLForm::check('trip', 0, 20) && HTMLForm::check('content', 1, 4000) && CSRF::check($token) && $error=='' )
Save add.php file and is done.
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Last modified by Fred on Sunday 25th November 2018, 10:23:00
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Suggested Topics
Alexander Liebrecht
started 🇩🇪 Sammel-Thread für German User von Flatboard Forum
International Discussions
AlexanderLiebrecht
started 🇩🇪 Feedback about Flatboard v1.0 RC 2
General Questions
Tillreetree@fc7e1f5a
started When Tags are set, Cannot set to "No Tag" in the Add/Edit Topic page
Feature Requests
user@48eb91cd
started plugin Please make a reaction plugin
Feature Requests