Home › Forums › Josh Levinson
About: Josh Levinson
Sorry, I've not written a description yet. I'll get to it soon!
Topics I'm Subscribed To
Topic | Count | Last Reply |
---|---|---|
Hooks
By: Josh Levinson in: Community Forum |
voices: 2 replies: 1 |
|
s2Member code problem causes conflict
By: Josh Levinson in: Community Forum |
voices: 2 replies: 6 |
|
Correct Shortcode to use
By: Josh Levinson in: Community Forum |
voices: 2 replies: 12 |
|
s2Member shortcode over ajax.
By: Josh Levinson in: Community Forum |
voices: 2 replies: 2 |
|
Testing EOT Behavior for Subscriptions
By: Josh Levinson in: Community Forum |
voices: 2 replies: 2 |
Topics I've Started
Topic | Count | Last Reply |
---|---|---|
Hooks
By: Josh Levinson in: Community Forum |
voices: 2 replies: 1 |
|
s2Member code problem causes conflict
By: Josh Levinson in: Community Forum |
voices: 2 replies: 6 |
|
Correct Shortcode to use
By: Josh Levinson in: Community Forum |
voices: 2 replies: 12 |
|
s2Member shortcode over ajax.
By: Josh Levinson in: Community Forum |
voices: 2 replies: 2 |
|
Testing EOT Behavior for Subscriptions
By: Josh Levinson in: Community Forum |
voices: 2 replies: 2 |
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Jun 11th, 2013 at 8:34 am #51758 | |
|
|
I understand the logic you present about needing to track all logins. However, I still disagree with the need to use the wp_signon hook for the redirection. If you need to track user logins, why not hook the wp_signon to perform user login tracking, then perform your redirect logic separately? I feel like performing user tracking, brute force, and ip logging logic should not lie in a function called login_redirect. I suggest something like:
|
|
Posted: Monday Jun 10th, 2013 at 12:20 pm #51718 | |
|
|
I have made a few changes to s2Member to fit what I believe is the most appropriate place to redirect a logged in user. The first step was changing the logic from hooking into wp_login to filtering the login_redirect. Since s2Member removes all filters on login_redirect, I also had to modify login-redirects-r.inc.php to add the filter back after all others are removed. The altered login_redirect function in login-redirects.inc.php:
My altered filter in hooks.php (replaces the add_action(‘wp_login’)):
My altered remove_login_redirect_filters in login-redirects-r.inc.php:
I realize that filtering the login_redirect twice may be redundant, but I will leave that decision up to s2Member’s team. The summary of my changes are:
|
|
Posted: Monday Jun 10th, 2013 at 11:59 am #51716 | |
|
|
I know it’s been over a weekend, but I believe this to be a significant issue with the way s2Member is set up. Is there any new information on this? |
|
Posted: Friday Apr 19th, 2013 at 9:00 am #47873 | |
|
|
Thanks Cristián! I just tried those and it looks like they’ve worked! the s2_auto_eot_time gets set, as well as s2_eot_notify_date, and the user’s level is s2member_level1! :) |
|
Posted: Thursday Apr 18th, 2013 at 11:52 am #47792 | |
|
|
Marco, the reason I believe Bruce posted that article was to basically (and politely) say that you are responsible for investigating what s2Pro is capable of before purchasing it. You cannot expect a refund when a product does what it explicitly says it CAN do, but not what everything you wish it would do. If I go and buy a soldering iron that advertises that it can weld solder, I can’t expect a refund because it can’t build me a circuit board without some work. I appreciate/understand your frustration, but again – it is your responsibility to investigate (read – ask questions in the community forum) before you purchase s2Pro. Another thing; if you think about it, it is almost impossible to give refunds for premium software purchases – even if I were to get a refund on my soldering iron, the store would at least get their merchandise back. With software, not so. If you were to get a refund now, you could potentially happily continue to use said software – which has basically now become free software – and whomever you may decide to share it with. |
|
Posted: Thursday Apr 18th, 2013 at 8:55 am #47780 | |
|
|
Cristián, I feel like we are going in circles here, sorry that we keep misunderstanding each other :) Let me try to sum up what I need again: I need two types of membership: I need BOTH memberships to set an EOT. Otherwise I fail to see how a user, free or paid, will be demoted as set in my Auto-EOT behavior settings (which demotes them to a free user). The user also needs an EOT for my notification emails to work correctly (as they are based on a user having an EOT). I am also confused by the term “trial term”. I don’t need a trial term (I especially don’t want a subscription considering that subscriptions don’t register an EOT). I just need a free version of the paid membership form that will give the user the exact same rights, level, and EOT as a paid member gets. |
|
Posted: Wednesday Apr 17th, 2013 at 7:25 pm #47709 | |
|
|
Marco – yes, I was able to do this, but my situation was an edge case – I had a database (outside of s2) of available, one time use vouchers that members could purchase in-store; my code would validate that the inputted voucher was valid and wasn’t taken/used, then would output a free registration form. There is a guide here on the site that I got the idea from, but my solution really doesn’t look anything like it. You said:
You were correct unfortunately; if you aren’t comfortable doing this you will have to hire someone or find another solution. I didn’t find a solution so I did it myself. I didn’t see where WPMU’s membership plugin supported free coupon codes, but I may have just missed it. |
|
Posted: Wednesday Apr 17th, 2013 at 4:47 pm #47695 | |
|
|
Interesting…I wasn’t able to find anything there that s2 doesn’t support. In fact, s2 seems way more powerful than that plugin. Anywho, hope that plugin works well for you! |
|
Posted: Wednesday Apr 17th, 2013 at 4:19 pm #47692 | |
|
|
Everything is working great with the paid membership form; the free one however is not working as intended. [s2Member-Pro-AuthNet-Form level=”1″ ccaps=”” custom=”example.com” register=”1″ desc=”$20.00 / One Time (for 1 year access, non-recurring)” cc=”USD” a=”0″ ra=”20.00″ rp=”1″ rt=”Y” rr=”BN” rrt=”” accept=”visa,mastercard,amex,discover” coupon=”” accept_coupons=”0″ default_country_code=”US” captcha=”0″ /] No EOT is set however. Why is this? I need EOT’s set on users who visit the paid and free form; both need to expire within a year, and both need the EOT for my EOT notification to work. In addition to the lack of an EOT notification if no EOT is set, how will a user be demoted if their is no EOT? |
|
Posted: Wednesday Apr 17th, 2013 at 3:07 pm #47688 | |
|
|
Hey Marco, I love s2Member for the extreme amount of customization it allows, but I don’t like the fact that 100% discount coupons are not built into core. With that in mind, I am curious – what product did you end up going with? |
|
Posted: Wednesday Apr 17th, 2013 at 10:02 am #47672 | |
|
|
Thanks for your reponse Cristián.
What do you mean by this?
I am using my own coupon code system (similar to the one in your response, but much more complex), not s2Member’s. This wasn’t really part of my question (my coupon system is working well for me), just information to help with answering the real question(s) (EOT’s/correct shortcode).
Why/how would I use the tp, tt attributes if it will be a Buy Now form? You said:
P.S. – I’m using Authorize.net (if it makes a difference). |
|
Posted: Tuesday Apr 16th, 2013 at 2:22 pm #47610 | |
|
|
Oops! I had some wrong info the first time I posted this topic. My needs are as such: Customers can visit the site and purchase membership (level 1 @ $20 via authorize.net) that lasts one year. It does NOT auto-renew, but instead demotes them to a free subscriber. Customers can ALSO visit the site and eventually (through coupon codes) gain access to the SAME membership, but in a free registration form. What is the correct shortcode to use in these scenario? I hate to ask these question, but I feel very confused every time I look at the “Shortcode Attributes Explained” section of s2. On another related note, are BOTH of these customers, whether through the free/not-free registration form, assigned an EOT? I need a way, as I mentioned, of notifying customers 1 month before their EOT of their upcoming EOT so they can renew. I plan on using the guide here – http://www.s2member.com/forums/topic/setting-up-eot-notifications/ – to set up the EOT notifications, but need to know if the EOT’s are assigned/occur for both types of customers. Thanks! |
|
Posted: Monday Apr 15th, 2013 at 10:05 am #47496 | |
|
|
Comment added to original question. Please delete this comment. |
|
Posted: Monday Apr 15th, 2013 at 9:34 am #47495 | |
|
|
Thank you, I think that should do. |
|
Posted: Monday Apr 15th, 2013 at 9:31 am #47494 | |
|
|
Thank you, I think that answers my questions. I should be able to use |