latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Custom Success Page after Registration

Home Forums Community Forum Custom Success Page after Registration

This topic contains 45 replies, has 2 voices. Last updated by  Toby Milroy 3 years, 8 months ago.

Page 2 Of Topic Replies

Viewing 20 replies - 26 through 45 (of 45 total)
Author Replies
Author Replies
Posted: Saturday Apr 20th, 2013 at 12:13 am #47960
Toby Milroy
Username: tobytkd

I’m on with a new agent….he’s asking a few good questions…
#1 – Is the a database connection string for the plug-in??

Posted: Saturday Apr 20th, 2013 at 12:14 am #47961
Bruce
Username: Bruce
Staff Member

#1 – Is the a database connection string for the plug-in??

No, this isn’t a database connection. It’s an HTTP connection via PHP fopen() or cURL.

Posted: Saturday Apr 20th, 2013 at 12:24 am #47966
Toby Milroy
Username: tobytkd

Ok…
got a dude that seems pretty sharp working on it….
let’s see what happens…

Posted: Saturday Apr 20th, 2013 at 12:36 am #47967
Toby Milroy
Username: tobytkd

Ok…it seems like the Curl is on, and Open SSL is enabled….
Also, fopen is on as well….

However the tech support guy sees that the diagnostic it saying
[ERROR] cURL Extension / Or fopen() URL
One or more HTTP connection tests failed against localhost.
Cannot connect to self over HTTP — possible DNS resolution issue.
Can’t connect to: http://karateforkidsusa.ipower.com

However, he says that Ipower doesn’t use “localhost” – instead it uses karateforkidsusa.ipowermysql.com ….
Does that make sense….any difference???

Posted: Saturday Apr 20th, 2013 at 12:39 am #47969
Bruce
Username: Bruce
Staff Member

However, he says that Ipower doesn’t use “localhost” – instead it uses karateforkidsusa.ipowermysql.com ….
Does that make sense….any difference???

It makes sense, but the idea still stands. That error says it can’t connect to the same URL he said localhost was. You need to connect from http://www.masteryoursmallbusiness.com/members/ TO http://www.masteryoursmallbusiness.com/members/. It isn’t possible right now, so while the difference in this server’s treatment of localhost is different, it really doesn’t make any sense why that would be the cause for the error.

Posted: Saturday Apr 20th, 2013 at 12:39 am #47970
Bruce
Username: Bruce
Staff Member

However, he says that Ipower doesn’t use “localhost” – instead it uses karateforkidsusa.ipowermysql.com ….
Does that make sense….any difference???

It makes sense, but the idea still stands. That error says it can’t connect to the same URL he said localhost was. You need to connect from http://www.masteryoursmallbusiness.com/members/ TO http://www.masteryoursmallbusiness.com/members/. It isn’t possible right now, so while the difference in this server’s treatment of localhost is different, it really doesn’t make any sense why that would be the cause for the error.

Posted: Saturday Apr 20th, 2013 at 12:50 am #47972
Toby Milroy
Username: tobytkd

Hmmmm….Ok,….
I’m still a little confused…

Here is the error page from the Scanner Script:
http://karateforkidsusa.ipower.com/masteryoursmallbusiness/members/s2-server-scanner.php

And here is the little diagnostics script:
http://www.masteryoursmallbusiness.com/members/?s2_diagnostics

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

He walked me though the settings, and the fopen is set to “on” – Here is the PHP.in setting:
;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also – cURL is “on”…and the open SSL is activated….

Basically…they are following the errors on
http://karateforkidsusa.ipower.com/masteryoursmallbusiness/members/s2-server-scanner.php

Is there anything else I can tell them???
Seems like all the server “settings” are right (perhaps)..but maybe something at a higher level??

Geesh….kicking my butt.

Posted: Saturday Apr 20th, 2013 at 12:53 am #47973
Bruce
Username: Bruce
Staff Member

Seems like all the server “settings” are right (perhaps)..but maybe something at a higher level??

Yes, it’s not something that’s a setting. Having fopen and cUrl ON is not the problem here. The problem is that your server is blocking connections through these methods to the same domain. It’s something that’s done at a higher level than PHP. That error in the Server Scanner is checking to see if the site can connect to itself, and it’s failing. That’s why it’s throwing that error, not because it’s not enabled.

Sorry I can see how that would be confusing.

Posted: Saturday Apr 20th, 2013 at 1:31 am #47974
Toby Milroy
Username: tobytkd

Bruce,
We’re trying to get more help on this….but I think I’ve found an even bigger “problem”.
This server doesn’t allow “cron jobs” on my plan.
Does s2member require them??? (you mentioned in a previous post).

Thoughts???

(I can move to VPS if I need to…where they do allow…..or move to a differnet host, which is a pain in the butt, since I’ve already bought SSL certificates etc….)

Posted: Saturday Apr 20th, 2013 at 1:35 am #47976
Bruce
Username: Bruce
Staff Member

WordPress does a Cron Job a bit differently than your hosting company might be used to. You shouldn’t have any problems with that once you find a solution for your other problem.

If you’d really like to read up on WordPress’s Cron Jobs work, you can find information on it here:

http://codex.wordpress.org/Category:WP-Cron_Functions

That’s a codex, so it may be a bit overwhelming if you’re not used to working with code. You may want to check out this article, instead.

http://wp.tutsplus.com/articles/insights-into-wp-cron-an-introduction-to-scheduling-tasks-in-wordpress/

Posted: Saturday Apr 20th, 2013 at 1:45 am #47977
Toby Milroy
Username: tobytkd

Ok..
great.
I think I may be ok.

They are escalating the ticket to another tier…to see if they can solve….
I’ll let you know if I need more help.

Thanks for all the help tonight!
It was really helpful…….

More to come.

Posted: Sunday Apr 28th, 2013 at 12:33 am #48606
Toby Milroy
Username: tobytkd

Ok guys….here is where I am on this.
I’ve migrated to a new host (Hostgator) because the old one wouldn’t support loopbacks.

Anyway, I’m on hostgator now, but I’m still having an issue with this redirect.

On a successful registration, I’m still not landing on the “success-=” page.

Here is the form code I used…do you see any syntax issues etc???

[s2Member-Pro-AuthNet-Form success=”http://masteryoursmallbusiness.com/members/new-member-bonuses/” level=”1″ ccaps=”” desc=”6 Week Trial for Just $9.97 / then Should you choose not to cancel, $67.97 USD per Month Membership!” cc=”USD” custom=”masteryoursmallbusiness.com” ta=”9.97″ tp=”6″ tt=”W” ra=”67.97″ rp=”1″ rt=”M” rr=”1″ rrt=”” accept=”visa,mastercard,amex,discover” coupon=”” accept_coupons=”0″ default_country_code=”US” captcha=”0″ /]

Instead I landed here:

https://masteryoursmallbusiness.com/members/membership-options/?_s2member_seekingtype=page&_s2member_seekingpage=103&_s2member_seeking_uri=L21lbWJlcnMvbmV3LW1lbWJlci1ib251c2VzLz9zMnAtdj0xMzY3MTIwNjcxLTU4ZDY5OTk4MDJiZjQwOWUzZjYzOGU2NjJiNzQyZWQx&_s2member_reqtype=level&_s2member_reqlevel=1&_s2member_restype=page&s2member_seeking=page-103&s2member_level_req=1&s2-ssl=yes

Any thoughts??

Posted: Monday Apr 29th, 2013 at 6:08 pm #48672
Bruce
Username: Bruce
Staff Member
Posted: Monday Apr 29th, 2013 at 6:44 pm #48675
Toby Milroy
Username: tobytkd

Ahhh….I see….my bad…silly mistake. (After switching servers and re-installing etc…my tolerance has been worn..heh)

Obviously I want to and them on a page where I’m giving them their new member bonuses….

So I’m guessing I’ll want to have them choose their own password on the subscription page, then “autolog” them in, to land on a protected page…

Is this all possible??

Posted: Monday Apr 29th, 2013 at 6:52 pm #48676
Bruce
Username: Bruce
Staff Member

So I’m guessing I’ll want to have them choose their own password on the subscription page, then “autolog” them in, to land on a protected page…

You could also just use One Time Offers.

See: Dashboard -› s2Member® -› General Options -› One-Time Offers (Upon Login)

Posted: Monday Apr 29th, 2013 at 7:01 pm #48678
Toby Milroy
Username: tobytkd

Right,
I’m familiar….however, is there a way to get them automatically logged into the site, so they land on that page seamlessly?
I see a couple articles about this…but I’m not sure if there is a more smooth solution??

Thanks!

Posted: Monday Apr 29th, 2013 at 7:03 pm #48680
Bruce
Username: Bruce
Staff Member

I’m familiar….however, is there a way to get them automatically logged into the site, so they land on that page seamlessly?

You could use the hack posed here:

Knowledge Base » Auto-Login Upon Registration

You’d want to use the One-Time Offers as well, so they’d get automatically logged in and then sent to the page you want them to. This isn’t necessary anymore.

Posted: Monday Apr 29th, 2013 at 7:29 pm #48683
Toby Milroy
Username: tobytkd

Ok..That’s what I’ve seen….didn’t know if it was now “built in”….
On that hack…..I’m not using Multisite…..is there a way to use it then?
Do I just use the regular plug in directory?

Posted: Monday Apr 29th, 2013 at 7:35 pm #48688
Bruce
Username: Bruce
Staff Member

On that hack…..I’m not using Multisite…..is there a way to use it then?
Do I just use the regular plug in directory?

the /mu-plugins/ directory is a Must-Use plugin directory. It forces WordPress to load the plugin. You should put it there.

See: http://codex.wordpress.org/Must_Use_Plugins

Posted: Monday Apr 29th, 2013 at 7:37 pm #48689
Toby Milroy
Username: tobytkd

OK….I see..
I thought mu was for multisite..the old WPmu.
Got it.
thanks!

Viewing 20 replies - 26 through 45 (of 45 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.