Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 2,776 through 2,800 (of 64,452 total)
  • Author
    Search Results
  • #222904
    manojmohandev
    Participant

    Getting 404 response while navigating between forum archive pages even though content are displayed. Issue is there in BBPress website as well. Please check the response for the https://bbpress.org/forums/page/2/ for reference.

    #222903
    cosmiclove1978
    Participant

    Dear bbPress-ers!
    Hello. I’m Herman.
    I will greatly appreciate your assistance with a couple of problems with my forum I’ve been trying to fix for a couple of days now with no solution.

    I wanted to display the message “Replies not viewable to non-members” to anonymous/not-logged-in users browsing my forum. This message replaces all actual replies with the generic one above. I was able to achieve this with the code below found on this page Dezzain website. The problem though is that this message shows up everywhere a reply is posted. So if there are 20 replies, there will be 20 generic messages.
    So my request for help #1: I would like the 1 reply ONLY to display the generic message, and the other replies hidden. Any chance you can help me with it please?
    #2, I would like to include a link to register/login in that generic reply. I am not too familiar with php. Can anyone rewrite the message below so that it also has a url portion for “Login here” | Register”?

    Thanks so very much in advance.

    bb_auth_reply_view( 
    $reply_id
    ) {
    $reply_id
    = bbp_get_reply_id( 
    $reply_id
    );
     
    // Check if password is required
    if
    ( post_password_required( 
    $reply_id
    ) )
    return
    get_the_password_form();
     
    $content
    = get_post_field( 
    'post_content'
    , 
    $reply_id
    );
     
    // first topic reply shouldn't be hiding
    $rep_position
    = bbp_get_reply_position(
    $reply_id
    );
     
    // if user is not logged in and not the first post topic
    if
    ( !is_user_logged_in() && 
    $rep_position
    > 1 ) {
    return
    "Replies only viewable for logged in users"
    ;
    } 
    else
    {
    // return normal
    return
    $content
    ;
    }
     
    }
    add_filter( 
    'bbp_get_reply_content'
    , 
    'bb_auth_reply_view'
    );
    #222857
    regnalf
    Participant

    In the bbpress settings the option “Edit Lock” could not be set to 0 to allow allways edit the post! If you set it to 0, the default 5 minutes come back again!

    Even if i set it to 0 in the database, it will be changed to 5 if you save the settings again!

    #222850
    kropot
    Participant

    Hi friends. I greet you from Uruguay. I am new to bbPress, I am setting up a site with Elementor’s HELLO theme and I am in need of improving the Topic and Answers editor, that is, giving the user more options such as a button with icons, a button to insert YouTube videos, etc … do you have any suggestions on this?

    Thank you!!

    #222829
    hellotoyou
    Participant

    Hi i was going to use bbpress on my site https://yourwp.site
    But the layout doesn’t look good on my theme.
    There is some place with tips and/or code snippets to improve it?

    #222823
    regnalf
    Participant

    Thanks Robin!

    And here for the record the full code i use:

    add_filter('bbp_get_breadcrumb', 'bbpress_filter_breadcrumbs', 10, 4);
    function bbpress_filter_breadcrumbs ($trail, $crumbs, $r, $args)
    {
       return '<div class="bbp-breadcrumbs">' . $trail . '</div>';
    }
    
    #222800
    wenghong216
    Participant

    Hi Robin, when you are mentioning the above code is use by bbpress, is it mean that it will not apply exactly to buddyboss platform plugin?

    #222796
    Bedurion
    Participant

    Greetings,

    I would like to ask you what is the best way to change the bbpress role names. For example Keymaster to Support Team.

    I can’t find the way to do it, and some of the codes I found on the internet are old or I’m afraid they might break my site.

    Thanks.

    #222795
    Bedurion
    Participant

    Greetings.

    I would like to know how I can hide the participant role from bbpress comments, since I would like to show only the administrator or moderator roles.

    I have searched the internet but I would like to ask you what is the best way to do it.

    Farewell.

    #222790
    Robin W
    Moderator

    this is the code bbpress uses

    $topics_query = array(
    
    					// What and how
    					'post_type'      => bbp_get_topic_post_type(),
    					'post_status'    => bbp_get_public_topic_statuses(),
    					'post_parent'    => $settings['parent_forum'],
    					'posts_per_page' => (int) $settings['max_shown'],
    					'meta_query'     => array( array(
    						'key'  => '_bbp_reply_count',
    						'type' => 'NUMERIC'
    					) ),
    
    					// Ordering
    					'orderby' => 'meta_value_num',
    					'order'   => 'DESC',
    
    					// Performance
    					'ignore_sticky_posts'    => true,
    					'no_found_rows'          => true,
    					'update_post_term_cache' => false,
    					'update_post_meta_cache' => false
    				);
    #222773
    regnalf
    Participant

    use if(strpos($wp->request, $bbpress_index) !== false) if you also want to restrict all possible sub-urls!

    #222766
    regnalf
    Participant

    bbpress private groups does a good job to hide forums, but that still doesn’t remove the index page. if anyone needs to restrict the index page for a complete private forum, here is the code:

    add_action( 'wp', 'restrict_bbpress' );
    function restrict_bbpress()
    {
    
    	global $wp;
    	global $wp_query;	
    	
    	$bbpress_index = get_option ('_bbp_root_slug');
    	
    	if ($wp->request == $bbpress_index)
    	{
    
    		$user = get_userdata(get_current_user_id());
    		
    // Example for a user role member
    		if (! is_user_logged_in() || 
    		    ! in_array( 'member', (array) $user->roles ))
    		{
    			$wp_query->set_404();
    			status_header( 404 );
    		}
    
    	}
    
    }
    #222762
    cassel
    Participant

    I have been scheduling posts for a while now and everything works fine EXCEPT that images included in the posts seem to disappear after a while. I am not sure why.

    They will show as an attached image in addition to the embedded image, but I don’t need them both. If I remove the attached image, it also removes the embedded one.

    What is the simplest way to have an image embedded in a scheduled post when I have to create those posts in the backend using the WP editor (instead of the forum itself)?

    Here is an example of a simple post that I schedule every month and you can see the image will be different every month.

    What are you working on (in August 2021)?

    I currently have WP 5.8, bbpress 2.6.6, bbp style pack 4.8.9, bbPress Multi Image Uploader 1.0.6, and using the Classic editor in WP.

    #222742
    Robin W
    Moderator

    if forums are private then bbpress search should only show results to logged in users

    #222727
    jseanm69
    Participant

    I also have an account as a user and I unsubscribed from everything just recently. I have not received any communications from the system since Friday. We are just running GD bbPress Attachments as an additional plugin to bbpress.

    The users that I am seeming have issues seem to be around a particular topic. Is there a place I can go look in the database and see what the user is subscribed to? When I login is as them, I unsubscribe from everything that was there. I also went in and turned off all their email notifications. They still received notifications the last few days. Must be something I am missing.

    Any ideas is appreciated.

    #222726

    In reply to: CSS on Index Page

    regnalf
    Participant

    I wanted to style the body tag too, in the subpages like topic or forum the css class is in the body class section. the #bbpress-forums is deeper inside the page.

    #222724
    Robin W
    Moderator

    Are you running any other bbpress related plugins?

    #222720

    In reply to: CSS on Index Page

    Robin W
    Moderator

    styling root page us

    #bbpress-forums

    eg

    #bbpress-forums ul.odd
    {
    background-color:blue ;
    }

    or use

    bbp style pack

    #222719
    regnalf
    Participant

    Hi, i want to style the index (root) page with css.
    As i see the pages for single forum and the topic etc. have the body class “bbpress” and “forum”, “topic” etc.

    But the root index page have nothing of them. I doesn’t use a custom page for it, it’s all standard from bbpress settings.

    #222712

    In reply to: Styling Issue

    Robin W
    Moderator

    your theme is loading a styling sheet

    https://www.jeremybassetti.com/wp-content/themes/soledad/css/buddypress-bbpress.min.css?ver=7.9.6

    which is loading after my plugin, so takes precedence.

    #222696

    Topic: Styling Issue

    in forum Themes
    jeremy
    Participant

    Hi. Testing bbPress using Penci Soledad. Installed Robin’s Style Pack, but none of the changes are being registered. I cleared caches and all. I should note that I have a dark theme on my site and the styling needs help. Any advice?

    #222679
    wpneil
    Participant

    Hi very new to bbpress so if this is easy and answer obvious please forgive a newbie.

    Is it possible to set a forum up so the first post in a topic is available to public view
    but any replies can only be seen by those registered. The owners association I’m asking the questions for wants to do this to encourage registration and joining the association.

    Many thanks
    Neil

    #222673
    specstanza
    Participant

    Thank you @robin-w !
    My first idea was to display:none the_title but I’m definitely going to keep it.

    I found the solution by installing a plugin called Hookr. It gave me some informations I needed after hours reading Bbpress’ files.

    The ouput is a bit strange though…
    Output true_title

    As if the voice-count moved somewhere. The author is also displayed twice – I don’t remember it was like that before. Changing the shortcode used doesn’t improve this.

    I’m going to figure out what happened here and keep this thread updated if it’s usefull for someone. 🙂

    #222667
    Robin W
    Moderator

    Atleast one that says it officially supports the latest wordpress version that is out.

    I thought it now did – certainly here

    bbPress

    #222666
    Chuckie
    Participant

    I appreciate that you took the time to look.

    Maybe sometime soon we will get an updated bbPress? Who knows …. Atleast one that says it officially supports the latest wordpress version that is out.

Viewing 25 results - 2,776 through 2,800 (of 64,452 total)
Skip to toolbar