About: Fitted Web Design
Sorry, I've not written a description yet. I'll get to it soon!
Topics I'm Subscribed To
Topic | Count | Last Reply |
---|---|---|
Next and previous posts with same ccap?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 5 |
|
Name of s2member's custom meta field?
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 3 |
|
Filter the next_post_link ?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 4 |
|
Paypal refund erases CCAPs
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 5 |
|
Detaching s2member filters from bbpress forum
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 7 |
|
Multiple CCAPs on a paypal button in php
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 11 |
|
Redirect a 503?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 6 |
Topics I've Started
Topic | Count | Last Reply |
---|---|---|
Next and previous posts with same ccap?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 5 |
|
Name of s2member's custom meta field?
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 3 |
|
Filter the next_post_link ?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 4 |
|
Paypal refund erases CCAPs
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 5 |
|
Detaching s2member filters from bbpress forum
By: Fitted Web Design in: Community Forum |
voices: 2 replies: 7 |
|
Multiple CCAPs on a paypal button in php
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 11 |
|
Redirect a 503?
By: Fitted Web Design in: Community Forum |
voices: 3 replies: 6 |
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Thursday Oct 25th, 2012 at 4:09 pm #29693 | |
|
|
Thank you! |
|
Posted: Thursday Oct 25th, 2012 at 12:28 pm #29655 | |
|
|
Thanks Cristián. Could you give me a clue about how to get the ccap of the current post? I think I can figure the rest out. |
|
Posted: Tuesday Aug 28th, 2012 at 3:51 am #23242 | |
|
|
Not quite. Here’s the explanation from the plugin I’m trying to use. It’s called Next/Previous Post Link Plus for WordPress. http://www.ambrosite.com/plugins/next-previous-post-link-plus-for-wordpress in_same_meta
|
|
Posted: Monday Aug 6th, 2012 at 8:55 pm #21287 | |
|
|
Thanks Eduan–I think I should tweak my question slightly: I need the code to fetch the next page link within the same category that IS accessible by the current member, whether via membership level or CCAP. If there’s nothing accessible, then don’t show any link. It’s not a simple can/cannot. That’s why I’m guessing it’s a filter of some sort and not a conditional. Help? |
|
Posted: Wednesday Jun 6th, 2012 at 3:59 am #15662 | |
|
|
Thanks for the follow-up, Cristian. The hack did not work when a refund was issued. That’s the problem. I’ve tested the hack against very short term subscriptions and the accounts were demoted without losing ccaps, as intended. The problem then, it seems, is with refunds. Here’s what happened: 1. Refund issued for subscription Goal: Account should get demoted, but not lose ccaps (the ccaps were purchased independently and therefore need to stick around forever).
|
|
Posted: Tuesday Jun 5th, 2012 at 1:18 pm #15549 | |
|
|
I don’t want any EOTs to erase ccaps, ever. But EOTs do need to demote users as usual (as configured in the admin). I should have just said that :)
|
|
Posted: Friday Jun 1st, 2012 at 4:54 pm #15200 | |
|
|
Here’s a step possibly in the right direction. But I’m not sure how we’d detach/reattach s2member’s security. Unfortunately, there aren’t a lot of bbPress code examples around. Thoughts? From the bbPress code:
|
|
Posted: Friday May 25th, 2012 at 2:28 pm #14615 | |
|
|
Yep, verified. And using Version 120517.
|
|
Posted: Thursday May 24th, 2012 at 4:26 am #14425 | |
|
|
I guess I’m not understanding Jason’s example. Would it be possible for you to provide a quick example of how I would use the shortcode (and therefore the encryption) in raw php and not the wp post editor? If you could include a variable, like my example below, that would be awesome. The code I’m using outputs a standard form tag in the html, which is editable via Firebug. I don’t see anything encrypted about it at all. Here’s the code I’m using on the dev site in sandbox mode:
And here’s the output:
I can easily inspect that element in Firebug, change the value of the “amount” and click the button to submit it. The transaction works fine but uses the hacked amount. Thank you! |
|
Posted: Thursday May 24th, 2012 at 3:04 am #14410 | |
|
|
Thanks for continuing to follow up. I’ve posted a couple of times at the bbPress forums without luck. :( |
|
Posted: Thursday May 24th, 2012 at 2:27 am #14402 | |
|
|
Thanks Cristian! Controlling error pages is an important part of keeping users involved in the brand, even if their intentions are sneaky, but mostly for when it’s a glitch or an accident. Both of these hooks will help cover the bases. |
|
Posted: Thursday May 24th, 2012 at 2:17 am #14398 | |
|
|
Thank you, Jason. That’ll help keep the error page on brand and editable by the client. I’m using the restriction to help prevent credential sharing. Thanks! |
|
Posted: Wednesday May 23rd, 2012 at 7:38 am #14310 | |
|
|
I dived into using a shortcode for the button in order to encrypt it, but it’s not working out for me. Transactions run smoothly, but I can still use Firebug to easily edit the button’s amount before sending, which doesn’t raise any red flags during the transaction and the user account receives the correct ccaps assigned in the button. On a sandbox site, I have:
Here’s what I’m using, placed directly into one of my WP page templates. I haven’t gotten so far as to incorporate variables, which was the original goal:
I’m a little confused by Jason’s example in the post: http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604 Because he references two things: (1) a link and (2) the shortcode. Isn’t the point of the shortcode to create a button, thereby not needing a link? Or do I need to create a link, which is processed/confirmed by whatever the shortcode generates? I’m doing all of this in php directly inside a custom page template because everything needs to be automated, so I’d appreciate your help in those terms (as opposed to what to do inside the WP post editor). Thanks! |
|
Posted: Tuesday May 22nd, 2012 at 10:37 pm #14237 | |
|
|
Thanks Cristian. I’m using the full HTML/PHP form code instead of a shortcode because I’m sending in a few php vars and the button is super customized visually. Though, I’m a little worried about security. Here’s a page with one of the buttons…what do you think, security wise? http://www.zackpetroc.com/erasmus-design-sculpt-ztl/ As for the ccaps, I’ll try it without the plus signs and hope for the best. Thanks again! |
|
Posted: Tuesday May 22nd, 2012 at 10:29 pm #14235 | |
|
|
Thanks, Cristian. Good idea with the MORE tag, but I’m already using that to secure specific parts of posts, so it would be confusing to add another MORE tag at the tops of posts. (Instead of securing the entire post with a ccap, I secured everything after the MORE tag. That allows for the client to tease some of his content to the public and gives a simple command in the wp editor to lock a portion of his content.) Looking into it, I think it might be solved by running a custom bbPress loop and filtering it to show only items the user canNOT access. Since the current loop outputs what they CAN access, I’d end up with two listings, but all-in-all showing all of the possible forums. Grouping them by access might even end up being visually helpful. But I don’t know if the s2member filters can be detached from a bbPress query. Come to think of it, I don’t even know how to make that query. (I think it has something to do with BB_Query() or bbp_get_forum(). ) Though, the perfect solution is still to simply show the whole list together in the original loop, since my action to display the lock icon next to secure forums is working just fine. BTW, you can see this all working at http://www.zackpetroc.com |