Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 2,451 through 2,475 (of 26,831 total)
  • Author
    Search Results
  • #211544
    zirow
    Participant

    I’ve tried @robin-w snippit above but didnt work with my current wordpress version(latest one according to the date of my post) but i managed to get it working with this snippit if anyone needs it.

    Note: I’m a beginner to wordpress and bbpress so there might be other better ways of doing this.

    function change_role(){
    $user_id = $user->ID ;
    if( current_user_can(‘administrator’)){

    bbp_set_user_role( $user_id, ‘bbp_keymaster’ );

    }
    }
    add_action(‘wp_login’, ‘change_role’);

    #211543
    sleestak
    Participant

    I have posted this before, but I still can’t get this to work. I have threaded replies enabled, but my replies are not indenting. To determine if it was an issue with my theme, I created a brand new WordPress test site and tried all of the included test themes and indenting does not work on any of them. The only plugins I have are bbpress and the bbpress style pack. What am I missing?

    Thanks!

    #211537

    In reply to: bbPress Roadmap

    Robin W
    Moderator
    #211535

    In reply to: bbPress Roadmap

    Dion Hulse
    Keymaster

    Like WordPress, bbPress uses a semi-decimal-based versioning system, where bbPress 2.4, 2.5, and 2.6 are considered major versions.

    bbPress 2.6 was a major update with just under 6 years of development:

    This version of bbPress has been in development for just a bit under 6 years (yikes!) over which 420 tickets were resolved via 1737 individual code commits.

    The Full list of releases is available on the bbPress codex, although it doesn’t have the full details for the latest two minor 2.6.x releases.

    #211499

    In reply to: where is the board

    raderack
    Participant

    and how i can add a link to it in the home of wordpress?
    sorry im totally noob in wordpress

    #211498
    raderack
    Participant

    im running xammp and installed wordpress as a module.
    i installed the bbpress
    but isnt in /wordpress/bbpress or /bbpress
    where it is?

    #211488
    davelowe1977
    Participant

    Apart from the root forum which shows all the sub forums and nothing else, all my sub forums have a reply / new topic form tacked on at the bottom. I would like to remove this and replace it with two buttons: “New” and “Reply” which lead to a separate form/page with all the removed functionality. If I inspect the page code as it is, it is everything in this element tag:

    <div id=”new-topic-0″ class=”bbp-topic-form”>

    Is this possible? Thanks.

    WordPress 5.4.1
    BBPress Version 2.6.4 & default theme.

    #211487

    In reply to: first reply sticky

    Robin W
    Moderator

    I think this is what you are after

    bbp_show_lead_topic

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

    Code Snippets

    Robin W
    Moderator

    thanks – I’m just a user who helps out here, not a bbpress author.

    so

    1. can you confirm that the above plugin is not necessary – bbpress already does this ?

    2.

    can you try this code

    add_filter( 'wpseo_metadesc', 'rew_meta_desc' );
    function rew_meta_desc( $content ) {
        global $post;
        if ($post->post_type == 'reply' ) {
    		$order = $post->menu_order ;
    		$post_parent = $post->post_parent ;
    		$title = get_the_title ($post_parent) ;
            $content = $title.' '.$order ;
        }
     return $content;
    }

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

    Code Snippets

    redevelop
    Participant

    OK thanks for looking at this anyway. I’m now thinking it may relate to the MySQL 8 settings, specifically SQL_MODE which included ‘STRICT_TRANS_TABLES’ (strict SQL mode > no zero dates).

    I’ve tried removing this setting from SQL_MODE (for both session & global), but this doesn’t seem to resolve – when logging in to MySQL as the WordPress user I still get this error

    Error Code: 1525. Incorrect DATETIME value: ‘0’

    when running the query:

    SELECT p.ID FROM wp_posts AS p WHERE p.post_date < ‘0’ AND p.post_type = ‘forum’ AND ( p.post_status = ‘publish’ OR p.post_status = ‘private’ OR p.post_status = ‘hidden’ ) ORDER BY p.post_date DESC LIMIT 1;

    If I make any more progress I’ll post it here 🙂

    Robin W
    Moderator

    I don’t know if this fixes?

    BBpress Addon For Yoast SEO

    if it does come back and tell us

    #211445

    In reply to: Wrong Post Number

    Robin W
    Moderator

    bbpress is just a custom post type, so in the database entry 2448 just happens to be a topic, 2447 could be a WordPress post, a wordpress page, a revision or another custom post type.

    They’re all just database numbers

    #211440
    Robin W
    Moderator

    you could enable the visual editor

    either

    Enable Visual Editor

    or

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form

    #211433
    Robin W
    Moderator

    one possibility (that is a workaround) would be to display as the actual date/time rather than ‘ago’

    for instance my style pack plugin has the ability to change that.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Freshness Display

    davkim
    Participant

    All,
    I’m new to wordpress/bbpress, I’ve set my forum page to full-width… topics (list) are being shown as full-width. When I go into a specific topic, it’s not full-width. I have to manually change the topic attribute to full-width for each topic. It seems like when a topic is created, topic attribute is being defaulted to (default template) which is not full-width. Is there a way when a topic gets created, full-width template is used as default.

    Any help would be greatly appreciated.

    #211399

    In reply to: bbPress like Flarum

    wpturk
    Participant

    Good to hear that wordpress + discourse works fine. In my case, I am quite happy with bbpress, especially version 2.6 is pretty fast.

    #211398

    In reply to: bbPress like Flarum

    I gave it a try 3 years ago. It was working, but a bit incomplete from what I remember.
    I didn’t keep it and moreover, I ditched bbPress, I think it is a horrendous forum system, slow and clunky.
    I now use Discourse which I have connected to my WordPress with the plugin Wp-Discourse. It has been 3 years and I couldn’t be happier.
    Sorry for being a bit off-topic though.

    #211396
    Robin W
    Moderator
    #211387
    shonty
    Participant

    Our setup is the following

    Buddypress Version 6.0.0
    bbPress Version 2.6.4
    Wordpress Version 5.4.1

    #211378
    Robin W
    Moderator

    ok, understand

    if you just want that then

    add_filter(  'gettext',  'rew_bbpress_translate', 20 , 3  );
    
    function rew_bbpress_translate( $translated, $text, $domain ) {
    	if ($domain == 'bbpress') {
         $words = array(
                            
                            'Reply To:' => 'Svar till:',
    			            );
         $translated = str_replace(  array_keys($words),  $words,  $translated );
    	}
         return $translated;
    }

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

    Code Snippets

    #211368

    In reply to: Make Forum Full Width

    Robin W
    Moderator

    not sure anyone is in charge of WordPress, but if you asked about making bbpress wider then they would say ask bbpress 🙂

    anyway as I say, it is your theme, not WordPress or bbpress, that is doing this.

    #211367

    In reply to: Make Forum Full Width

    BGNMGUY
    Participant

    The people in charge of wordpress said to contact you.

    g28f99
    Participant

    Thank you again!
    I also hope to add specified sentence after user personalized replies.

    
    add_action( 'bbp_theme_after_reply_content', 'new_reply_additional_fields', 10 );
    function new_reply_additional_fields() {
    $new_reply_additional_fields = 'Above is my personal opinion';
    	echo "<p id='new_reply_additional_fields'><font color=red font size='4pt'>$new_reply_additional_fields</p>";	
    

    Using above code directly also induce wordpress website error. To permanently show above sentence after every reply, I suppose it should be saved into metabox. Could you please help manage how to integrated into above code to solve this problem?

    #211345
    Robin W
    Moderator

    ok, they’ve done it by a function by the look of it.

    so try this

    add_action ('bbp_theme_before_topic_started_by' , 'rew_reply_author' , 10 ) ;
    
    function rew_reply_author () {
    	$reply_id = bbp_get_topic_last_reply_id () ;
    	echo '<span class="bbp-reply-author">'.bbp_get_reply_author_link( array( 'post_id' => $reply_id, 'type' => 'both', 'size' => 14 ) ) ;
    }

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

    Code Snippets

    then come back and let me know where this appears, we might need to adjust

    #211328
    Robin W
    Moderator

    quickest way is

    add_filter(  'gettext',  'rew_bbpress_translate', 20 , 3  );
    
    function rew_bbpress_translate( $translated, $text, $domain ) {
    	if ($domain == 'bbpress') {
         $words = array(
                            
                            'Website' => 'WhatsApp no'
                 );
         $translated = str_replace(  array_keys($words),  $words,  $translated );
    	}
    
         return $translated;
    }

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

    Code Snippets

Viewing 25 results - 2,451 through 2,475 (of 26,831 total)
Skip to toolbar