Make Email Address Mandatory
![](https://flatboard.org/uploads/avatars/generates/0a742a813x50dot.png)
Replies 11
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
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 😫.
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
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
![ibykus](https://flatboard.org/uploads/avatars/generates/98dfd2043x50dot.png)
ibykus@2b2c01fe
started Adding new forum overwrites existing forum
Bug reports
![12b](https://flatboard.org/uploads/avatars/generates/9dd44428ex50dot.png)
12b@a01d0635
started todolist remove google dependency
Feature Requests
![](https://flatboard.org/uploads/avatars/generates/516f65a69x50dot.png)
Fan#17562
started solved What is the notification center?
General Questions
![Asdd](https://flatboard.org/uploads/avatars/generates/5ea1343bbx50dot.png)
Asdd@4eef71a6
started change these or i will hate flatboard forever
General Questions