https://signup.sheffieldhackspace.org.uk/
made/maintained by @alifeee
This form "simply" sends an email with the details to the trustee email. The email manager is then responsible for furthering the information into the membership management system.
# install nginx…
# copy config
sudo cp signup.conf /etc/nginx/sites-available/signup.conf
sudo ln -s /etc/nginx/sites-available/signup.conf /etc/nginx/sites-enabled/signup.conf
sudo nginx -t
sudo systemctl restart nginx.service
# set up mail
cp .env.example .env
nano .env
# set up log folder
sudo chown www-data:www-data submissions/
# set up cron job to delete logs in log folder
crontab -e
# 0 4 * * * find ./submissions -type f -mtime +13 -exec rm {} \;- form should
- check that required entries are filled (
if(empty($_POST['name'])) - send an email
- log to a file locally (not long lasting)
- update an RSS feed or other file accessible to check that the emails are sending properly
- check that required entries are filled (
- form should (while)
- explain how to be a keyholder (link to wiki)
- explain what data we need to legally collect
- explain what happens to personal data (privacy policy)
- require consent for processing of personal data
- explain how to ask any questions (link to wiki and email)
- form should (after)
- explain what to do next (pay via bank transfer and link to wiki)
- via content on page
- send confirmation via email (should not block confirmation screen as email might fail)
- explain what to do next (pay via bank transfer and link to wiki)
