This topic contains 1 reply, has 2 voices. Last updated by Cristián Lávaque 4 years, 1 month ago.
| Topic Author | Topic |
|---|---|
| Posted: Wednesday Dec 5th, 2012 at 7:13 am #33530 | |
|
I am attempting to get the s2member_pro_login_widget() function to process replacement codes on an SSL sign-in page using PHP. I need the login_redirect to go to the welcome page using replacement code %%current_user_level%%. When I use the widget everything works, but when I pass the $option(s) to the function, the replacement code does not get processed (same results for %%automatic%%). The function returns the redirect url with the unprocessed replacement code (http://www.mysite.com/%%current_user_level/welcome/). I have tried to make it work on the sign-in page template, as well as by creating a shortcode in my function.php. Same results in both cases. When I switched back to using the widget, it worked. Any thoughts on why the replacement code is not working? Suggestions for troubleshooting? |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
