PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Problem with link in Thank You email - TinyURL Generator?

s2Member Plugin. A Membership plugin for WordPress®.

Problem with link in Thank You email - TinyURL Generator?

Postby myboxingcoach » August 25th, 2011, 6:12 pm

Hey there

Has anyone experienced a problem with the %%registration_url%% replacement code in their Thank You email? All other replacement codes are working fine, but this one rather than directing the click to the registration page actually just deposits the user to the home page, from where registration is not possible. I have only become aware of this today, bit difficult to know as many could have registered directly after the PayPal payment. Could it be a problem with the generation of the TinyURL? My only option at this stage is to place a hard-coded link, not something I'm desperately eager to do.

Any help would be very much appreciated.

Thanks

PS running S2member Pro. This is the first issue I've encountered, absolutely top product that's given me great value for money :)
User avatar
myboxingcoach
Registered User
Registered User
 
Posts: 2
Joined: August 25, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby kevinsperrine » August 25th, 2011, 10:05 pm

Does the registration url (full url not the tinyurl version) end in a tilde by any chance? I'm having the exact same issue, and I've determined that's the cause.
User avatar
kevinsperrine
Registered User
Registered User
 
Posts: 13
Joined: August 23, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby kevinsperrine » August 26th, 2011, 3:26 pm

It's possible you are having the same problem I had.

http://www.primothemes.com/forums/viewtopic.php?f=4&t=14666
User avatar
kevinsperrine
Registered User
Registered User
 
Posts: 13
Joined: August 23, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Cristián Lávaque » August 29th, 2011, 11:59 am

myboxingcoach wrote:Hey there

Has anyone experienced a problem with the %%registration_url%% replacement code in their Thank You email? All other replacement codes are working fine, but this one rather than directing the click to the registration page actually just deposits the user to the home page, from where registration is not possible. I have only become aware of this today, bit difficult to know as many could have registered directly after the PayPal payment. Could it be a problem with the generation of the TinyURL? My only option at this stage is to place a hard-coded link, not something I'm desperately eager to do.

Any help would be very much appreciated.

Thanks

PS running S2member Pro. This is the first issue I've encountered, absolutely top product that's given me great value for money :)


Thank you for the kudos! :)

I received your email with more info about the problem, too.

I am running S2Member Pro. I have a set up integration with PayPal (not using ProForms.) Following successful payment via PayPal, the user is shown a dialogue box and then redirected to the WordPress user registration page. At the same time, the 'Thank You' email is sent containing a link (live for 3 days) that enables the user to gain access to the WordPress registration page. I assume that there are parameters that would allow the appropriate level of membership to be applied.

Unfortunately the link has ceased to work, depositing the user to the site homepage rather than the user registration page. I am unable to identify exactly when the email link stopped working, although can confirm that when the process went live on 18th July it was working appropriately.


The registration link sent by email does expire. Still, if the user was returned to the website after payment, s2Member set some cookies in his browser that will let him register with the level he paid for. The registration form can be found here /wp-login.php?action=register

If you feel he needs a new registration link, you can generate one from here: WP Admin -> s2Member -> PayPal Buttons -> PayPal Member Registration Access Links

I hope this helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with link in Thank You email - TinyURL Generator

Postby myboxingcoach » August 29th, 2011, 3:34 pm

kevinsperrine wrote:Does the registration url (full url not the tinyurl version) end in a tilde by any chance? I'm having the exact same issue, and I've determined that's the cause.


Thanks Kevin. No tilde, but I'll see if Christian's response can play a part in a solution.

Thank you both!
User avatar
myboxingcoach
Registered User
Registered User
 
Posts: 2
Joined: August 25, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Cristián Lávaque » August 29th, 2011, 4:52 pm

You're welcome! Let us know how if you need more help. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with link in Thank You email - TinyURL Generator

Postby swelle » September 30th, 2011, 12:57 am

I'm running free version and just did a couple tests and with each one the tinyurl link in the Thank You email was expired. Got this message when I clicked on it:

Your Link Expired:
Please contact Support if you need assistance.

Is this a mod security issue or is there something else I'm missing? No tilde and I host with iPage.

Thanks in advance :)
User avatar
swelle
Registered User
Registered User
 
Posts: 8
Joined: September 28, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby swelle » September 30th, 2011, 11:18 am

Oh, and one more thing - I was clicking on the links immediately after the fact...not days afterwards where they'd be expired anyway.

THANKS :)
User avatar
swelle
Registered User
Registered User
 
Posts: 8
Joined: September 28, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Cristián Lávaque » October 1st, 2011, 1:41 pm

Thank you for reporting that. I'll notify Jason to look into it.

In the meantime, you may be interested in how to use another URL shortening service: viewtopic.php?f=4&t=1636&p=7331#p7677
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with link in Thank You email - TinyURL Generator

Postby Jason Caldwell » October 1st, 2011, 10:24 pm

Thanks for the heads up on this thread.
Confirmed, this is fixed in the development copy, coming in public release shortly.

* (s2Member) **tinyURL® bug fix**. s2Member's handling of potential failures in the output of tinyURLs, generated by the tinyURL® API; was NOT considering all possibilities. A symptom of this bug was to see URLs in your Signup Confirmation Email (occassionally, upon connection failure to the tinyURL® API, when it was down for whatever reason) starting with: `Error#`. Corrected in this release.

* (s2Member) **URL Shortening API (Preference)**. s2Member now includes a class method dedicated to URL shortening service APIs. Currently, s2Member will use the tinyURL® API first *(i.e. tinyurl.com )*, and then use the Google® URL Shortening API *(i.e. goo.gl )* as a backup when/if the tinyURL® API is down for whatever reason. In this release, a new configurable option is available, which allows advanced site owners to preference the Google® Shortening API over tinyURL®, if they desire. For further details, please check your Dashboard, under: `s2Member -> General Options -> URL Shortening API (Preference)`.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with link in Thank You email - TinyURL Generator

Postby swelle » October 2nd, 2011, 7:10 pm

Thank you, Jason! Greatly appreciate the response.

So, is there anything I can do in the short term to rectify the problem or should I wait for the public release? As of now I'm running regular version but there seems to be more and more compelling evidence for me making the upgrade to Pro :)
User avatar
swelle
Registered User
Registered User
 
Posts: 8
Joined: September 28, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Jason Caldwell » October 3rd, 2011, 10:49 pm

Very welcome. s2Member v111003 is now available:
http://wordpress.org/extend/plugins/s2member/changelog/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with link in Thank You email - TinyURL Generator

Postby swelle » October 4th, 2011, 8:44 am

Awesome - already installed, tested by a couple people and it's working beautifully. Yeah!

I would also like to say that your plugin, feedback, tutorials and support is absolutely top notch. I can't tell you how much coding newbies (like me) appreciate your responsiveness and everything you do. Kudos and thanks again.
User avatar
swelle
Registered User
Registered User
 
Posts: 8
Joined: September 28, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Jason Caldwell » October 8th, 2011, 7:36 pm

Thank you VERY much for the kudos, and you are very welcome. Great to hear that :-)
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with link in Thank You email - TinyURL Generator

Postby dspruyt » October 15th, 2011, 2:21 pm

Cristián Lávaque wrote:
myboxingcoach wrote:Hey there

Has anyone experienced a problem with the %%registration_url%% replacement code in their Thank You email? All other replacement codes are working fine, but this one rather than directing the click to the registration page actually just deposits the user to the home page, from where registration is not possible. I have only become aware of this today, bit difficult to know as many could have registered directly after the PayPal payment. Could it be a problem with the generation of the TinyURL? My only option at this stage is to place a hard-coded link, not something I'm desperately eager to do.

Any help would be very much appreciated.

Thanks

PS running S2member Pro. This is the first issue I've encountered, absolutely top product that's given me great value for money :)


Thank you for the kudos! :)

I received your email with more info about the problem, too.

I am running S2Member Pro. I have a set up integration with PayPal (not using ProForms.) Following successful payment via PayPal, the user is shown a dialogue box and then redirected to the WordPress user registration page. At the same time, the 'Thank You' email is sent containing a link (live for 3 days) that enables the user to gain access to the WordPress registration page. I assume that there are parameters that would allow the appropriate level of membership to be applied.

Unfortunately the link has ceased to work, depositing the user to the site homepage rather than the user registration page. I am unable to identify exactly when the email link stopped working, although can confirm that when the process went live on 18th July it was working appropriately.


The registration link sent by email does expire. Still, if the user was returned to the website after payment, s2Member set some cookies in his browser that will let him register with the level he paid for. The registration form can be found here /wp-login.php?action=register

If you feel he needs a new registration link, you can generate one from here: WP Admin -> s2Member -> PayPal Buttons -> PayPal Member Registration Access Links

I hope this helps. :)


Is there a way that the link doesn't expire? I want to bring them to an upsell page after they do purchase my initial product. So they will be brought to a different sales page after they purchase my product, and they receive an email with the password. Ideas?
User avatar
dspruyt
Registered User
Registered User
 
Posts: 17
Joined: August 9, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Jason Caldwell » October 17th, 2011, 4:48 pm

I believe the issue reported here was related to a bug fix in the release of s2Member v111002, so this should be working properly now in all cases. Here is an excerpt from the Changelog.

SNAG-0034.png
SNAG-0034.png (48.02 KiB) Viewed 494 times

By default, s2Member gives each Customer up to 2 days to complete registration. If you want to increase this, you can create this directory and file please.

/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_register_link_exp_time", "my_s2_register_link_exp_time");
function my_s2_register_link_exp_time($s2member_says = "2 days"){
    return ($i_say = "2 weeks");
}
?>
Use anything compatible with PHP's strtotime() function.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with link in Thank You email - TinyURL Generator

Postby dspruyt » October 18th, 2011, 11:00 pm

Weird thing Jason.. I'm actually on v111011. Do you know what might be causing this issue?
User avatar
dspruyt
Registered User
Registered User
 
Posts: 17
Joined: August 9, 2011

Re: Problem with link in Thank You email - TinyURL Generator

Postby Jason Caldwell » October 20th, 2011, 2:34 pm

Thanks for the follow-up.
This thread was originally regarding tinyURL, but you're saying there is a different issue that you're having? Sorry, I'm just not sure exactly what the issue that you're reporting is. If it's unrelated to tinyURL, please start a new thread and I'll take a look asap.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with link in Thank You email - TinyURL Generator

Postby dspruyt » October 20th, 2011, 2:58 pm

Here's the thread Jason

viewtopic.php?f=4&t=15596

Thanks.
User avatar
dspruyt
Registered User
Registered User
 
Posts: 17
Joined: August 9, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron