WordPress.org

Ready to get started?Download WordPress

Forums

FB like notification for buddypress
[resolved] problem while activation of the plugin (7 posts)

  1. rakshithvbharani@gmail.com
    Member
    Posted 1 year ago #

    I installed and tried to activate it it says :

    "Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in /home/sitename/public_html/wp-content/plugins/fb-like-notification-for-buddypress/bp-fb-like-notification.php on line 17
    "
    .....any help would be appreciated.

    http://wordpress.org/extend/plugins/fb-like-notification-for-buddypress/

  2. ckchaudhary
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    Your server must be running a php version lower than 5.3.

    What you can do is :
    open the file public_html/wp-content/plugins/fb-like-notification-for-buddypress/bp-fb-like-notification.php and go to line number 17.

    Replace the line
    add_action( 'bp_include', function() { new BP_FB_like_notification(); } );
    with the following:

    add_action( 'bp_include', 'bfln_instantiate' );
    function bfln_instantiate(){
    	new BP_FB_like_notification();
    }

    save the file.. it should work now

  3. unknownterritory20
    Member
    Posted 1 year ago #

    Hi there,

    Great plugin. Is there a way to make this a sidebar widget? This would really be awesome.

  4. joomir
    Member
    Posted 11 months ago #

    this plugin doesnt work in latest wordpress and buddypress, modification needed?

  5. ckchaudhary
    Member
    Plugin Author

    Posted 11 months ago #

    Hi @joomir,
    I just tested the plugin with WordPress 3.6 and BuddyPress 1.8 and it works fine.
    Let me know what versions you are using

  6. joomir
    Member
    Posted 11 months ago #

    Hi, no sorry plugin work fines. does this plugin send notification when post liked?

  7. ckchaudhary
    Member
    Plugin Author

    Posted 11 months ago #

    The plugin doesn't add/send any notification by itself. The plugin fetches and displays whatever notifications are there. So for your answer, no it doesn't.
    On a side-note, it'll be more convenient if you start a new thread for new questions. Thnx

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic