WordPress.org

Forums

BuddyPress FollowMe
[resolved] Update to 3.5.1 (16 posts)

  1. charlietech
    Member
    Posted 2 years ago #

    Hey there,
    I was wondering when are you going to update the plugin to 3.5.1? When i select the follow tab, the sidebar appear under the main content.

    http://wordpress.org/extend/plugins/buddypress-follow-me/

  2. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    The plugin is beta compatible for buddypress 1.7 and wp 3.5.1

    you can check the code in my git,

    https://github.com/dzmounir/buddypress-follow-me

    I will update the plugin soon.

  3. charlietech
    Member
    Posted 2 years ago #

    Hey meg,

    Updated to bp 1.7 and it went bad to worst. [ redacted, support is offered via the forums and not email ]

  4. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    I think the probleme is from your theme, witch theme used ?
    can you make screen capture or send the link of your site.

    the new version work fine with the buddypress themes and compact theme.

    thanks,

  5. mconte
    Member
    Posted 2 years ago #

    Hi meg@info,

    I think that the problem is related with this piece of code:

    current_theme_supports('buddypress')

    Some themes don't set up the bp feature :(

    I'm trying to add bp 1.7 compatibility to one of my plugins and I found the same problem with some themes.

  6. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Hi @mconte, @charlietech

    @charlietech please update your theme to make it compatible to bp 1.7.
    Add in your functions.php this code

    add_theme_support( 'buddypress' );

    Read this for more information :
    http://codex.buddypress.org/theme-compatibility/

    Thanks for feedback @mconte, it's true , when the plugin bp is updated to 1.7
    and the current theme is not updated to bp 1.7(add_theme_support( 'buddypress' ) was not added to functions.php).

    i was add new test, is to check if theme tags containt the tag 'buddypress'.

    i will update the function bp_follow_is_bp_default to this code :

    // if active theme is BP Default or a child theme, then we return true
     	// If the Buddypress version  is < 1.7, then return true too
       if(current_theme_supports('buddypress') || in_array( 'bp-default', array( get_stylesheet(), get_template() ) )  || ( defined( 'BP_VERSION' ) && version_compare( BP_VERSION, '1.7', '<' ) ))
    
       		return true;
       else {
    	    // check to see if the 'buddypress' tag is in the theme
    	    // some bp themes are not yet compatible to bp 1.7 but the plugin is updated
    
       		// get current theme
    	    $theme = wp_get_theme();
    	    // get current theme's tags
    	    $theme_tags = ! empty( $theme->tags ) ? $theme->tags : array();
    
    	    // or if stylesheet is 'bp-default'
    	    $backpat = in_array( 'buddypress', $theme_tags );
    	    if($backpat)
    	    	return true;
       		else
       			return false;
       }
  7. Broobe
    Member
    Posted 2 years ago #

    So, now every theme that supports buddypress should add that line, isn't it? I just want to understand. I mean, when a theme adds buddypress 1.7 support, the only work is add that line? I think that in the future , themes will change the layout to be really bb 1.7 compatible and it will be really difficult make a plugin compatible with bb 1.6.x and 1.7. What do you think about that?

  8. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Hi @Broobe,

    To make the theme compatible with new future of bp 1.7, you need to add this line, this is not mean that theme without this line will not work.

    Yes of course, it will be difficult to make plugins compatible with bp 1.6.x and 1.7. but if you use a theme compatible with buddypress or child theme compatible with bp, (i think) all plugins will cover this case.

    the new future of bp 1.7 (theme-compat) force buddypress plugins developers to make a compatibility of plugins with all themes.

  9. charlietech
    Member
    Posted 2 years ago #

    [ redacted, as mentioned above support is offered via the forums and not via email ] I added the codes above and nothing happened.

  10. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    @charlietech,

    Witch version of buddypress you use ?
    and witch theme ?

    Thanks

  11. charlietech
    Member
    Posted 2 years ago #

    bp 1.7 and suffusion

  12. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    I was just download and test the suffision theme from :

    http://wordpress.org/extend/themes/suffusion

    I use bp 1.7 and wp 3.5.1, BuddyPress FollowMe 1.2.2

    All work good!!

    Are you using Suffusion BuddyPress Pack ?

  13. charlietech
    Member
    Posted 2 years ago #

    Yes

  14. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Disable it, and try again,
    buddypress 1.7 add theme Compact future, so it will be integrated with all wp themes without adding theme pack.

  15. charlietech
    Member
    Posted 2 years ago #

    Yea it cause an error with my site, so hopefully i can get it resolved soon.

  16. meg@info
    Member
    Plugin Author

    Posted 2 years ago #

    Resolved!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress FollowMe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.