fpl
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Friday Apr 26th, 2013 at 9:22 am #48479 | |
|
|
Hi Cristi´n, Thanks for your speedy reply and testing.
I’m not sure I understand what you mean by that. In PayPal’s Manager > latest transaction? I’ll install the server scanner within the next hour (got a quick appointment). |
|
Posted: Friday Apr 26th, 2013 at 7:46 am #48466 | |
|
|
Hi there, Any update on that? It’s becoming pretty urgent on my side, as it is for t2media: we must go live next week. I’ve sent you everything you need to test on the real site (reset to WP defaults), via the Private Contact Form. Btw., and this is important too, could you e-mail me the IPs that I have to allow in .htaccess. I’ve disabled the redirection so you can access it… but I need to re-enable it asap. Thanks. |
|
Posted: Thursday Apr 25th, 2013 at 10:54 am #48370 | |
|
|
Hey Cristián, I’ve reset WP to its defaults with just S2Member & the PayPal info. Just made a test (with logging enabled), same issue. I’m contacting you via the Private Contact Form. |
|
Posted: Tuesday Apr 23rd, 2013 at 5:05 pm #48215 | |
|
|
Hey Cristiàn,
It does create a subscription on s2member’s side, but apparently not on PayPal’s. I just made another test, with all .htaccess redirects disabled –> no joy. Another weird thing is that there’s no Description whatsoever in PP’s receipts (customer & seller). Getting a bit concened and very confused! |
|
Posted: Monday Apr 22nd, 2013 at 10:30 pm #48142 | |
|
|
Hi there, Any update on that? I’m having the exact same problem and it’s not a small one… The “Description” field in Paypal receipts is blank… Well, everything exactly as described by t2media:
|
|
Posted: Monday Apr 22nd, 2013 at 7:12 pm #48127 | |
|
|
:) |
|
Posted: Monday Apr 22nd, 2013 at 6:34 pm #48115 | |
|
|
You’re most welcome, Sir! |
|
Posted: Wednesday Apr 10th, 2013 at 8:14 am #47067 | |
|
|
Well, Cristiàn… you’re totally right. I don’t know if you’ve ever been in this stupid state, where you don’t even remember why you have to do something, but all you “know” is you have to? It generally means you are knackered and you need a serious break… I went out of the stupid state yesterday, and wrote this awesomeness in my mu-plugins:
I’ll echo the ccaps… next time. ;) Thanks again! |
|
Posted: Tuesday Apr 9th, 2013 at 11:05 am #46912 | |
|
|
Thanks, Cristiàn! 1. Okay… I missed that. 2.
Returns:
Which is a good start ;) but, as you can guess, what I’d like to display is: You have access to module 1, which contains: |
|
Posted: Monday Apr 8th, 2013 at 8:40 am #46841 | |
|
|
Thanks, Cristiàn! So, you’re confirming that I did that in my sleep… Pretty scary! Better be careful around me… |
|
Posted: Saturday Apr 6th, 2013 at 11:13 am #46767 | |
|
|
EDIT: I’ve been a bit quick pretending that I knew how to get the user’s ccaps (and I meant display them)… I thought the whole answer was here: http://www.s2member.com/forums/topic/cant-receive-the-users-ccaps-values/ …but if I do as suggested and write:
I only get the result of print_r:
Nothing is echoed. I’ve tried other delimiters, no luck. Really can’t figure out how to echo all the ccaps contained in the array, or any of them actually. I’ve tried a bunch of stuff suggested on php.net and stackoverflow, no luck either. Needless to say I’m a PHP ninja… ;) Anyway, that’s just another question to add to the 2 previous ones. Thanks for your assistance, the explode() function works miracles on my brain! ;) |
|
Posted: Friday Apr 5th, 2013 at 10:12 am #46704 | |
|
|
Thanks Christiàn! Being new to S2Member and not having really coded anything for ages, I feel safer under your benevolent control! ;) |
|
Posted: Thursday Apr 4th, 2013 at 7:33 pm #46652 | |
|
|
Thanks Bruce! I did use this conditional… but, well… I guess I needed a serious nap! Anyway… everything’s fine. Much better when you open and close your conditionals at the right places. Thanks again. Bed! |
|
Posted: Thursday Apr 4th, 2013 at 9:49 am #46609 | |
|
|
No, I want the widget to totally vanish: – if the user is not logged in, then display the login form. |
|
Posted: Thursday Apr 4th, 2013 at 8:45 am #46591 | |
|
|
That’s the good news of the day! Not for my ego –I don’t care too much about “him”, but for the continuation of the project. ;)
Yup, or: I’m selling the level together with the ccap.
Okay, I see what you mean, now.
As I’ve done it, all buyers have the Level 1 role, with different ccaps: fullmember Level1 all …so checking for the level wouldn’t make much sense here. Instead, I’m checking if he is a full member (ccap=”all”) or has the adequate ccap to access the post:
Bad, wrong, ugly, or just a different approach? |
|
Posted: Tuesday Apr 2nd, 2013 at 7:42 pm #46421 | |
|
|
Hi Cristián, Now my brain is really scrambled! ;)
Here’s what I’ve done and it seems to be working just fine, but you worry me a little bit… (°°° am I missing something? Am I in for a bad surprise? °°°). – Used WP Tags for all my posts: “module1”, “module2”, etc., and “members-only” for the ones that are not included in a module. – Created a /mu-plugins/s2-haccess.php that checks that current_user_can access the ccap associated with each Tag. Of course, “members-only” which is associated with “all” ccap, is evaluated first. – Generated PayPal Pro Forms for Level #1 Access (NOT “Buy Now”: they generate a “You must log in before making this purchase.” warning, and, of course, they can’t be used for the “members-only” ccap, as it’s recurring monthly) I’ve tested with a PayPal Sandbox and everything seems to be working smoothly… Can you see a flaw in my “logic”? |
|
Posted: Monday Apr 1st, 2013 at 3:30 pm #46292 | |
|
|
Thanks for your reply, Cristián! 1. As I see it now, I think I should be able to do everything I want to do, using only Custom Capabilities and PHP Conditionals, not even bothering to do anything at a post-level nor even in Post Access Restrictions, right? 2. One of the things I’m not quite clear about, is when to use /mu-plugins/some-file.php or my theme’s functions.php… Could you clarify that for me? Thanks! |