Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 2,676 through 2,700 (of 26,827 total)
  • Author
    Search Results
  • #208950
    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 ;
    }
    #208945
    mindylll
    Participant

    Sometimes, in our forums, a post shows up twice or even three times. Is there a fix for this?

    Version 5.3.2 of WordPress
    The most recent version of BBPress

    #208929
    mattpont
    Participant

    Download the zip file in Robin’s link. Upload and activate to your WordPress website as a plugin.

    Sadly it didn’t seem to fix mine though, but has worked for others.

    #208925
    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

    #208870

    In reply to: Managing users

    Chuckie
    Participant

    I think you just need to google for the plugins and try them.

    I use Theme My Login for managing the login etc.

    Theme My Login

    I use WP Approve User to add control:

    WP Approve User

    I use WP Security Question for the spam side of things:

    WP Security Question

    I customised my user table to show the security question answers in a new column.

    There are probably other solutions, of which are paid, but the above help me sufficiently (for now).

    artmuns
    Participant

    This is an odd one. I set a topic to Super Sticky but was unable to change to Normal. After Update it would revert back to Super Sticky. I was able to change to Sticky from Super Stick but still can not change to Normal.

    Wordpress 5.3.2
    bbPress 2.4.6

    musiclibraryreport.com

    Thanks for any help.

    #208829
    Robin W
    Moderator

    I think this is what you need

    Private groups

    #208821
    ichameleon
    Participant

    Hi – I have successfully added a bbpress forum (Version 2.6.4) to a new site with a custom theme on WordPress (5.3.2). I’m wondering if anyone can help recommend plugins to tackle some (I think) fairly standard requirements.

    I’ve tried a few combinations myself without complete success so I’d really appreciate some guidance.

    I’m trying to –

    • Allow user registration (sign up, get password, manage profile, password reminder),
    • Admin manually approve/suspend/delete users,
    • Prevent spam,
    • Import users from the previous forum using a csv of username and email.

    Sorry if it all seems a bit basic but I’m tying myself up in knots finding the right plugins.

    #208819
    Robin W
    Moderator

    ok, thanks, got it

    my style pack lets you put then topic title in the last column

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Freshness Display

    #208804
    vinem
    Participant

    Hi there,

    I’m building a website with Elementor Pro and bbPress.
    I created 2 different Headers: a main one for the Landing page and blog, and another one for the forums.
    I used the shortcode to display the forums index on a page I’ve built with Elementor and the Header works fine. But when it comes to the automatically created single pages (topic, reply, search, etc.), it displays the main Header.

    I contacted Elementor support, not knowing if the issue was on their side or on yours, and they told me I had to contact you, explaining me this :
    “For your information, we usually find this happening when creating custom post types where it is excluded from showing in menus via the custom post type’s “show_in_nav_menus” option; this option is found in the post type’s “register_post_type” function used to add it in WordPress and may be set to “false” in this case […] we highly recommend contacting the bbPress support team to help with changing this option to “true”. The solution we suspect would be similar to using the function code mentioned in this bbPress support post but with the ‘show_in_nav_menus’ variable set to ‘true’ > https://bbpress.org/forums/topic/plugin-snippet-hack-to-include-bbpress-topics-in-wordpress-search/

    So, here I am! Can someone help me, please?

    Thank you!

    #208790

    In reply to: Syntax Highlight

    Chuckie
    Participant

    I just wanted to point out that Enlighter is a fantastic plugin for syntax highlighting.

    Enlighter – Customizable Syntax Highlighter

    The current version works with bbPress 2.6 although it has a conflict of interest with one feature. It is discussed here:

    https://github.com/EnlighterJS/Plugin.WordPress/issues/211

    At the moment I don’t really know how I can supress the conflicting CSS styles referred to in the above link.

    I should also point out that at the moment the version 4 beta is not working with bbPress yet. Although, it is supposed to resolve the aforementioned issue concerning conflicting CSS styles.

    Eitherway, I am happy to know about Enlighter. Thumbs up from me!

    #208748
    Robin W
    Moderator

    basically bbpress has the ability to add columns via a filter

    This should do it

    add_filter("bbp_admin_replies_column_headers", 'rew_IP_column_add');
    add_filter("manage_reply_posts_custom_column", 'rew_IP_column_value', 10, 3);
    
    function rew_IP_column_add($columns)  {
    	$new = array();
      foreach($columns as $key => $title) {
        if ($key=='bbp_reply_forum') // Put the forum ID column before the Replies forum column
          $new['rew_id'] = 'IP Address';
        $new[$key] = $title;
      }
      return $new;
    }
    	
    function rew_IP_column_value($column_name, $id) {
    		if ($column_name == 'rew_id') echo get_post_meta( $id, '_bbp_author_ip', true );
    }

    Put this in your child theme’s function file – or use

    Code Snippets

    #208637
    Robin W
    Moderator

    registration is a function of WordPress, not bbpress.

    you can switch it off using

    Disable New User Notification Emails

    #208629
    Robin W
    Moderator

    your best bet would be to raise a trac ticket with a list of missing labels

    https://bbpress.trac.wordpress.org/

    #208617

    In reply to: HTML in text

    BrokenPixel
    Participant

    I’m never quite sure if I should add to a post that has the same problem, but is obviously unanswered for a long while, or post a new topic. But… our forum also has a very similar issue so it seems sensible to add it here.

    For us, it seems to be specific to text-align (left, right or centre) and for “non-admin” logged in users.

    It displays the html code as is, rather than using it to display the correct text alignment. All other html options in the visual editor we’ve tested so far seem to work – it’s just the text alignment that doesn’t. And only for non-admin users – the html works as it should if an admin user posts.

    <p style=”text-align: right;”>right align</p>

    Hoping for a solution? Am on current versions of bbpress, wordpress and bbp style pack and php version 7.3

    #208609
    Chuckie
    Participant

    I raised an issue nearly a month ago now here in their forum:

    https://wordpress.org/support/topic/how-errors-are-raised/#post-12418564

    I thought I would mention here in case they might be able to have a look.

    Thanks.

    #208589
    Robin W
    Moderator

    so you couldput this in your functions file of your child theme, it takes out then new filter and puts back the old one

    remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10, 8 );
    add_filter( 'bp_notifications_get_notifications_for_user', 'rew_format_buddypress_notifications', 10, 5 );
    
    function rew_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    Young
    Participant

    Hello.
    First of all, thank you for developing such a great plugin program.
    However, I would like to ask you a bit of trouble nowadays.
    The issue is that the number of topics in forums index page are incorrect.

    1. My system environment:
    -Wordpress 5.3.2
    -Bbpress 2.6.4
    -Buddypress 5.1.2
    -Bbpress Style pack 4.3.8
    – Jetpack 8.1.1

    2. My issue detail:
    See captured image 1.
    This is a page of Forums Index Main page.
    (Sorry for not English, but I’ll try explain)
    As you see the summary count number(left side) of each forum counts are incorrect with the parent forum’s count.
    Captured image 1
    And in the parent forum index page,
    each count of each line for forums are correct.
    See captured image 2.
    Captured image 2

    3. I tried to run recalculation.

    I ran the recovery and recalculation tool. Though I have run it several times and it failed.
    I am using some forums on a group page.
    What is the problem?
    In the past, it used well without any problems. There was no error in adding up posts. Recalculation also worked well.
    Please let me know if you have a solution.
    Thank you.

    #208573
    Gary Eckstein
    Participant

    Does the social login available in the Jetpack plugin (JetpackSettingsDiscussion then enable “Let readers use WordPress.com, Twitter, Facebook, or Google accounts to comment.”) allow for visitors to comment on bbPress topics? I’ve tried on my bbPress and I don’t see the Google, Facebook etc. options so wondering if it’s something on my side or that the Jetpack social login doesn’t work with bbPress.
    Any advice appreciated.

    Tanmoy Biswas
    Participant

    I installed the bbPress plugin and activated the plugin, but my WordPress gives an error that the plugin is not activated.

    Any suggestion?
    What should I do now?
    My Website here: https://wcblogs.com

    Thanks in advance

    #208544
    natsu12345
    Participant

    Hi there,

    i am quite new to wordpress\bbpress but i already looked at https://bbpress.org/forums/topic/how-do-i-extract-a-topicreply-excerpt/

    What i want to create is this.

    #208536
    Robin W
    Moderator
    #208531
    hydrogriff
    Participant

    The current support bbPress has a neat theme. It will be helpful if we can refer it for the best practices and customization. I searched and could not find the source code for the forum’s theme or WordPress’s support theme. Where to find it? Is it open source?

    #208520
    Robin W
    Moderator

    ok, so you could use

    Private groups

    then when you set up each forum ‘I put the Forum creating shortcode on a page.’ you could also set up a group for the forum, add the creator as a member and give him permission to create topics.

    It is a but labor intensive, but would work.

    How many forums are you planning ?

    Chuckie
    Participant

    I saw this discussion:

    a way to check for subforums

    It implied it was fixed in bbpress 2.1:

    https://bbpress.trac.wordpress.org/ticket/1803

    But I don’t get it.

    This is a sub forum with child forums:

    <a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/">Midweek Editor</a>

    This is a forum with no child forums:

    <a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/assignments-editor/">Assignments Editor</a>

    As you can see, the code is exactly the same. I understood from the associated discussion that the forum with child forums would have a additional class specified so that we could use pseudo before / after to add a symbol to indicate it is a forum with sub forums.

    Or do I have to go about this differently?

    I am using bbp style pack.

    Thanks for shedding any light on this.

Viewing 25 results - 2,676 through 2,700 (of 26,827 total)
Skip to toolbar