👨‍🏫 Tutorial Html auto subscibe and unsubscribe...

cyrex3000

Grasshopper
Basic HTML form

If you want to put a form on your website which allows someone to subscribe to a riseup.net list, here is a simple HTML snippet which will do the job:

<FORM ACTION="You do not have permission to view the full content of this post. Log in or register now." METHOD="POST">
<B>Email:</B>
<INPUT NAME="email" SIZE="30">
<INPUT TYPE="hidden" NAME="list" VALUE="listname">
<INPUT TYPE="hidden" NAME="action" VALUE="subrequest">
<INPUT TYPE="submit" NAME="action_subrequest" VALUE="Subscribe">
</FORM>

NOTE: replace listname with the name of your list. For example, if your list was anarchism101@lists.riseup.net, replace listname with anarchism101. Also, the action must be use SSL (ie ) for the form to work.

Here is an example unsubscribe form:

<FORM ACTION="You do not have permission to view the full content of this post. Log in or register now." METHOD="POST">
<B>Email:</B>
<INPUT NAME="email" SIZE="30">
<INPUT TYPE="hidden" NAME="list" VALUE="listname">
<INPUT TYPE="hidden" NAME="action" VALUE="sigrequest">
<INPUT TYPE="submit" NAME="action_sigrequest" VALUE="Unsubscribe">
</FORM>

 

About this Thread

  • 3
    Replies
  • 443
    Views
  • 4
    Participants
Last reply from:
PHC_Shion

Trending Topics

Online now

Members online
321
Guests online
1,256
Total visitors
1,577

Forum statistics

Threads
2,274,129
Posts
28,953,792
Members
1,235,092
Latest member
elliot2
Back
Top