Skip to content

sheffieldhackspace/membership-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Membership Form

https://signup.sheffieldhackspace.org.uk/

made/maintained by @alifeee

screenshot of form

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.

Installation

# 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 {} \;

What the form should do:

  • 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
  • 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)

About

Sheffield Hackspace Membership Form

Topics

Resources

Stars

Watchers

Forks

Languages