Forum Replies Created
Thank you for the suggestion. Indeed I think it is the best solution. However I’m not really at ease when I need to play in Php. Can you give me an example of what would look like such an implementation?
Here is the code I found in Page.php (which I think is the file that need to be modified) :
Pages: ‘, ‘after’ => ‘
‘, ‘next_or_number’ => ‘number’)); ?>
Can you point me out where and how to integrate s2Member snippet?
I use a plugin for the like button to show up automatically. I’ve read a couple of things on Facebook developers but for now it seems to me that it’d be a lot of trouble to modify the plugin to act like I want. I will have to do it sooner or later as I think it’s important to have the Facebook thing well set up, but since I plan to open my website on November 1st I need to find solutions that are within my skills.
Thank you both for your time and help!
I abandoned this idea because I can’t waste too much time on that.
As I really need the content of the post to be restricted to members only I decided to use API Scripting.
It’s a little more time consuming (and now I need to go through all my posts to add the script), but definitely worth the effort.
PROS : Both share and like works, no additional code necessary.
CONS : More time consuming.
Method : Here is how I start my posts to block post content to logged in users only (regardless to level)…
You must login to read this post and access download link
Hope that helps a couple of peoples out there!
First of all thank you for your fast answer. I read about pros and cons about both Share and Like button and even if I find the Share button useful I’ll most likely have to get rid of it.
I just tried to “Like” one of my post and see what was going on and Facebook and the same behavior happens. “XYZ liked a link” whereas the link is the link to the Membership Options Page (aswell as the thumbnail and excerpt).
How can I keep my posts restricted to members-only and have the Like or Share buttons (or both) act as they should?