Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- GroupManagersForum
- Messages
Search
Re: Embedding a sign up form in my Squarespace website
On Thu, Nov 26, 2020 at 09:41 AM, I wrote:
Unfortunately, groups.io does not parse the From: line of a +subscribe email for a Display Name. If present, it will glean one from the confirmation email.Well Larry, watch me backtrack. For testing, I was removing and re-adding a subscription to my test group for an account that already had a profile. In such a case, the Display Name in the profile is repeatedly applied to all new subscriptions and is never gleaned from a message header.?When I actually deleted that account entirely and then used the formmail to send a +subscribe request, the Display Name was populated as intended. ? New code appended below for those who wish to do this. Those who only wish to get the email address can do so by removing the text highlighted in red. Again, if the associated account already has a groups.io profile, that profile Display Name will not be overwritten, even if it's blank. Regards, Bruce <div>
<?php
//if "email" variable is filled out, send email
if (isset($_REQUEST['email']))? {
? ??
? ? if (isset($_REQUEST['name']))? {
? ? ? ? $email = "From: " . $_REQUEST['name'] . " <" . $_REQUEST['email'] . ">";
? ? } else {
? ? ? ? $email = "From: " . $_REQUEST['email'];
? ? }
? ??
? ? mail("GROUPNAME[email protected]", "Subscribe", "Subscribe", $email);
? ? echo '<span style="text-align:center;font-weight:bold;"><p><br /><br />Your email address has been submitted.<br /><br /></p><h2>YOU ARE NOT DONE YET!</h2><p><br />Check for a confirmation email from groups.io and reply to it.</p></span>';?
}? else? {
//if "email" variable is not filled out, display the form
?>
?
<div class="classictemplate template" style="display: block;">
<style type="text/css">
? #groupsio_embed_signup input {border:1px solid #999; -webkit-appearance:none;}
? #groupsio_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
? #groupsio_embed_signup .email {display:block; padding:8px 0; margin:0 4% 10px 0; text-indent:5px; width:58%; min-width:130px;}
? #groupsio_embed_signup {
? ? background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;?
? }
? #groupsio_embed_signup .button {
?
? ? ? width:25%; margin:0 0 10px 0; min-width:90px;
? ? ? background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
? ? ? background-repeat: repeat-x;
? ? ? border-color: #245580;
? ? ? text-shadow: 0 -1px 0 rgba(0,0,0,.2);
? ? ? box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
? ? ? padding: 5px 10px;
? ? ? font-size: 12px;
? ? ? line-height: 1.5;
? ? ? border-radius: 3px;
? ? ? color: #fff;
? ? ? background-color: #337ab7;
? ? ? display: inline-block;
? ? ? margin-bottom: 0;
? ? ? font-weight: 400;
? ? ? text-align: center;
? ? ? white-space: nowrap;
? ? ? vertical-align: middle;
? ? }
</style>
<div id="groupsio_embed_signup">
<form onkeypress="return event.keyCode != 13;" method="post">
? ? <div id="groupsio_embed_signup_scroll">
? ? ? <label for="email" id="templateformtitle">Subscribe to our group</label>
? ? ? <input type="email" value="" name="email" id="email" placeholder="email address" required="">
? ? ? <div> </div>??
? ? ? <input name="name" id="name" placeholder="full name">
? ? ? <div> </div>
? ? <input type="submit" value="Subscribe" name="subscribe" id="groupsio-embedded-subscribe" class="button">
? </div>
</form>
</div>
</div>
?
<?php
? }
?>
?
</div>
Check out the groups.io Help Center?and?groups.io Owners Manual |
Re: Embedding a sign up form in my Squarespace website
On Thu, Nov 26, 2020 at 09:11 AM, Laurence Marks wrote:
Bruce, that's very impressive. It even works for free groups without API access. I may borrow it when our group's website moves to a new platform where PHP is supported.Thanks Larry. I have uploaded it to the GMF Files area as an example. It could be cleaned up a little, as the form definition still contains some fields and attributes that aren't really necessary to create an outgoing email. A full implementation would also benefit from the addition of Just one thought. How about soliciting the user's name or screen-name as well and forming the sender email address in the long form,Unfortunately, groups.io does not parse the From: line of a +subscribe email for a Display Name. If present, it will glean one from the confirmation email. Regards, Bruce Check out the groups.io Help Center?and?groups.io Owners Manual |
Re: Embedding a sign up form in my Squarespace website
Christos wrote "Maybe not all is lost, it could be even simpler than the PHP script by using just HTML; add a form with an email text box and a button, and have the button invoke a regular HTML mailto: link with the textbox's email as the from, and the rest (to group+subscribe, some or blank subject) hardcoded." This works, but opens the user's Mail User Agent and doesn't directly send the message. You would have to introduce it with a message like "Click [link/button] to send an email to join the group" so the user isn't startled. (Otherwise, nervous users could suspect they had been hacked.) Here's a sample complete HTML that does this:? <a mailto:groups.io/g/mygroup+subscribe&subject=Please subscribe me to mygroup&body=Please subscribe me to mygroup. Thanks!>Send an email to subscribe.</a> This displays a message "Send an email to subscribe." and initiates an email. The email contains some content that will be ignored, but provides a certain comfort level to people unfamiliar with computers. Larry |
Re: Embedding a sign up form in my Squarespace website
Bruce, that's very impressive. It even works for free groups without API access. I may borrow it when our group's website moves to a new platform where PHP is supported.
Just one thought. How about soliciting the user's name or screen-name as well and forming the sender email address in the long form, User Name <username@...> so the directory and user's post provide better identification? Larry |
Re: Embedding a sign up form in my Squarespace website
Maybe not all is lost, it could be even simpler than the PHP script by using just HTML; add a form with an email text box and a button, and have the button invoke a regular HTML mailto: link with the textbox's email as the from, and the rest (to group+subscribe, some or blank subject) hardcoded.
toggle quoted message
Show quoted text
On 2020-11-25 17:28, Loneliness Lab via groups.io wrote:
So it transpires?Squarespace doesn't supports PHP which is a real shame as that seemed like the perfect solutions for our needs |
Re: Navigation buttons missing
#directory
Bruce - You're amazing! My navigation buttons at the bottom of the screen are back! All I did was switch from infinite scroll to 100 per page, which is fascinating considering the infinite scroll page used to result in four pages (not one really long page as one would expect)...and now it's down to two pages :)
(And I was mistaken before...when it was stuck on the first page, it was member names A-F, not A-C.) Thank you!! Jean |
Re: Navigation buttons missing
#directory
On Wed, Nov 25, 2020 at 09:34 PM, Jean Guevara wrote:
This is definitely new. We all had no problem before going from one page of our directory to the next, but now some of us cant get past the first page. Up top it says "showing 199 of 199 members," but it's not...it's only showing those with names beginning with letters A-C...with no buttons at the bottom to move to the next page.Jean -- Something definitely funny going on. I don't see a problem with the navigation when set to 100 items per page. I highly recommend that you turn off infinite scroll in your account preferences ( /account?page=prefs ). Seems like every time a problem like this arises, infinite scroll is to blame. If you ask me, that feature is just not ready for prime time. For myself, the Directory page is no longer displaying the blue menu bar at the top of the page. Regards, Bruce Check out the groups.io Help Center?and?groups.io Owners Manual |
Re: Navigation buttons missing
#directory
This is definitely new. We all had no problem before going from one page of our directory to the next, but now some of us cant get past the first page. Up top it says "showing 199 of 199 members," but it's not...it's only showing those with names beginning with letters A-C...with no buttons at the bottom to move to the next page. I just looked at the GMF directory page, and it's the same for me there...no navigation buttons at the bottom to go to the next page. I took a screen shot of the bottom of the GMF directory page...if it comes across okay...
|
Re: Navigation buttons missing
#directory
On Wed, Nov 25, 2020 at 08:41 PM, Jean Guevara wrote:
Up until recently we have been able to navigate through the several pages of our group¡¯s directory. ?Now only the first page shows up with no navigation buttons at the bottom of the page to proceed to the next page. ?The moderators are noticing this on several different browsers (Safari, Firefox, to name a few) but not on all of them. ?Is this a??bug or a server/browser problem? ?Is anyone else having this problem? ?We first noticed the problem yesterday, Nov. 24. ?Refreshing the page or closing the program and reopening it do not make any difference.I don't see the problem with Safari. You are talking about the member directory, right? Seeing that depends on whether or not you are in the directory. It also depends whether you have enabled the directory and for whom. It puzzles me that you only see the first page of the directory. Does the number of profiles and pagination match? It is possible that quite a few members may have removed their profile in the directory. Frances ? -- GMF wiki for help.?Search box at the top of each page. Check out the?new groups.io Help Center??Use your browser to search or download?the PDF. |
Navigation buttons missing
#directory
Up until recently we have been able to navigate through the several pages of our group¡¯s directory. ?Now only the first page shows up with no navigation buttons at the bottom of the page to proceed to the next page. ?The moderators are noticing this on several different browsers (Safari, Firefox, to name a few) but not on all of them. ?Is this a??bug or a server/browser problem? ?Is anyone else having this problem? ?We first noticed the problem yesterday, Nov. 24. ?Refreshing the page or closing the program and reopening it do not make any difference.
Thanks for any help you can give. Jean |
Re: Embedding a sign up form in my Squarespace website
On Wed, Nov 25, 2020 at 06:14 PM, Chris Jones wrote:
Can I ask why?I may be speaking out of turn, but it sounds like the goal is to use a Basic GIO group as an email listserve only, while making it appear to be hosted on the local web server. In such a case it might be desirable to avoid users ever seeing the groups.io domain in their browser's address bar. Regards, Bruce Check out the groups.io Help Center?and?groups.io Owners Manual |
Re: Embedding a sign up form in my Squarespace website
¿ªÔÆÌåÓýOn 2020-11-25 16:19,
Bruce Bowman via groups.io wrote:
Rather than use the API to directly subscribe, you could use PHP to capture the email entry from the form and send a message from that address to the group's +subscribe address. Yes, like I mentioned the nice advantage of this is it still allows the GIO normal signup process to take place, because all we are really doing is we are saving the applicant from writing and sending the -subscribe email or going to the group's GIO page and clicking on Join, otherwise nothing else changes and security is not compromised whatsoever. Many thanks for providing the script code! Cheers, Christos |
Re: Embedding a sign up form in my Squarespace website
Thanks everyone for your responses.
toggle quoted message
Show quoted text
Just to add I am not a web developer and playing middle (wo)mxn and so please excuse me if termilology isn't 100% accurate Sounds like bypassing Groups IO sign up is not advisable for reasons explained, however current sign-up via the Groups IO homepage for our group is a bit of a blocker to our users, so I am trying to find the best way to embed a very simple email sign up form to our webpage, just as ECF have. Bruce, this suggestion sounds along the lines of what I'd like to achieve - thank you. I will share with our developer and come back with any q's Thanks again everyone On Wed, Nov 25, 2020 at 09:19 PM, Bruce Bowman wrote: After thinking about this some more, I'm beginning to believe we're making this harder than necessary. |
Re: Embedding a sign up form in my Squarespace website
On Wed, Nov 25, 2020 at 08:01 PM, Christos G. Psarras wrote:
I honestly think that's a bad idea, and I personally wouldn't recommend doing that, as it bypasses GIO's group approval mechanisms...I very much second that; I don't think doing it that way is right from either the potential member's point of view or from Groups.io's point of view either.? I also agree with Bruce's comments including the one from? 20th April: It seems simpler to just provide a link to your group home page along with instructions to click the "+Join This Group" button once they arrive. Without your including all sorts of "points to note" with your application form so that applicants know in advance that they are applying for membership of a group hosted by Groups.io; as Bruce alluded the route they (should) take depends on whether they are already Account Holders or not; without that knowlege they could easily find themselves unwittingly setting up a second Account and that could create all sorts of complications later. While having different accounts with different email addresses at their core is a legitimate exercise it has to be done with a full understanding of the confusion that can arise as a result. Should that happen are you in a position to help anyone thus affected? Note that one of these effects is that people find themselves trying to post to other groups using a wrong email address, and you will have no klnowledge of that. Chris |
Re: Embedding a sign up form in my Squarespace website
After thinking about this some more, I'm beginning to believe we're making this harder than necessary.
Rather than use the API to directly subscribe, you could use PHP to capture the email entry from the form and send a message from that address to the group's +subscribe address. Having done so, the person would then only have to check their email for the confirmation email from groups.io and reply to it. The html/PHP below has been tested and it works. Be sure to change GROUPNAME to the name of your group in line 6, then paste it into your page. You will also have to enable PHP on the page, of course. Hope this helps, Bruce <div>
<?php
//if "email" variable is filled out, send email
if (isset($_REQUEST['email']))? {
? ? $email = "From: " . $_REQUEST['email'];
? ? mail("[email protected]", "Subscribe", "Subscribe", $email);
? ? echo '<span style="text-align:center;font-weight:bold;"><p><br /><br />Your email address has been submitted.<br /><br /><h2>YOU ARE NOT DONE YET!</h2><br /><p>Check for a confirmation email from groups.io and reply to it.</p></span>';?
}? else? {
//if "email" variable is not filled out, display the form
?>
?
<div class="classictemplate template" style="display: block;">
<style type="text/css">
? #groupsio_embed_signup input {border:1px solid #999; -webkit-appearance:none;}
? #groupsio_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
? #groupsio_embed_signup .email {display:block; padding:8px 0; margin:0 4% 10px 0; text-indent:5px; width:58%; min-width:130px;}
? #groupsio_embed_signup {
? ? background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;?
? }
? #groupsio_embed_signup .button {
? ? ? width:25%; margin:0 0 10px 0; min-width:90px;
? ? ? background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
? ? ? background-repeat: repeat-x;
? ? ? border-color: #245580;
? ? ? text-shadow: 0 -1px 0 rgba(0,0,0,.2);
? ? ? box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
? ? ? padding: 5px 10px;
? ? ? font-size: 12px;
? ? ? line-height: 1.5;
? ? ? border-radius: 3px;
? ? ? color: #fff;
? ? ? background-color: #337ab7;
? ? ? display: inline-block;
? ? ? margin-bottom: 0;
? ? ? font-weight: 400;
? ? ? text-align: center;
? ? ? white-space: nowrap;
? ? ? vertical-align: middle;
? ? }
</style>
<div id="groupsio_embed_signup">
<form onkeypress="return event.keyCode != 13;" method="post">
? ? <div id="groupsio_embed_signup_scroll">
? ? ? <label for="email" id="templateformtitle">Subscribe to our group</label>
? ? ? <input type="email" value="" name="email" class="email" id="email" placeholder="email address" required="">
? ? <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_5862886679057115531" tabindex="-1" value=""></div>
? ? <div id="templatearchives"></div>
? ? <input type="submit" value="Subscribe" name="subscribe" id="groupsio-embedded-subscribe" class="button">
? </div>
</form>
</div>
</div>
?
<?php
? }
?>
?
</div>
Check out the groups.io Help Center?and?groups.io Owners Manual |
Re: Embedding a sign up form in my Squarespace website
On Wed, Nov 25, 2020 at 01:21 PM, Loneliness Lab wrote:
I want people to be able to sign up directly from our website without first having to go to Groups IO homepage. I honestly think that's a bad idea, and I personally wouldn't recommend doing that, as it bypasses GIO's group approval mechanisms, and the word will go out in their circles and every spammer/scammer will then go to your site and join the group that way**. ?You'd be better off IMO if you do create an HTML script (with a Captcha of course) that allows someone to first "apply" for sign-up, by entering their email and some short info, like what the Pending Membership does now, and then you can approve them, but I wouldn't make it an automatic approval/join as you'll end up with undesirables infiltrating your group, not right away, but soon; they have special apps that scan/probe websites for stuff/holes/scripts like this, so it all takes one to find out and then it quickly spreads like the plague those folks are... The other alternative, if it can be done through the API, is when they enter the info in your site, they are placed in the pending members queue, so then the built-in GIO process takes over, the same thing as if they went to your GIO group page and clicked on Join (or send in a subscribe email); or what the script does, is not to accept them right away, but it would send a subscribe email to the group using the info they provided (same as if the applicant sent that email), so then the normal GIO approval process will take over. (**I may have misunderstood your intent, but I'm assuming you currently screen people who apply/join your group and what you are trying to do now is to allow them to join (not just apply) outside of GIO) Cheers, Christos |
to navigate to use esc to dismiss