Home › Forums › Community Forum › Custom URLs Upon Success not working
This topic contains 10 replies, has 3 voices. Last updated by Cristián Lávaque 3 years, 12 months ago.
Topic Author | Topic |
---|---|
Posted: Monday Jan 7th, 2013 at 2:11 pm #36475 | |
|
|
Hello, sumigni.com
sumigni.com/resumes/
Thank you |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Jan 8th, 2013 at 7:12 pm #36642 | |
|
|
Hello? Customer Support Form? Have I posted this in an incorrect area? |
|
Posted: Tuesday Jan 8th, 2013 at 11:35 pm #36680 | |
|
|
No, it’s the right area, we just had a flood of tickets the past days so we’re a bit behind and catching up. Thanks your patience. So those two pages are in the same WP installation, correct? /resume/ is not another WP installation? Just checking. About the free registration pro-form shortcodes, they look okay, so the [hilite mono]success[/hilite] redirection should work. Is the user account created successfully? Do you happen to have installed the post-registration auto-login hack? That one could cause these redirections to not work. As a test, could you enter the full URL in the success attribute?
|
|
Posted: Wednesday Jan 9th, 2013 at 11:12 am #36779 | |
|
|
Hi Cristian
Yes, correct.
No, it is not another wp install.
Yes, the users are being created successfully. The sumigni.com form creates the user at level=”1″ and the /resumes/ form creates the user at level=”2″.
Does this apply to the Auth.net Pro Forms shortcode? FYI, I have the Open Registration set to “Yes”. Do the users have to pay for something in order to be redirected via success=”…”?
Yes, I tested the full URL
and
On both forms, I’m still getting redirected to:
I’m super stumped. |
|
Posted: Wednesday Jan 9th, 2013 at 11:20 am #36781 | |
|
|
oops forgot to answer this:
No, post-registration auto-login hack is not installed. |
|
Posted: Thursday Jan 10th, 2013 at 7:02 am #36851 | |
![]() |
|
Hi Schott, Thanks very much for your detailed follow-upThe first thing I notice here is that the two pages that you’re attempting to redirect to do not actually exist (e.g. they are 404s when you navigate there). Regarding this URL:
This is not a default that’s set up with s2Member. It appears that this is meant to be the Membership Options Page, but is set up as the Login Welcome Page in your WordPress Dashboard (your site is redirecting to your My Account page, instead of this page right now. You’ll want to change this in your General Options. Switch the pages around in Dashboard -› s2Member® -› General Options -› Login Welcome Page and Dashboard -› s2Member® -› General Options -› Membership Options Page). The next steps I recommend you take are the following: 1) Create pages with the slugs /welcome-1/ and /welcome-2/ before continuing. This could be causing the error itself 2) Enable logging under Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging 3) Make sure that you are logged out before you try to register 4) Run another test transaction, and if problems persist, send us the log files that were generated under /wp-content/plugins/s2member-logs/ (you’ll need to access your server via FTP to get the files). |
|
Posted: Thursday Jan 10th, 2013 at 10:23 am #36864 | |
|
|
Hi Bruce,
I wish it was that simple. You must have looked at the site when I changed the slugs away from /welcome-1 /welcome-2. I tried different slugs and changed the success=”…” attribute in the shortcode to try to isolate the issue. With no luck.
Yes, I am aware of the flip flop. I took over the site with it set up this way. It’s on my agenda for my client. :)
Again, I wish it was as simple as having the incorrect pages. I’ll switch the slugs and shortcode back to /welcome-1/ and /welcome-2/ before I submit this response.
2) Yes, logging is set to “yes” The registration forms are registering the users correctly. They are registered at level-1 and level-2 respectfully correctly and show up just fine in WP Users. The ccaps are working as well. I just can’t get the success=”” attribute to work. Just to recap what we are trying to accomplish. When users register in either of the registration forms (on pages sumigni.com and sumigni.com/resumes) we’d like them to be redirected to https://sumigni.com/welcome-1/ and https://sumigni.com/welcome-2/ upon just their registering. I’m attempting to use the success=”https://sumigni.com/welcome-1″ and success=”https://sumigni.com/welcome-2″ attribute in the s2Member-Pro-AuthNet-Form shortcode for that redirection. The result we are getting is an incorrect redirection. Users who register in either form (sumigni.com or sumigni.com/resumes) are being directed to sumigni.com/sign-me-up/?first instead of /welcome-1 and /welcome-2 NOTE: sumigni.com/sign-me-up/ does not exist any more. I changed that page’s slug to sumigni.com/welcome-1. If there is another way to redirect users who have just completed just the registration process, we’d be open to suggestions. Thanks |
|
Posted: Thursday Jan 10th, 2013 at 11:18 pm #36912 | |
|
|
UPDATE: the success=”…” attribute is still does not work and we are up against a deadline, so we had to move on. We’re disappointed we couldn’t get this resolved. Cristián said you guys are busy, but is there a faster perhaps more direct line of assistance? |
|
Posted: Friday Jan 11th, 2013 at 5:00 am #36941 | |
|
|
Are you absolutly sure? The [hilite mono]?first[/hilite] at the end of the URL was in one of the earlier versions of the hack.
You could send your site’s info and I’ll take a look. s2Member® » Private Contact Form
Thanks for the kudos! We’re glad to help. :) |
|
Posted: Friday Jan 11th, 2013 at 12:09 pm #37019 | |
|
|
Cristián I researched some workarounds on the forum and found a couple of threads:
Christian said:
Then in another thread:
Jason said:
What I couldn’t find was how exactly to do this. I understand how to use the success=”” attribute to redirect a user to an custom thank-you page, but can you point in me in the direction of how to “include code from your hack file above; and you may choose to automatically log them in…” I’m fuzzy on how to automatically log a user in once they’ve been redirected to a custom thank-you page. |
|
Posted: Friday Jan 11th, 2013 at 9:37 pm #37065 | |
|
|
Glad you found the problem. Thanks for the update. :)
I haven’t tried it yet, but you could probably try the same login code from the hack, but in a PHP block in the page you redirect the user to on success. You’ll need a PHP execution plugin. Or, you could add a variable at the end of the success redirection URL and have your hack pick it up from the $_GET array to know when to do the auto-login. Something along those lines I guess. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.