👨‍🏫 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
  • 572
    Views
  • 4
    Participants
Last reply from:
PHC_Shion

Online now

Members online
641
Guests online
9,430
Total visitors
10,071

Forum statistics

Threads
2,347,508
Posts
29,353,871
Members
1,097,998
Latest member
rontootx15
Back
Top