Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 2,426 through 2,450 (of 26,830 total)
  • Author
    Search Results
  • cafermcc
    Participant

    I have set up the bbpress forum and have Admins created through my WordPress site. When other admins try to access the Forum settings via Tools and then Plugins they do not see the options for bbpress (Forum, Replies, Topics). Help with where to update settings so others besides myself can access these settings!

    #211728
    Robin W
    Moderator

    This allows any length title

    add_filter( 'bbp_is_title_too_long', 'rew_dont_bother', 10 , 4 ) ;
    
    function rew_dont_bother ($result, $title, $max, $len ){
    	return false ;
    }

    and this reduces content

    //code to limit number of characters in topic contents to 500 characters
    add_filter( 'bbp_new_topic_pre_content', 'rew_limit_topic_content' );
    add_filter( 'bbp_edit_topic_pre_content', 'rew_limit_topic_content' );
    
    function rew_limit_topic_content( $topic_content )
    {
        /* Check for number of characters in topic contents  */
        if (strlen($topic_content) > 500) {
    		$revised_content = substr($topic_content, 0, 500);
    		}	
    	else {
    		$revised_content = $topic_content ;
    	}		
     
        return $revised_content ;
    }

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

    Code Snippets

    #211727
    Robin W
    Moderator

    Just had a chance to dig further into this – bbpress will only let a keymaster set another keymaster, so if you’re not a keymaster yourself then by default you can’t do this.

    However this code should allow any admin to set a keymaster

    add_filter( 'bbp_is_user_keymaster', 'rew_allow_keymaster', 10 , 3 );
    
    function rew_allow_keymaster ($retval, $_user_id, $user_id) {
    	if (current_user_can( 'manage_options' )) $retval = true ;
    return $retval ;
    }

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

    Code Snippets

    BUT THEN TAKE IT OUT AFTER you have set up another – as it makes all admins in effect keymasters.

    #211714
    Lanie Carmelo
    Participant

    Hi. I am not sure if this is the right place to post this, but I need some help getting started with BuddyPress and BBPress. I just created my first website, which is a community for people living with multiple disabilities. I am hoping to turn this into a nonprofit organization. I have installed both BBPress and BuddyPress, so I will be posting this in both forums. The website is livingwithmultipledisabilities.org, and I have WordPress version 5.4.1, BBPress version 2.6.5, and BuddyPress version 6.0.0. I have BBPress set up with several forums I created, and I think I’m going to use BuddyPress to allow users to create groups. I have a few questions. Is there anything I should do to make BBPress and BuddyPress work well together? Second, how do I set up the register and activate pages for BuddyPress to use? These pages seem to exist, but I think they are blank since I do not see anything when I edit them, and trying to review them redirects me back to my website’s homepage. Finally, is there anything else I might not know about that I need to do to set both plugins up? Thanks.

    #211695
    Robin W
    Moderator

    yes it is buddypress

    you can change the text as per below

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
    ' ) {
    	$translated_text = 'new text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    so just put what you want in place of ‘new text’

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

    Code Snippets

    #211694

    In reply to: Database broken?

    Robin W
    Moderator

    slow down comes from a flood check function.

    The flood time is set is

    dashboard>settings>forums>flooding.

    for this specific issue, I’d try setting that to a longer period and see if it makes a difference

    Then you can disable this function using

    add_filter( 'bbp_bypass_check_for_flood', 'rew_bypass_flood' ) ;
    
    function rew_bypass_flood () {
    	return true ;
    }

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

    Code Snippets

    #211690
    Robin W
    Moderator

    great – it may well be buddypress or WordPress.

    If you give me a link, I’ll register and might be able to tell from the code sent to the browser

    #211685

    In reply to: Database broken?

    eroesi
    Participant

    Oh wow I waited soon 4 days to hear this?

    I only reported what I did so far to troubleshoot this error. And by the way “you are too fast, slow down” is a popular bbPress error. After disabling the flood protection I am able to post but every posts appears as anonymous. This can’t be normal and I think is definitely a bbPress error. Also I can’t reset the database through settings > forums like I said before.

    The error log is empty, only one error: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 1 for query SELECT term_id, taxonomy FROM wpOF_term_taxonomy WHERE term_taxonomy_id IN () made by require_once(‘wp-admin/admin.php’), do_action(‘load-tools_page_bbp-repair’), WP_Hook->do_action, WP_Hook->apply_filters, bbp_admin_repair_handler, bbp_admin_repair_topic_tag_count, clean_term_cache

    #211684
    Robin W
    Moderator

    I’m not sure where this message is coming from.

    It is not in bbpress, and bbpress just uses WordPress registration.

    It may well be WordPress (I haven’t got auto registration on any of my test sites so can’t say)

    Or are you running and registration plugins, or does your theme do this, or is it WordPress.

    You’ll need to do a bit more digging.

    #211679
    Robin W
    Moderator

    that may be true, but it was probably not deleting that user that is behind the problem.

    WordPress and bbpress roles are stored in the options table in the database under wp_user_roles.

    Something (possibly a roles plugin?) has deleted or changed this role.

    If you go into the database and copy what is on there, I may be able to help.

    #211661
    Robin W
    Moderator

    are you looking at WordPress roles or bbpress roles?

    #211656
    Robin W
    Moderator

    bbpress just uses WordPress registration,so will use whatever WordPress does

    #211649
    onegurulove
    Participant

    I installed bb press on my wordpress site, created the register screen, however when the user enters in the username and email there is no email received.

    It is not in the junk email and all my other wordpress emails seem to be working. The only thing not working is the bbpress activation email

    #211634
    simonlepamplemousse
    Participant

    @robin-w

    I installed the plugin

    BP Emails for BBP

    and it works

    with the bonus that emails borrow the buddypress model of emails

    So I think there is a problem with the bbp Style pack extension. It should be added a non-activation option to avoid conflict.

    #211632
    simonlepamplemousse
    Participant

    Hi @robin-w

    I don’t think it’s related to the mail servers.

    From one the mails on the other functionalities work: registration, quote, buddypress, etc …

    Two, I try with several services: hotmail, gmail, etc …

    The proposed plugin does not seem to solve the problem …

    I will try the plugins

    BP Emails for BBP

    and

    bbPress Notify (No Spam)

    #211618
    iconuser
    Participant

    I’m sorry. It was a misunderstanding.
    I’m using WordPress in Japanese now, so that’s a somewhat confusing thing to say.
    Thank you.

    #211611
    Robin W
    Moderator

    ok, try

    bbp style pack

    once activated go to

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

    and enable the visual editor

    That may help

    #211607
    Robin W
    Moderator

    are you just using bbpress default editor, or have you added the WordPress editor?

    #211599
    Robin W
    Moderator

    email is the most complicated and hardest to debug !

    It might be that as your forum becomes more popular, that bbpress method of bulk sending emails is getting them marked as spam – many email companies hate emails with multiple cc’s.

    try

    AsynCRONous bbPress Subscriptions

    #211594
    simonlepamplemousse
    Participant

    @robin-w

    Hello,

    I have the latest versions of WordPress, bbPress and bbp style pack

    Users no longer receive email when they subscribe to a forum or topic.

    The email is sent to the administration email but not to subscribers.

    It’s not a mailbox problem. When there is a quote, it works.

    It is not related to bbPress 2.6.5

    Does anyone else have the same concern, is there a setting that I missed?

    Thank you for helping me and sorry for my rough English.

    #211568

    In reply to: Replies not indenting

    Robin W
    Moderator

    WordPress 5.4.1
    bbpress 2.6.5
    bbp style pack 4.5.3
    twentyten theme

    #211567
    Pete
    Participant

    I have a problem with the way breadcrumbs are being displayed on my search results screen.

    First of all, I have the following (amongst other things) in my functions.php file:

    
    /**
    Just a simple breadcrumb trail, but, importantly, don't double up when we're at the root
    **/
    function mycustom_breadcrumb_options() {
    	// Home - default = true
    	$args['include_home']    = false;
    	// Don't need breadcrumbs if we're at the root
    	if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) ) {
    	// Forum root - default = true
    		$args['include_root']    = false;
    	// Current - default = true
    		$args['include_current'] = false;
    	}
    	return $args;
    }
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );
    
    /**
    Search only the specified forum
    **/
    function my_bbp_filter_search_results( $r ){ 
        //Get the submitted forum ID
        $forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] );
        //If the forum ID exits, filter the query
        if( $forum_id && is_numeric( $forum_id ) ){
            $r['meta_query'] = array(
                array(
                    'key' => '_bbp_forum_id',
                    'value' => $forum_id,
                    'compare' => '=',
                )
            );  
        }
        return $r;
    }
    add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );
    

    I have a search box on the forum home page and on the index page for each individual forum. For general navigation around my forum the breadcrumbs are presented as one might expect and search results are confined to those relevant to the current forum (or all forums from the home page).

    The breadcrumbs on the Forum ‘home page’ show simply as Forums and on individual forum index pages as Forums > ForumName, where ‘ForumName’ is the name of the current forum, etc. A search request from the Forum home page returns results as expected, with the breadcrumbs displayed as Forums > Search > Search Results for 'search string'. However, while a search from one of the individual forum index pages returns the refined search results as expected, the breadcrumbs are always displayed as Forums > Search > Search Results for 'search string', they don’t include the name of the forum that has been searched (i.e. Forums > ForumName > Search > Search Results for 'search string'.

    I think I can see that the search is actually being applied to all forums, then refined by the relevant function in the functions.php file, so I think I can see why I might have to do a little extra work to get the relevant forum name displayed in the breadcrumb, but can anyone suggest how I might do this? It would seem that I should be able to add a little more code to my mycustom_breadcrumb_options() function, but what exactly…?

    Thanks for any assistance anyone can offer.
    (WordPress 5.4.1, bbPress 2.6.5, website: digitalconcepts.net.au/forum – Please note, this part of the website is ‘hidden’ from the home page, you need to navigate there via the above direct URL)

    #211565

    In reply to: Replies not indenting

    sleestak
    Participant

    That’s why I said it is a fresh install. Literally…installed WordPress, bbpress, created a forum and it doesn’t work.

    JohnRDOrazio
    Participant

    I am seeing this error in the posts when posting / updating a post:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘publish_topics’ not found or invalid function name in …/wp-includes/class-wp-hook.php on line 287

    Am using WordPress 5.4.1, Buddypress 6.0.0, bbPress 2.6.5, and PHP 7.1.33 .

    #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’);

Viewing 25 results - 2,426 through 2,450 (of 26,830 total)
Skip to toolbar