Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-16T01:38:48-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10070 2012-01-16T01:38:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=60638#p60638 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Thanks

Statistics: Posted by pettedemon — January 16th, 2012, 1:38 am


]]>
2012-01-14T21:36:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=60530#p60530 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Thanks for the follow-ups here.
Content protected by s2Member is not available for anyone without proper access to that content, and this includes bots and silent HTTP requests made by 3rd party services such as Facebook. This is not a bug, it's the intended behavior. If your site survives on traffic from Facebook, I would suggest making sure that key areas of your site that need to be indexed by search engines or shared through social networks remain publicly available (i.e. not protected by s2Member). Anything protected by s2Member, is by definition, NOT available publicly.

There have been some attempts made by myself and others in this forum to circumvent this under special circumstances (you'll find code samples for that above). However, please let it be known that none of these would be considered "safe" ways to deal with the issue. The proper way to deal with this (in my opinion) is to make some of your content available publicly, so that it CAN be shared through social networks. Anything else that you make off limits to the public, is not going to work with social network APIs like the Facebook "Like" feature, because that content is available only to "Members" of your site with a Username/Password that authenticates them for access.

Statistics: Posted by Jason Caldwell — January 14th, 2012, 9:36 pm


]]>
2012-01-11T15:29:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=60278#p60278 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by pettedemon — January 11th, 2012, 3:29 pm


]]>
2011-11-25T07:37:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=53865#p53865 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> This code is not working for me, theres got to be another way because half of my subscribers I get directly from facebook "like" posts...the rest are from twitter. With this option to reach out to new potential subscribers taken away it defeats the purpose of using this plugin altogether.

Statistics: Posted by XHIBIT — November 25th, 2011, 7:37 am


]]>
2011-10-21T08:00:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=48490#p48490 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]>
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter ("ws_plugin__s2member_is_systematic_use_page", "my_filter");
function my_filter ($is_systematic = FALSE)   
{       
//if (stripos ($_SERVER["HTTP_USER_AGENT"], "facebookexternalhit") !== false)           
if (stripos ($_SERVER["HTTP_USER_AGENT"], "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)") !== false)
return true;       
else           
return $is_systematic;   
}
?>

Statistics: Posted by sijo55 — October 21st, 2011, 8:00 am


]]>
2011-10-21T07:01:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=48479#p48479 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> If a user click on the 'Like' button on an article for members, then my Membership Options Page is shown on Facebook as 'Liked', not the actual article page.
I need a fix for this.. please!

Statistics: Posted by sijo55 — October 21st, 2011, 7:01 am


]]>
2011-10-20T17:55:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=48437#p48437 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Thanks for your inquiry.
No, nothing formally added to s2Member's source code in this regard yet. Mainly because this would create a potential security hole in s2Member, since the HTTP_USER_AGENT could be forged by an attacker. Until we find a better way to allow Facebook in, under special circumstances, you'll need to implement something along the lines of what I posted here: viewtopic.php?f=4&t=10070&p=48310#p20646

Statistics: Posted by Jason Caldwell — October 20th, 2011, 5:55 pm


]]>
2011-10-18T17:38:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=48310#p48310 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]>
Regards
sijo

Statistics: Posted by sijo55 — October 18th, 2011, 5:38 pm


]]>
2011-08-12T16:13:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=30614#p30614 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by johnsamwallace — August 12th, 2011, 4:13 pm


]]>
2011-08-12T13:52:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=30606#p30606 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by Jwrbloom — August 12th, 2011, 1:52 pm


]]>
2011-06-14T05:53:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20691#p20691 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by johnsamwallace — June 14th, 2011, 5:53 am


]]>
2011-06-13T22:53:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20646#p20646 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]>
I have some experience with the Facebook APIs, and I can tell you that Facebook needs to make a full request to the actual page, where it pulls several details. Since the page is protected from public view, it's locked down whenever Facebook attempts to collect those details. I suppose we might be able to allow Facebook to access these pages, perhaps with a configuration area that excludes certain User Agents, as configured by the site owner ( optionally )? Open to feedback on this please. @TODO?

For now, you could do something like this.
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter 
("ws_plugin__s2member_is_systematic_use_page", "my_filter");
function my_filter ($is_systematic = FALSE)
    {
        if (stripos ($_SERVER["HTTP_USER_AGENT"], "facebookexternalhit") !== false)
            return true;
        else
            return $is_systematic
;
    }
?>

Statistics: Posted by Jason Caldwell — June 13th, 2011, 10:53 pm


]]>
2011-06-07T16:55:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20366#p20366 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]>
Thanks

Rick

Statistics: Posted by mannclann — June 7th, 2011, 4:55 pm


]]>
2011-06-07T15:01:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20361#p20361 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by johnsamwallace — June 7th, 2011, 3:01 pm


]]>
2011-06-07T14:11:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20346#p20346 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]>
Either you edit your posts to use this, or modify each post/page with a WordPress hook based on the user's access permissions. Hmm...

Statistics: Posted by Cristián Lávaque — June 7th, 2011, 2:11 pm


]]>
2011-06-07T13:19:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20336#p20336 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by johnsamwallace — June 7th, 2011, 1:19 pm


]]>
2011-06-07T12:32:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20329#p20329 <![CDATA[Re: Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by Cristián Lávaque — June 7th, 2011, 12:32 pm


]]>
2011-06-07T06:24:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10070&p=20308#p20308 <![CDATA[Facebook "Like" button defaults to Member Option Page]]> Statistics: Posted by johnsamwallace — June 7th, 2011, 6:24 am


]]>