Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 2,451 through 2,475 (of 26,824 total)
  • Author
    Search Results
  • #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

    #211325
    jayapramod
    Participant

    Hi, I am using bbPress Version 2.6.4 in my WordPress site. I want to change the user input field ‘website’ to ‘WhatsApp no’. How to do this? I am not that much familiar in php coding. please help.

    #211320

    Hello all,

    A new problem has arisen, probably as a result of plugin upgrades as there have been a lot recently.

    I am using:
    BBpress 2.6.4
    Advanced noCaptcha & invisible Captcha 5.7.1
    bbP private groups 3.8.3
    bbp style pack 4.5.3
    bbPress Login Register Links On Forum Topic Pages 3.0.1
    bbPress Messages 2.0.9.1
    LoginPress – Customizing the WordPress Login 1.4.4
    WP User Avatar 2.2.6
    plus a lot of others not pertinent to the forum (I hope)

    Forum is at https://signalbox.org/the-blower/ but I suspect these issues are only visible to registered users.

    Underneath the poster’s avatar is a link to the user’s profile. I limited this (for privacy) through bbp style pack to only show the user’s own profile and not that of others. This did work, but now it gives Error 404. I tried setting it to not show any profiles but the link remains active and still goes to Error 404. It is trying to link to https://signalbox.org/the-blower/users/username/

    Same occurs if you click on Send Message

    Other possibly related issue:
    I seem to be getting notifications for postings I have posted in but haven’t subscribed to, I don’t think that happened before. As yet I have had no complaints so am not sure if ordinary users are similarly affected.

    All of the above was definitely working at one time. I can’t figure out what has broken it. I can’t find any other mention of these issues in this forum so assume this is peculiar to my site – maybe conflicts between plugins?

    Best regards,

    John

    #211310
    Pete
    Participant

    OK, thanks. I’m new to this game, so I hadn’t appreciated where the line between WordPress and bbPress might have been drawn. I was trying here largely becasue this website was set up the way I wanted.

    Thanks again for your help though.

    #211307
    Robin W
    Moderator

    that only matters if you are doing it for say a theme. there probably is another way, but that is WordPress not bbpress, so if you want to pursue, try the main WordPress forums.

    #211298
    Pete
    Participant

    Thanks again @robin-w. Yes, I saw that one. That does work as long as the text that’s being replaced is ‘Howdy’. but that’s language dependent. Down here, if your site is configured for Australia, it’s ‘G’day’ and in other countries I imagine it’s something different again (and that code works as long as you specify the exact string that you need to replace).

    I was actually wanting to get rid of that text altogether, in a language-independent way, so I was hoping that it had a ‘name’, like ‘wp-user-greeting’ or something that you could just do a $wp_adminbar->remove_node on, but it sounds like this is not the case. Is the format of the username/avitar on the admin-bar on this site, where there’s no ‘prefix’ at all, really hard coded (rather than managed through something like a function)?

    I am making progress with the code (to identify a user as anonymous before they log in) from your previous response, so thanks again for that, but I’m modifying files that are bound to be replaced with the next WordPress/bbPress update. There must surely be some ‘version independent’ way of doing this…

    #211287
    failxontour
    Participant

    I know i could put these changes inside the style.css simple custom css will do the job and load another css file on top for these changes which could be applicable for my use case.

    But I wanna have the files all in the child-theme in case someone else wants to make design adjustments that their visible and accessible on first sight.

    Access to a FTP-Server is given and for adjustments on-top of WordPress and their is a Theme-Editor already embedded into WordPress so that seems to be a bit counter-intuitive. As it might confuse admins & content-editors later on to where they input their changes.

    CSS is simple to learn and as this is gonna be pure CSS not LESS/SASS i figure it’s best if I had it in a seperate file to view for people.

    #211285
    Robin W
    Moderator

    Haven’t tested but googled and found this

    add_filter( 'admin_bar_menu', 'replace_wordpress_howdy', 25 );
    function replace_wordpress_howdy( $wp_admin_bar ) {
    $my_account = $wp_admin_bar->get_node('my-account');
    $newtext = str_replace( 'Howdy,', 'Welcome,', $my_account->title );
    $wp_admin_bar->add_node( array(
    'id' => 'my-account',
    'title' => $newtext,
    ) );
    }

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

    Code Snippets

    #211279
    Robin W
    Moderator

    if that second part is all you are after, then add it to the custom css bit of your theme, or use

    Simple Custom CSS

    #211278
    Robin W
    Moderator

    the bbpress theme that this site uses is here

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base

    the following file holds the code

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/header-subnav.php

    but you will also need to pull through some css from the theme, and JavaScript to do the drop downs

    then tie all this back to the right place in your theme.

    It’s quite doable, but well beyond free help

    #211274
    #211269
    failxontour
    Participant

    Hey so I’m trying to enqueue custom CSS for bbPress v2.6.4 on the WP 5.4.1 clan website running a WP Twenty Twenty-child theme.

    This is what my functions.php currently looks like

    <?php
    /**
    * Child theme stylesheet einbinden in Abhängigkeit vom Original-Stylesheet
    */
    add_action( 'wp_enqueue_scripts', 'child_theme_styles' );
    function child_theme_styles() {
      wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
      wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style'));
      wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/css/bbpress.css', array());
    }
    ?>
    

    And this is how my bbpress.css looks like.

    
    #bbp-forum-info,
    #bbp-forum-topic-count,
    #bbp-forum-reply-count,
    #bbp-forum-freshness {
      color: #232323;
    }
    #bbpress-forums {
      background: transparent;
      clear: both;
      margin-bottom: 20px;
      overflow: hidden;
      font-size: 1.75rem;
      color: #232323;
    }
    

    The changes I applied in the bbpress.css won’t update the bbpress CSS on the above mentioned site. So their must be something wrong with my functions.php but I can’t yet put my finger on it how to load it properly as I’m pretty new when it comes to WordPress. I wanna append these changes globally to all parts of bbPress forum.

    Can someone tell me to if and what i need to specify inside the arrray() call for the bbpress.css to load properly? Or hint me towards what’s wrong here.

    #211256
    Robin W
    Moderator

    This plugin will let you style it to match your theme, and do much else besides

    bbp style pack

    #211252
    tumptyteapot
    Participant

    Hi
    I’m trying to move a forum from one site to another.
    I’m using the WordPress export/import function
    I can see the structure of the imported forums including topic numbers and replies but there is no information in the topics. The error says ‘Oh, bother! No topics were found here.’

    I used the Cimy User Manager to import all the users and that worked fine.

    I’ve tried resetting permalinks but still nothing shows in the topics.

    Have I done something wrong?

    #211250
    Robin W
    Moderator

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

    Code Snippets

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'old text' ) {
    	$translated_text = 'new text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    and change the old text and new text to suit.

    Robin W
    Moderator

    ok, let’s try adding this

    add_filter( 'bbp_verify_nonce_request_url', 'my_bbp_verify_nonce_request_url', 999, 1 );
    function my_bbp_verify_nonce_request_url( $requested_url )
    {
        return 'http://localhost:8888' . $_SERVER['REQUEST_URI'];
    }

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

    Code Snippets

    #211235
    thomasprice61
    Participant

    This was occurring before Members was installed.
    I only loaded Members to see further inside users, roles and capabilities as native WordPress offers little capability of diagnosing such issues.

    Happy to give you access.
    How do I pm you?

    #211227
    thomasprice61
    Participant

    No.
    I’m on WordPress 5.4.1

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