Skip to:
Content
Pages
Categories
Search
Top
Bottom

Important Buddypress Function not working

  • @yeggermuffin

    Member

    You know when you go to someone’s profile and it has the blue message with the user’s username identifier? @username, then after that it has the question mark info bubble that is supposed to, when clicked, drop down a message: @%username% is a unique identifier for %username% that you can type into any message on this site. %username% will be sent a notification and a link to your message any time you use it.

    This just simply does not work on my site, I am using a Custom Theme

    Does anybody know how to get this working?

Viewing 11 replies - 1 through 11 (of 11 total)
  • @r-a-y

    Keymaster

    This is because the BP Template Pack plugin needs to be updated, particularly the JS variables.

    Read this for a temporary solution:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-template-pack-and-buddypress-1-2-6-things-break-but-i-have-a-solution

    @yeggermuffin

    Member

    I updated the template pack.php to her version, but nothing happened, no changes, still not working

    @yeggermuffin

    Member

    This is making me mad beyond belief. I have done everything, @r-a-y.

    I am not using 1.2.6, or 1.2.7, I am using 1.2.5

    @yeggermuffin

    Member

    I will like pay somebody to help me fix this.

    @mercime

    Participant

    @luvs123

    Member

    Hey look at this, Same problem that I have.

    @luvs123

    Member

    bump since the flood last night

    @boonebgorges

    Keymaster

    `var jq = jQuery;
    jq(document).ready( function() {
    /* @mention username help button display */
    if ( jq( ‘span.highlight span’ ).length )
    jq( ‘span.highlight span’ ).toggle();
    });`

    @luvs123

    Member

    put this where?

    @luvs123

    Member

    put in bp-custom.php, and functions.php, i get Parse error: syntax error, unexpected T_VAR in /home/content/47/6114047/html/wp-content/themes/*****/functions.php on line 116

    @gunju2221

    Participant

    try adding:

    `/* Add words that we need to use in JS to the end of the page so they can be translated and still used. */
    function bp_dtheme_js_terms() { ?>

    var bp_terms_my_favs = ”;
    var bp_terms_accepted = ”;
    var bp_terms_rejected = ”;
    var bp_terms_show_all_comments = ”;
    var bp_terms_show_all = ”;
    var bp_terms_comments = ”;
    var bp_terms_close = ”;
    var bp_terms_mention_explain = ”;

    <?php
    }
    add_action( ‘wp_footer’, ‘bp_dtheme_js_terms’ );`

    to your functions.php file.

    There is extra code in there, if you get a (cannot re-declare) notice, delete the code following your already called function.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Important Buddypress Function not working’ is closed to new replies.
Skip to toolbar