Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Conflict w/ Facebook and Twitter Plugins

UserPost

9:09 pm
September 6, 2010


equip4service

Member

posts 8

1

Greetings again! I found a conflict with the following plugins:

Simple Facebook Connect: http://wordpress.org/extend/plugins/simple-facebook-connect/

Simple Twitter Connect: http://wordpress.org/extend/plugins/simple-twitter-connect/

These plugins are modular and function fine with the Role Scoper plugin EXCEPT the module plugins that allow users to leave comments on posts without logging into their WP account, but instead using Facebook or Twitter accounts. I'm not sure why Role Scoper conflicts since I have WP set to accept comments from anyone; however, when Role Scoper is activated, the comments area of each post throws the following error.

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'stdClass::has_cap' was given in/home/p4x/www/www/wp-includes/capabilities.php on line 1067

For now I've just disabled the SFC-Comments (Facebook) and STC-Comments (Twitter) modules because I need Role Scoper to work more than I wanted the convenience of using FB and Twitter accounts to leave comments.

Thanks for all your work on Role Scoper!

in Jesus,

Scott

8:38 pm
October 20, 2010


Kevin

Admin

posts 2503

2

I went through the Twitter app registration to get Simple Twitter Connect running on a test site. STC Comments accessory plugin is active. Also have the current Role Scoper 1.3 release candidate running on that site, and no apparent conflict. I logged in once regularly, then connected the user to the Twitter account via button on user profile. After than, I can login via the Twitter Connect button on either the login page or the comments page.

Do you want to give it another try with the current STC and Role Scoper code?

To make the comments widget work on the 2010 theme, I had to add this to the theme's function.php :

add_action( 'comment_form_before_fields', 'stc_before_comment_fields' );
add_action( 'comment_form_after_fields', 'stc_after_comment_fields' );

function stc_before_comment_fields() {
  echo '<div>';
  do_action('alt_comment_login');
}

function stc_after_comment_fields() {
  echo '</div>';
}

About the Agapetry forum

Currently Online:

11 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin