wout_m (@wout_m)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @wout_m

    Participant

    I solved this problem by modifying de bbpress-login widget.My users can upload their fotos in the front-end by clicking on their avatar-photo, that is displayed in the sidebar.

    The info is from here: https://wordpress.org/support/topic/plugin-user-photo-front-end-upload

    I am aware this it is not the most elegant way, but this is how I fixed it:

    1) I installed the WP-prettyPhoto plugin (maybe this is not necesary, but I think I need it )

    2) activate the bbpress-login widget by putting it in the sidebar (in the WP admin section)

    3) I addded this script to my sidebar.php: (in my case in wp-content/themes/inove/)

    <script type="text/javascript">

    function user_avatar_refresh_image(img){

    jQuery('#user-avatar-display-image').html(img);

    }

    </script>

    <script type='text/javascript'>

    var swrAjax = {

    ajaxurl: "http://www.yoursite.com/wp-admin/admin-ajax.php"

    };

    </script>

    4) add jquery to the head section:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2"></script>

    5) I added these lines to wp-content/plugins/bbpress/bbp-includes/bbp-core-widgets.php, just

    after “<?php else : ?>” (line 132):

    (this will show the avatar when the user is logged in)

    <div id="user-avatar-display" >

    <p id="user-avatar-display-image"><?php echo get_avatar( bbp_get_current_user_id(), '100' ); ?></p>

    </div>

    <?php

    echo ‘Upload avatar
    ‘;

    You have to configure the css for a nice layout.

    In reply to: BBPress 2 Unread Post

    @wout_m

    Participant

    I am also looking for this.

    @wout_m

    Participant

    I am also looking for this, because my users are complaining this is missing, since I converted my forum from the BBPress standalone version to the BBP2.0 WordPress plugin. Has any anybody an idea how to fix it?

    @wout_m

    Participant

    I found this plugin for wordpress.

    http://adambrown.info/b/widgets/2008/02/20/new-plugin-kb-new-posts/

    It places a cookie and then marks all post since the last visit with “new”. It seems to be a simple plugin and I think it must be posible to make it work for BBpress2.0 posts.

    Can someone give me a clue?

    @wout_m

    Participant

    Do you have active the bbpress anti spam plugin?

    I found out that, in my case, the problem was caused by that plugin and

    I have solved it by turning off the bbpress anti spam plugin (https://wordpress.org/extend/plugins/bbpress-antispam/)

    @wout_m

    Participant

    I have got the same problem, but i don’t know what could be the solution

Viewing 6 replies - 1 through 6 (of 6 total)