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

Trending Topics

Online now

Members online
413
Guests online
5,552
Total visitors
5,965

Forum statistics

Threads
2,326,650
Posts
29,230,485
Members
1,166,357
Latest member
chaszie
Back
Top