Skip to:
Content
Pages
Categories
Search
Top
Bottom

new version of BuddyPress Rate Forum Posts

  • @dwenaus

    Participant

    Just a heads up that there is a new version of BuddyPress Rate Forum Posts. This version mainly adds admin options, so if you make customizations to the variables, future upgrades won’t erase them. I also added the karma points in the member view.

Viewing 12 replies - 51 through 62 (of 62 total)
  • @rossagrant

    Participant

    @dwenaus Hi mate, I asked you a couple of months back if there was a way to remove the rank of forum topics in the forums directory and you kindly gave me some info in the codex to look at in regards to removing the action but I’m struggling a bit with removing the correct code from the plugin.
    Do you know what code it is exactly that I need to take away to get rid of the hook to the ranking?
    Sorry to ask again but I’m pretty new to code and can’t seem to get it right.
    Thanks
    Ross :)

    @rossagrant

    Participant

    I think Dwenaus might be away at the min as I haven’t seen him on in a couple of weeks. Does anyone know how to remove the ranking from his plugin in the main forum directory?
    Thanks!

    @dwenaus

    Participant

    removing an action is a little tricky, as you need to remove it exactly as it was added. perhaps it might be simpler to hide the stuff you don’t like with css, or remove it with jquery. but i’ll look into it.

    @dwenaus

    Participant

    this code put in the function.php will remove the filter:

    remove_filter( 'bp_directory_forums_extra_cell_head', 'rfp_after_topic_title_head', 3 );
    remove_filter( 'bp_directory_forums_extra_cell', 'rfp_after_topic_title', 3 );

    @rossagrant

    Participant

    @dwenaus that looks great thank you so much. I just don’t see a function.php file in the rate forum posts plugin or am I supposed to add it elsewhere?

    @rossagrant

    Participant

    @dwenaus my mistake. I put it in the functions.php file in my theme and it’s worked brilliantly! THANK YOU!

    @el_terko

    Participant

    Hi there, when I first rate a post, this msg appears:

    Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/wordpress-mu/wp-settings.php on line 765

    Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/wordpress-mu/wp-settings.php on line 780

    If I refresh, everything goes back to normal.
    Using WPMU 2.9.2, BP 1.2.3 and malleable for BP 0.0.7 on localhost.

    Regards,

    @afritech

    Participant

    I have also had that Deprecated error when I was running it on WAMPP with BP1.2.4 and WP 2.9.2 Seemed to have been fine on XAMPP.

    When I upgraded to BP 1.2.5.2 the plugin wont work. I have tried de-activating and reactivating but no change. I am guessing it does make changes to one of the wp_ tables which i need to clear. Will try that sometime.

    Great plugin nevertheless. Really handy for group memebers’ self moderation.

    @youlichika

    Member

    Hi, I use WP 3.03+BP1.26, Each user can mark a rating for one article many times(If I willing, I can always click so that the article rating can reach +60). How to limit one user mark one rating for one article? Thanks.

    @demo7up

    Member

    I was wondering if anyone could help me out i have reached out to the developer and he wants 140 for his time although i do think its fair and he should be paid for his time i just cannot afford it at this time unfortunately ..

    Im trying to show the users rating points in the login box after the user has logged in already

    i have added this code

    <?php
    global $bp;

    $karma = get_usermeta( $bp->displayed_user->id, ‘rfp_post_karma’ );
    $relative_karma = rfp_calculate_relative_karma( $karma, $bp->displayed_user->id );

    echo ‘

    ‘ . get_option( ‘rfp_karma_label’ ) . rfp_poster_karma( $relative_karma ) . ‘

    ‘;
    ?>

    it gets and displays the label no problem but it doesn’t show the the actual points after the label i have searched in and out and i cant figure it out.

    Any help is much appreciated.

    @demo7up

    Member
    Code:
    <?php
    global $bp;

    $karma = get_usermeta( $bp->displayed_user->id, ‘rfp_post_karma’ );
    $relative_karma = rfp_calculate_relative_karma( $karma, $bp->displayed_user->id );

    echo ‘<div class="rfp-member-profile-karma">’ . get_option( ‘rfp_karma_label’ ) . rfp_poster_karma( $relative_karma ) . ‘</div>’;

    add_action( ‘bp_sidebar_me’, ‘rfp_show_poster_karma’ );

    ?>

    @palmdoc

    Participant

    @dwenaus the plugin has a bug, causing video embedding to fail on forum posts but not the activity stream

Viewing 12 replies - 51 through 62 (of 62 total)
  • The topic ‘new version of BuddyPress Rate Forum Posts’ is closed to new replies.
Skip to toolbar