Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,526 through 4,550 (of 64,397 total)
  • Author
    Search Results
  • #211230
    thomasprice61
    Participant

    I used the Members plugin to check the roles.
    All the bbPress roles are read-only.
    (As administration I was unable to edit them)
    Is that correct?

    #211225

    In reply to: Adding roles

    Robin W
    Moderator

    https://codex.bbpress.org/custom-capabilities/ is a better way, as updates to bbpress don’t overwrite, but as long as you know that bbpress updates will need you to go back into those files.

    #211223
    thomasprice61
    Participant

    Here is the debug log:

    [21-May-2020 04:26:20 UTC] PHP Fatal error: Uncaught Error: Cannot unset string offsets in /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-role.php:75
    Stack trace:
    #0 /hsphere/local/home/somewhere/somewhere/wp-content/plugins/bbpress/includes/core/capabilities.php(240): WP_Role->remove_cap(‘spectate’)
    #1 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(287): bbp_remove_caps(”)
    #2 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #3 /hsphere/local/home/somewhere/somewhere/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /hsphere/local/home/somewhere/somewhere/wp-content/plugins/bbpress/includes/core/sub-actions.php(40): do_action(‘bbp_deactivatio…’)
    #5 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(287): bbp_deactivation(false)
    #6 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #7 /hsphere/local/home/somewhere/somewhere/wp-include in /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-role.php on line 75

    #211222
    thomasprice61
    Participant

    I also followed this: https://codex.bbpress.org/getting-started/installing-bbpress/deleting-bbpress/
    and get the same fatal error:

    Fatal error: Uncaught Error: Cannot unset string offsets
    in /hsphere/local/home/audax/dev1.audax.org.au/wp-includes/class-wp-role.php on line 75

    Call stack:

    WP_Role::remove_cap()
    wp-content/plugins/bbpress/includes/core/capabilities.php:240
    bbp_remove_caps()
    wp-content/plugins/bbpress/includes/admin/tools/reset.php:262
    bbp_admin_reset_database()
    wp-content/plugins/bbpress/includes/admin/tools/reset.php:100
    bbp_admin_reset_handler()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-admin/admin.php:232
    require_once()
    wp-admin/tools.php:40

    #211221
    thomasprice61
    Participant

    bbPress Version 2.6.4

    It is a vanilla install, no customisation or plugins.
    I tried to deactivate bbPress and get the following error:

    Fatal error: Uncaught Error: Cannot unset string offsets
    in /hsphere/local/home/somewhere/something/wp-includes/class-wp-role.php on line 75

    Call stack:

    WP_Role::remove_cap()
    wp-content/plugins/bbpress/includes/core/capabilities.php:240
    bbp_remove_caps()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-content/plugins/bbpress/includes/core/sub-actions.php:40
    bbp_deactivation()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-admin/includes/plugin.php:812
    deactivate_plugins()
    wp-admin/plugins.php:194

    Can you please assist?

    #211220

    In reply to: Adding roles

    zirow
    Participant

    I’ve added this reply like 3times and everytime i edit it it disappeared and when i try to re-paste it and submit i cant cuz i get a warning for duplication 😛

    I’m pretty sure theirs a better way of doing it but that’s how I did since its the only way I could figure it out

    Open Capabilities.php

    Under “function bbp_get_caps_for_role”
    Add this case along with the other cases

    case bbp_get_tutor_role() :
    $caps = array(

    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,

    // Forum caps
    ‘read_private_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,

    // Topic tag caps
    ‘assign_topic_tags’ => true,
    );

    Under:

    function bbp_get_participant_role() {

    // Filter & return
    return apply_filters( ‘bbp_get_participant_role’, ‘bbp_participant’ );
    }

    Add:

    function bbp_get_tutor_role() {

    // Filter & return
    return apply_filters( ‘bbp_get_tutor_role’, ‘bbp_tutor’ );
    }

    Save and close Capabilities.php and open bbpress.php in the plugin directory not the one inside the theme.

    Search for:
    public function roles_init() {

    You will see this code:

    $keymaster = bbp_get_keymaster_role();
    $moderator = bbp_get_moderator_role();
    $participant = bbp_get_participant_role();
    $spectator = bbp_get_spectator_role();
    $blocked = bbp_get_blocked_role();

    // Build the roles into one useful array
    $this->roles[ $keymaster ] = new WP_Role( ‘Keymaster’, bbp_get_caps_for_role( $keymaster ) );

    $this->roles[ $moderator ] = new WP_Role( ‘Moderator’, bbp_get_caps_for_role( $moderator ) );
    $this->roles[ $participant ] = new WP_Role( ‘Participant’, bbp_get_caps_for_role( $participant ) );
    $this->roles[ $spectator ] = new WP_Role( ‘Spectator’, bbp_get_caps_for_role( $spectator ) );
    $this->roles[ $blocked ] = new WP_Role( ‘Blocked’, bbp_get_caps_for_role( $blocked ) );
    }

    So you just want to add these two codes in their:

    $tutor = bbp_get_tutor_role();

    $this->roles[ $tutor ] = new WP_Role( ‘tutor’, bbp_get_caps_for_role( $tutor ) );

    If u want to rename an existing role u added or bbpress default roles u can add this into your functions.php

    Add:

    function ntwb_bbpress_custom_role_names() {

    return array(

    // Keymaster

    bbp_get_keymaster_role() => array(

    ‘name’ => ‘Administrator’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() )

    ),

    // Moderator

    bbp_get_moderator_role() => array(

    ‘name’ => ‘Moderator’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_moderator_role() )

    ),

    // Participant

    bbp_get_participant_role() => array(

    ‘name’ => ‘Member’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )

    ),

    bbp_get_tutor_role() => array(

    ‘name’ => ‘Member2’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_tutor_role() )

    ),

    // Spectator

    bbp_get_spectator_role() => array(

    ‘name’ => ‘Spectator’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_spectator_role() )

    ),

    // Blocked

    bbp_get_blocked_role() => array(

    ‘name’ => ‘Blocked’,

    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_blocked_role() )

    )

    );

    }

    redevelop
    Participant

    Just to add – bbPress version 2.6.4.

    redevelop
    Participant

    Hi there, I’m experiencing the following error after installing bbPress on my local PC (the site is not public) and setting up a test forum:

    “WordPress database error Incorrect DATETIME value: ‘0’ for 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 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentytwenty/singular.php’), get_header, locate_template, load_template, require_once(‘/themes/twentytwenty/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, adjacent_posts_rel_link_wp_head, adjacent_posts_rel_link, get_adjacent_post_rel_link, get_adjacent_post”

    My setup:
    A new WordPress 5.4 install with no other self-installed plugins
    Theme: Twenty Twenty
    Windows 10
    PHP 7.4.4
    MySQL 8.0.19
    I created a forum called ‘Test Forum1’ & this appears in the WordPress Admin. When I click the permalink to view the forum I see the above error on a blank white screen.

    Any advice much appreciated – thanks.

    #211205
    Carlos Faria
    Participant

    Thanks @mudit-kumawat. I would add this, as admin users will still show the admin bar, so with your code we will have two divs with the same id:

    
    // Add adminbar blank div to fix BBPRESS jQuery issue
    function add_admin_bar_div() {
      if( is_bbpress() && ! current_user_can('administrator') ){
        echo '<div id="wpadminbar" style="display:none;"></div>';
      }
    }
    add_action('wp_footer', 'add_admin_bar_div',15); 
    
    #211203

    In reply to: import data

    Robin W
    Moderator

    you’ll need to create a custom importer

    Custom Import

    if you do this, let us know, and we can add details to this site

    #211198

    Hi,

    I use WordPress version 5.4.1 and bbpress version 2.6.4 on my website http://www.afvallenkunjeleren.nl with the theme woostify.

    I have something strange: I have downloaded the .mo file (named it bbpress-nl_NL.mo, and the .po file is bbpress-nl_NL.po) from the official bbpress site and uploaded it through file manager in my forum.

    But nothing will be translated. When I look in the plugin Loco translate, that I use there is nothing translated.

    Can anyone help me please?

    Thank you very much in advance!

    With warm regards,
    Klaziena Waerts

    #211196
    marbaque
    Participant

    I have been having an issue with my website, almost once a day the pages return broken links and 404 errors. I have to manually save the permalinks to fix it.

    I have tried a lot of ways like creating a default htaccess file, but nothing works. So I started deactivating plugins once this happens. When I deactivate bbPress everything works again, so I was wondering if somebody knows what can be causing the issue?

    It happens only to pages, not posts or archives.

    This is the website I am having problems with: https://academiamunicipal.uned.ac.cr/

    #211193

    Topic: login plugin

    in forum Installation
    momomoko
    Participant

    Hello there,

    I am stucked with this issue since some days : i am using the default bbpress connection widget (bpress version : 2.6.4) , but i am not satisfied by it behaviors such as redirect to wordpress admin login, the fact that the link on registration mail, bring the user again to wordpress back end, and also that email sender adress is the wordpress email (not mine !!) .. i had tried to change this last issue with this code in my functions.php :

     add_filter( 'wp_mail_from', 'your_email' );
    function your_email( $original_email_address )
    {
    	return 'myemail@domain.com';
    }
    
    add_filter( 'wp_mail_from_name', 'custom_wp_mail_from_name' );
    function custom_wp_mail_from_name( $original_email_from )
    {
    	return 'My Forum Name';
    }

    But instead i just received a “mail delivery failed”

    I have tried other plugins such as “weaver” or “bbPress login register link..” but still not found the “good one” (or surely didn’t know how to optimize it)

    Did someone know how to solve this problem ??

    robertherold
    Participant

    Hi,

    I added some new user fields to the WordPress admin page, but I would like them not to be visible on the bbPress profile page.
    How can this be solved?

    #211186

    In reply to: import data

    quantatherapies
    Participant

    I have the same question. I’ve downloaded all the content, membership and attachments in various CSV files from the original forum (Website Toolbox) but don’t know how to import them into my brand spankin’ new bbPress forum.

    theicebooky
    Participant

    I found it dude: https://www.satollo.net/hide-the-subscription-toggle-on-bbpress-forums

    .forum #subscription-toggle {
    display: none;
    }

    This will only change the CSS design and does not mess with the core functions of the theme 🙂

    #211180
    danielthorpe
    Participant

    Hi, Im new to BBPress. It seems great but I can`t get it to look right. The text is all smaller compared to my Genesis theme and there are bits of strange things – like the word “by” showing up. It just looks clunky, especially when compared to how this forum looks. Any tips would be appreciated. Here is the site

    Thanks

    #211176

    Topic: If user is author

    in forum Plugins
    robertherold
    Participant

    Hello,
    I have completely customized the bbPress profile page and would like to display e.g. next to the name an icon (or whatever) if that user is also a WordPress author.
    Does anyone know a solution?

    #211168
    theicebooky
    Participant

    Never mind, I found and edit the code already… if you wanna know my code:

    #bbpress-forums > #subscription-toggle{
    float:right;
    }

    #bbpress-forums div.bbp-reply-content a.subscription-toggle,
    #subscription-toggle a{
    font-weight:bold;
    padding: 8px 8px 4px 8px;
    border: 0px solid #66FF33;
    background-color: #66FF33;
    color: white;
    }

    #bbpress-forums div.bbp-reply-content a.subscription-toggle,
    #subscription-toggle a:hover{
    background-color: #00FFFF;
    color: white;
    }

    #bbpress-forums div.bbp-reply-content .is-subscribed a.subscription-toggle,
    #subscription-toggle .is-subscribed a.subscription-toggle{
    border: 0px solid #e6e6e6;
    background-color: #e6e6e6;
    padding: 2px 4px 2px 4px
    }

    #211159
    Mudit Kumawat
    Participant

    @mjonesnerdery and @hoch to fix this issue add this function in the theme functions.php file

    // Add adminbar blank div to fix BBPRESS jQuery issue
    function add_admin_bar_div() {
      echo '<div id="wpadminbar" style="display:none;"></div>';
    }
    add_action('wp_footer', 'add_admin_bar_div',15); 
    #211152
    tnt999
    Participant
    #211150
    pinksparklegirl
    Participant

    I’m trying to convert my SMF database, but nothing is being imported (runs through each step, but nothing to import).

    I’m using SMF 2.0.17, the most recent versions of bbPress and WordPress.

    Can anyone advise how to pinpoint the problem? There were no errors listed.

    #211147
    jamnet.kr
    Participant

    Thank you very much!!!
    I just follow your explain.

    Could you give me one more opinion?
    Can I have…

    About my theme…
    (1) I am using “Image Upload for bbPress Pro” plug-in. Which is bbpress editor.
    (2) But Member can not using this editor. It mean, editor does not working.
    ㄴ You can check two images. Could you check “https://prnt.sc/si6z3s&#8221;, “https://prnt.sc/si709x&#8221;.
    ㄴ Editor is appear but not working by member(Participant). Only working for Admin.

    Therefore, When my member open new topic, then topic show like this https://43gear.com/forums/topic/%ea%b3%a0%eb%a6%bd%eb%90%9c-%eb%8c%80%ea%b5%ac-%eb%8c%80%ea%b5%ac-%eb%b4%89%ec%87%84-%ec%82%ac%ec%8b%a4%ec%83%81-%ea%b3%84%ec%97%84%eb%a0%b9/#post-100021834

    I just try to download both plugin which you introduce. But still not working.

    Do you have any idea or opinion why it does not working?

    I try to fix as long time…
    And I try to ask theme Author and plugin Author too.
    But that happen still…
    So…

    Thank you very much.

    #211138
    theicebooky
    Participant

    @robin-w would you mind helping me with this issue too?

    Subscription Email?

    #211137
    theicebooky
    Participant

    Hey, I know that bbpress have the option to subscribe to forums.

    Is there a way to customize those emails??

    Thank you!!

Viewing 25 results - 4,526 through 4,550 (of 64,397 total)
Skip to toolbar