latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Synergy WP

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 6 topics - 1 through 6 (of 6 total)
Topic Count Last Reply
Pay per Post Counter?

By:  Synergy WP in: Community Forum

voices: 2
replies: 10

3 years, 10 months ago  Cristián Lávaque

Fraud Prevention?

By:  Synergy WP in: Community Forum

voices: 3
replies: 5

4 years, 4 months ago  Eduan

Minifying s2Member files

By:  Synergy WP in: Community Forum

voices: 2
replies: 4

4 years, 4 months ago  Synergy WP

Suddenly Proforms using Paypal submit button

By:  Synergy WP in: Community Forum

voices: 2
replies: 3

4 years, 4 months ago  Raam Dev

ProForms… password field issue

By:  Synergy WP in: Community Forum

voices: 2
replies: 4

4 years, 4 months ago  Cristián Lávaque

Protect the_content() only?

By:  Synergy WP in: Community Forum

voices: 3
replies: 2

4 years, 4 months ago  Cristián Lávaque

Viewing 6 topics - 1 through 6 (of 6 total)

My Latest Replies (From Various Topics)

Viewing 11 replies - 1 through 11 (of 11 total)
Author Replies
Author Replies
Posted: Tuesday Mar 12th, 2013 at 11:31 pm #44445
Synergy WP
Username: synergywp

Okay, I think i’ll integrate that with the Custom capabilities.

Lastly, I think I think I can streamline this more with some custom fields.

I think I will create a “Pay Per Post Settings” meta box where I can supply the price and a checkbox on whether or not to make it pay per post (still using custom cap). Then, in the template file, do a meta check for the checkbox, and if it’s true, then use the price I entered. Then, for the CC for the paypal button, I’ll simply make it unform soe something like “ppp_*post-id*”. Then, the user can purchase the CC through the PayPal button. The template will show content if current_user_can.

Then for the tracking feature, write some PHP to remove “post-” from the meta field, and add that to a user meta comma delimited value. When the user checks a custom page for the purchased posts, it will grab all the IDs, then query the posts according to those IDs and display the titles with permalinks.

Sweet. :) Hopefully it all runs smoothly.

Posted: Tuesday Mar 12th, 2013 at 3:18 am #44336
Synergy WP
Username: synergywp

Yes, but for custom capabilities in s2… Isn’t that going off of user role capabilities?

So after 1,000 posts, I’d have 1,000 additional user role capabilities added to my WP database? Or are the custom capabilities you speak of built into S2 only and can be created on the fly on the create post screen?

If they can be created on the fly via that box in the create post screen, that is also a good implementation. Please let me know if that’s the case.

If that’s true, then you could write a custom capability like “post-123” the in field… then add some PHP into the template to buy the CC, and check user for CC to display.

I suppose that’s true even the capability is created as part of WP-core.. it just seems like user role capabilities shouldn’t be added in the thousands and reserved for actual capabilities like posting in a forum, etc.

Sorry, again my posts aren’t making sense.

Posted: Friday Mar 8th, 2013 at 6:34 pm #44131
Synergy WP
Username: synergywp

Sorry Cristian, that post was done late at night after a long day’s work….

I am basically trying to add tracking for the buy now posts and here’s what I’ve come up with. For the code to be triggered after someone is brought back to the post from PayPal, for a Pay-per-Post transaction, I have come up with this:

– grab a post_purchase_count meta key from post purchased, add 1 to it, then resubmit to post data.
– grab user_id and post_id… Add the post_id to a user_ppp_access meta key.

Then, create a separate template page that will check for the logged in user, check the user_ppp_access key for any post_id values, then use those post_id values to populate a list of “Purchased Posts”.

Then, on the template for displaying theses posts, I’ll add a conditional that checks a) if user is logged in and b) if user has the specific posts ID in their user_ppp_access key. If both are true, it will display content.

I won’t need to rely on s2 hiding the content or protecting the whole URL (I wanted the URL accessible anyways), just using conditional and meta checks which is all part of WP core. Just using s2 for the ability to become a member and make the paypal purchase.

I realize I am typing “how I’m thinking” but I thought I’d write this out as a sort of code idea for anyone who is wanting to accomplish the same thing.

My other idea is to also incorporate, again via WP conditionals, a way for someone to have either a premium subscription or have purchased the post to view the content. Not so difficult as long as s2 properly writes the meta values after a successful purchase.

Posted: Friday Mar 8th, 2013 at 3:35 am #44033
Synergy WP
Username: synergywp

I had an idea for the above which is to add a URL to the post/page access that would update a custom field.

Now, my new question regarding this: is there anyway to combine two ideas:

– User must be registered, so a free member.
– User must buy each post.
– When user buys post, since they are logged in (and the button to Buy Now is hidden until logged in), it saves the URL as a custom field for the user so they can access it via a function on the author page or something?

Thanks for the assistance.

Posted: Wednesday Mar 6th, 2013 at 10:32 am #43878
Synergy WP
Username: synergywp

Can I request that as a feature? You see how awesome that would be right? Just like the envato marketplaces….

Imagine if you had a page that said it was purchased 4,000 times already… People would like it.

I’m trying to think how else I could do this. Adding some php to add it into the protected content I suppose?

Posted: Sunday Sep 2nd, 2012 at 3:25 am #23837
Synergy WP
Username: synergywp

Nice, good idea Cristian.

Adding in a built in feature for anti account sharing would be great too :) I.e. set no more than 1 IP per day per account.

Posted: Sunday Sep 2nd, 2012 at 3:07 am #23835
Synergy WP
Username: synergywp

Well, I’ve had 3 disputes so far… I offer a membership site that contains information. People can subscribe, claim someone hacked their Paypal account, then get refunded the money, but leave with all the knowledge from my site.

Sorry, I know the post seemed somewhat directionless, I was more or less thinking out loud… if there was a way to ensure that the users using the paypal account were the actual owners… but again, I think that’s impossible.

Posted: Friday Aug 31st, 2012 at 11:18 am #23710
Synergy WP
Username: synergywp

Great, will try it now.

Thanks Philly

Posted: Friday Aug 31st, 2012 at 10:30 am #23703
Synergy WP
Username: synergywp

So the CSS has the same variables in the filename as the JS… Can I simply add it sans variables and it should be fine?

I suppose it is just CSS and not necessarily function.

That’s great news that they’re changing the filename variable dependency. Although people complain about not being able to minify with w3tc, they should just relax until its fixed, but still use the combine feature and serve from a CDN.. Being able to do so can drastically speed things up.

Thanks.

Posted: Monday Aug 27th, 2012 at 12:23 pm #23179
Synergy WP
Username: synergywp

Interesting. It must have kicked in late. I figured it was something to do with this. Thanks.

Posted: Sunday Aug 26th, 2012 at 11:25 am #23118
Synergy WP
Username: synergywp

Thanks for both replies. I will use both.

I found the culprit, and I am going to suggest that maybe you guys look into a work around, as it’s a primary integration feature of your plugin…

Atleast for my setup, it was the “BP Template Pack” plugin… You know, the plugin they ask you to download that copies over template files making your theme BP compatible. It appears to be something with the JS/AJAX features, because when I actually check the option to “Disable BP Template Pack JS / AJAX” then the password check works for s2.

Also, I just tried the redirect for the wp-login.php… The password reset feature works fine, only issue is that if I use a login widget, and click “Log Me In” it must somehow pass something to wp-login.php and not let me login. I was locked out of my site for a moment.

Viewing 11 replies - 1 through 11 (of 11 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.