Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,126 through 6,150 (of 14,305 total)
  • @robin-w

    Moderator

    probably site issue – bbpress just uses WordPress registration

    @robin-w

    Moderator

    There si a hook that you could use eg for replies there is

    /** Additional Actions (Before Save) **************************************/
    
    	do_action( 'bbp_new_reply_pre_extras', $topic_id, $forum_id );
    
    	// Bail if errors
    	if ( bbp_has_errors() ) {
    		return;
    	}

    in includes/replies/functions.php line 354 or thereabouts depending on version

    so you could have a hook to add action that checks if bbp_has_errors and if so mail the user before the function bails.

    @robin-w

    Moderator

    my style pack plugin has an unread section which I think is what you want

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>

    dashboard>settings>bbp style pack>unread posts

    @robin-w

    Moderator

    my style pack plugin has an unread section which I think is what you want

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>

    dashboard>settings>bbp style pack>unread posts

    @robin-w

    Moderator

    great – glad you are fixed. I suspect a data corruption of some sort

    @robin-w

    Moderator

    so maybe a database corruption, do you have live data in the forums, or just test stuff ?

    if just test then go to

    dashboard>tools>forums>reset forums and delete all your forum data.

    You can then start again

    @robin-w

    Moderator

    hmmm…..

    old site, new problem?
    new site new problem?
    always happened?
    only happening after update of bbpress?
    etc.

    you could try deactivating and then deleteing bbpress and then re-installing

    you won’t lose any posts you already have

    @robin-w

    Moderator

    you could exclude forums from caching in sg optimizer

    go to

    dashboard>sg optimizer>supercacher settings>Excluding URLs

    and set up your site’s forums urls

    eg (and you will need to change these is you don’t have the default slugs set up)

    add these

    http://www.site.com/forums/*
    http://www.site.com/forum/*
    http://www.site.com/topic/*
    http://www.site.com/reply/*

    @robin-w

    Moderator

    consistently to certain random users, or occasionally across all users ?

    ie do you have a ‘random’ user who is getting this problem all the time that you can test with?

    again this could be caching

    @robin-w

    Moderator

    caching software stores website pages. Certain events cause these pages to refresh.

    so if x is posting and it’s not happening, and then y on the same site does an action, it may refresh the cache and then the post by x may get updated.

    Loads of possibilities, just trying to help understand what might be causing 🙂

    @robin-w

    Moderator

    ok, put this in your child theme’s function file – or use

    Code Snippets

    add_filter( 'bbp_register_topic_post_type', 'rew') ;
    
    function rew ($rew) {
    
    $rew = array(
    				'labels'              => bbp_get_topic_post_type_labels(),
    				'rewrite'             => bbp_get_topic_post_type_rewrite(),
    				'supports'            => bbp_get_topic_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Topics', 'bbpress' ),
    				'capabilities'        => bbp_get_topic_caps(),
    				'capability_type'     => array( 'topic', 'topics' ),
    				'menu_position'       => 555555,
    				'has_archive'         => ( 'forums' === bbp_show_on_root() ) ? bbp_get_topic_archive_slug() : false,
    				'exclude_from_search' => true,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_topics_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew ;
    }
    
    add_filter( 'bbp_register_reply_post_type', 'rew2') ;
    
    function rew2 ($rew) {
    
    $rew2 = array(
    				'labels'              => bbp_get_reply_post_type_labels(),
    				'rewrite'             => bbp_get_reply_post_type_rewrite(),
    				'supports'            => bbp_get_reply_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Replies', 'bbpress' ),
    				'capabilities'        => bbp_get_reply_caps(),
    				'capability_type'     => array( 'reply', 'replies' ),
    				'menu_position'       => 555555,
    				'exclude_from_search' => true,
    				'has_archive'         => false,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_replies_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew2 ;
    }

    @robin-w

    Moderator

    would be worth retesting your issues in this and other posts with that switched off

    @robin-w

    Moderator

    are you using caching software?

    @robin-w

    Moderator

    I’ll take a look over the next day or so

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    it is a bug in current version, the authors are aware

    this temporary fix works for many

    bbp Refresh Last Active Time

    @robin-w

    Moderator

    bbpress just uses WordPress login, so the issue is there.

    wordpess doesn’t gave this feature in native mode, so I suspect you have another password/login related plugin that is causing the issue

    In reply to: User Statistics

    @robin-w

    Moderator

    🙂

    In reply to: User Statistics

    @robin-w

    Moderator

    if you can find someone who is willing to clone the plugin, learn how to upload, maintain and then answer the support forum questions for free, then no reason why it should not be made live again.

    In reply to: User Statistics

    @robin-w

    Moderator

    that should do it

    In reply to: User Statistics

    @robin-w

    Moderator

    add an additional if statement

    if ( is_bbpress() && ! current_user_can( 'spectate' ) )

    if they can’t spectate then they are blocked

    In reply to: User Statistics

    @robin-w

    Moderator

    since the plugin is not being maintained, suggest you just edit that file to take out the comment out !!

    so change

    //if (is_user_logged_in())  {
    
    				foreach( $data as $key => $html ) {
    				   $HTMLOutput .= "<div class='bbpas-" . $key . "' id='bbpas-" . $key . "'>" . $html . "</div>";
    				}
                //}

    to

    if (is_user_logged_in())  {
    
    				foreach( $data as $key => $html ) {
    				   $HTMLOutput .= "<div class='bbpas-" . $key . "' id='bbpas-" . $key . "'>" . $html . "</div>";
    				}
                }

    @robin-w

    Moderator

    none I know for a specific forum

    In reply to: User Statistics

    @robin-w

    Moderator

    The drawback with the user statistics plugin is that if a user is not logged in they can see the usernames of all logged in people for last 24 hours.

    are you sure that this is not a ‘caching’ problem? either on server or your pc ?

    does it just disappear after 24 hours and exactly 24 hours?

    @robin-w

    Moderator

    this forum is for free support for free software, support is offered free by volunteers, and you posted your question on a weekend.

Viewing 25 replies - 6,126 through 6,150 (of 14,305 total)