Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 1,326 through 1,350 (of 26,679 total)
  • Author
    Search Results
  • #224121

    In reply to: Shortcodes in Sidebar

    Robin W
    Moderator

    suspect that as bbpress has custom post types, your sidebar manager is responsible

    so standard testing advice is

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #224107
    Robin W
    Moderator

    untested, but this should take out newlines and change the excerpt length to 150 – just change the 150 in the code to whatever length you want.

    so firstly you need to alter the default in wordpress which is 55 so

    add_filter( 'excerpt_length', 'rew_change_default_length' ) ;
    
    function rew_change_default_length () {
        return 150;
    }

    then alter it in the bbpress function, and change to take out line breaks

    add_filter ('bbp_get_topic_excerpt' , 'rew_remove_line_breaks', 10 , 3) ;
    
    function rew_remove_line_breaks ($excerpt, $topic_id, $length){
    		$topic_id = bbp_get_topic_id( $topic_id );
    		//change length here
    		$length   = 150 ;
    		$excerpt  = get_post_field( 'post_excerpt', $topic_id );
    
    		if ( empty( $excerpt ) ) {
    			$excerpt = bbp_get_topic_content( $topic_id );
    		}
    
    		$excerpt = trim( strip_tags( $excerpt ) );
    		
    		//take out line breaks
    		$excerpt = preg_replace("/\r|\n/", "", $excerpt);
    
    		// Multibyte support
    		if ( function_exists( 'mb_strlen' ) ) {
    			$excerpt_length = mb_strlen( $excerpt );
    		} else {
    			$excerpt_length = strlen( $excerpt );
    		}
    
    		if ( ! empty( $length ) && ( $excerpt_length > $length ) ) {
    			$excerpt  = mb_substr( $excerpt, 0, $length - 1 );
    			$excerpt .= '…';
    		}
    		
    		
    		// Filter & return
    		return apply_filters( 'rew_get_topic_excerpt', $excerpt, $topic_id, $length );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #224033

    In reply to: Thumbs up and down

    Robin W
    Moderator

    sorry, this one

    bbp-valoration

    #224029

    In reply to: Thumbs up and down

    gnfb
    Participant
    #224018
    Robin W
    Moderator

    there is the ‘unread posts’ part of my style pack plugin, that will advise users on the website of new unread topics, and new unread replies to topics.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Unread Posts

    #223983
    Robin W
    Moderator

    bbpress just uses wordpress registration and login, so you can use any wordpress plugin that would do that.

    I googled and got this list

    8 Best Age Verification Plugins for WordPress

    #223982
    Tobias Claren
    Participant

    May I assume that if you do not know, there is no such plugin 🙂 ?
    If there is not, please alternatives.
    E.g. simplified upload of a photo of an ID card.
    Ideally, the photo is deleted automatically afterwards.
    Or secured in an encrypted database with its own password.
    But I would prefer not to receive this data as a photo.

    Or if necessary an age verification for wordpress.

    #223977
    Robin W
    Moderator

    you can switch to a text editor, which looks way better

    bbp style pack

    once activated go to

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

    item 9

    #223976
    Robin W
    Moderator

    this is the ‘tiny mce’ editor that comes bundled with WordPress which bbpress just uses.

    from a quick google it doesn’t look that easy to change what is there.

    #223975
    Robin W
    Moderator

    I’d be tempted to use the conditional widgets plugin to achieve this, but bear in mind that wordpress’s move to block widgets may limit the lifespan.

    It would also be worth asking the theme author since this is a paid theme.

    Beyond that, it would be custom development work I suspect

    #223961
    Ricsca2
    Participant
    #223912
    Robin W
    Moderator

    pretty much – if you want to not show user profiles, then use

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Profile

    where you can set profiles not to display

    #223902
    Robin W
    Moderator

    untested, but this should work

    add_filter( 'bbp_get_reply_author_display_name' , 'rew_reply_change_to_first_name', 10 , 2 ) ;
    
    function rew_reply_change_to_first_name ($author_name, $reply_id) {
    	// Get the author ID
    	$author_id = bbp_get_reply_author_id( $reply_id );
    	$user = get_userdata($author_id); 
    	$first_name = $user->user_firstname;
    return $first_name ;
    }
    
    add_filter( 'bbp_get_topic_author_display_name' , 'rew_topic_change_to_first_name', 10 , 2 ) ;
    
    function rew_topic_change_to_first_name ($author_name, $topic_id) {
    	// Get the author ID
    	$author_id = bbp_get_topic_author_id( $topic_id );
    	$user = get_userdata($author_id); 
    	$first_name = $user->user_firstname;
    return $first_name ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #223898
    Robin W
    Moderator

    bbpress just uses wordpress registration.

    I suspect that emails from your site may be being seen as spam.

    try the ideas in here

    BBpress: Registration mails fail

    #223897

    In reply to: search input box

    Robin W
    Moderator

    If you have allowed the serach, then it should appear in your main forum list.

    If it is not, it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #223882
    Robin W
    Moderator

    you need to be a keymaster to see forums in the dashboard – check your settings

    dashboard>users

    If you are not, then you need to get a keymaster to set you up.

    If you are a keymaster it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #223880
    SureAqua
    Participant

    I can see the forums on my page, but not able to see on the wordpress Dashboard

    #223879
    SureAqua
    Participant

    I am in editor mode, I have installed bbpress. I was expecting to see the forum on the sidebar. It was showing but has disappeared.

    THe plugin is activated..

    #223873
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #223871
    gustavommath
    Participant

    Hello, so I’m new to bbpress and WordPress as a whole and as I’ve been trying to set up our site’s forum, I’ve come across the following caveats:

    – the profile page that we’re linked to upon clicking a user’s name links us to a profile page that doesn’t let us upload avatars nor keeps proper track of engagements, subscriptions and favorited topics. Is there a known fix for this? Is this a known bug at all? And if I happen to find a better user profile plugin, is there any way I can link the forum’s usernames to that instead of bbpress’ own profile page?

    thanks in advance.

    Robin W
    Moderator

    \includes\replies\template.php

    line 127

    function bbp_has_replies

    but be aware -lots of plugins filter this.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    ewd910
    Participant

    Hi, I’m having a strange problem where the order of replies is mostly right, but in a majority of the threads there is a recent reply or two that appear in the middle of the thread. Particularly affected are question / answer type threads where there are only two posts, but the order is flipped. I ran the “recalculate position of each reply in each topic” tool, but it didn’t seem to help. I have about 50,000 posts in my forum, does this need to be run multiple times? I worry about doing so because of the overhead.
    For additional background, this was a drupal 7 forum that was imported over to bbpress 2 weeks ago, but the affected replies are from both before and after the import.

    Using the latest versions of both wordpress and bbpress.

    #223835

    In reply to: Portion not translated

    Robin W
    Moderator

    best I can suggest is :

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #223805

    In reply to: Add Custom User Roles

    angelfire4xx
    Participant

    I’m finding that Naturopath is showing as forum role on the user’s wordpress profile, but only for a short while. WordPress changes it back to Participant after it appears to have saved.
    Participant is showing in the bbpress profile and under the username for their topics and comments in bbpress.

    #223781
    Robin W
    Moderator

    ok, given that i think this is your second attack, and that the user was able to change his settings, I would suspect the user has gained access details.

    I would :

    1. install https://en-gb.wordpress.org/plugins/wps-hide-login/ and change login
    2. install https://en-gb.wordpress.org/plugins/wordfence/ and consider 2fa for mods and admins, and ensure that you get emails if any admins log in
    3. change or get admins to change passwords for admins, moderators etc.
    4. change all FTP passwords
    5. change your database password

Viewing 25 results - 1,326 through 1,350 (of 26,679 total)
Skip to toolbar