Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,301 through 1,325 (of 6,794 total)
  • Author
    Search Results
  • #187428
    sysix
    Participant

    Hello Guys,

    I think I have found a bug. But at first some Info from the System:

    WP version 4.8.2
    PHP version 7.0.22-0ubuntu0.16.04.1
    bbPress version 2.5.14-6684

    I want the hide the Tag-Input for all “normal” Users. So only the Keymaster and the mods can assign tags. I found, that I can hook into the capatiblities with bbp_get_caps_for_role and set the settings to false:

    `
    add_filter(‘bbp_get_caps_for_role’, function ($caps, $role) {
    // only the admin can delete and manage topic tags
    if (!in_array($role, [‘bbp_keymaster’])) {
    $caps[‘manage_topic_tags’] = false;
    $caps[‘delete_topic_tags’] = false;
    }

    // only mods and admin can edit or assign tags
    if (!in_array($role, [‘bbp_keymaster’, ‘bbp_moderator’])) {
    $caps[‘edit_topic_tags’] = false;
    $caps[‘assign_topic_tags’] = false;
    }

    return $caps;
    }, 10, 2);

    But the problem is, that in template\defaults\bbpress\form-reply.php we check with:

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>

    current_user_can calls WP_User->has_cap and there is $capabilities['assign_topic_tags'] = true.

    —–

    Workaround:

    `
    add_filter(‘user_has_cap’, function($caps, $metaCaps, $args) {
    $forumCaps = bbp_get_caps_for_role($args[0]);

    return array_merge($caps, $forumCaps);
    }, 10, 4);
    `

    #187420

    In reply to: Remove sidebar?

    mithrandir
    Participant

    The theme you are using is most likely overriding the bbpress default template, any template files you modify in the plugin folder are most likely being bypassed by theme or child theme. It would help to visit the bbpress codex which explains the template hierarchy in detail.

    Getting Started in Modifying the Main bbPress Template

    Step-by-Step Guide to Creating a Custom bbPress Theme

    I could try my best to help out if you could provide more information regarding which theme you are using, folder structure, child theme etc.

    #187334
    sbarkin
    Participant

    I created a custom page for the forum “home page”. bbPress has clickable breadcrumbs and “Forum” will load the default bbPress forum home, as such I added the following to my .htaccess to redirect the user to my custom page:

    RewriteEngine On
    RewriteRule /forums$ /the-forum

    This redirects the user:
    from: http://ok.thissiteworks.com/forums/ (bbPress forum home)
    to: http://ok.thissiteworks.com/the-forum/ (custom forum home)

    That works – but only for logged in users. When a user is not logged in the redirect does not work.

    1. Can someone advise why this would not work for not logged in users?
    2. Is there perhaps a better way to redirect the users to the custom page?
    #187285
    nanpress1
    Participant

    WP 4.8.2
    Site is not yet live to public
    Paid theme

    Hi- I’m trying to create a bbpress sidebar template on the forum page. The sidebar works on the default page but it’s not optimal to have a bbpress sidebar on every page of the site. Therefore, I’d like a template just for bbpress.

    I’ve searched the forums and have consulted used the bbpress documentation.
    Here’s what I’ve done. Any input is appreciated.

    I’ve created a bbpress specific sidebar using css and php in my child theme (using bbpress instructions)

    I’ve populated the sidebar with widgets and saved it. However, when I go to page>templates there is no bbpress sidebar template to choose from.

    To fix this, I went to the theme root page templates and copied ‘template-sidebar-left.php.’

    Per the bbpress instructions, I renamed it bbpress.php and moved it the file to the theme folder. Now it’s wp-content/themes/%mytheme%/bbpress.php

    This didn’t add a bbpress sidebar template. So I went into bbpress.php and changed
    <div id=”primary” class=”container”>
    to
    <div id=”primary2″ class=”container2″>

    No luck.

    Also, I checked and there are no inactive sidebar widgets.

    Still no luck. What am I doing wrong? What else can I try to get a bbpress template sidebar to appear?

    Again, any insight is appreciated.
    Thanks

    #187264
    clearscope
    Participant

    Not sure what you mean – are you suggesting that this is a conflict with the site itself?

    This issue is occurring with the default Twenty Seventeen theme, the most recent version of WordPress, the most recent version of bbPress, and with no other plugins installed.

    It seems that this is an issue with bbPress itself, not any sort of conflict with a site.

    #187242

    In reply to: Forums & Sub Forums

    rogerlridge
    Participant

    First, thank you for your speedy reply, really appreciate it. Second, although it’s not built in by default do you know how I would go about achieving this result by any chance?

    #187234

    In reply to: Forums & Sub Forums

    Believe it or not, this type of layout is not built into the default templates, mostly because I don’t really like them very much, and also because we plan on changing the way forums & categories work in a future version, and I did not want to commit to that type of design only to need to force users to rename their template files.

    #187214
    Ilona90
    Participant

    Hello,

    Can somebody please tell me how translation of bbpress works?

    What I did:

    I installed WordPress and set my default language
    I installed bbpress plugin
    I installed Loco translate
    I create the map languages/bbpress on ftp
    I downloaded the .po and .mo and put in the map

    But nothing is working! Can somebody help me please?

    #187161
    Robin W
    Moderator

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php
    bbPress will now use this template instead of the original
    and you can amend this

    Then you’ll see that line 27 contains the text you want to alter.

    #187144
    vegetarianzen
    Participant

    Hello Team bbpress

    I am using the plugin bbpress. I want to customise that view of forum similar to http://www.veggieboards.com/forum/index.php this link.

    I have created the child theme and add the css folder and archive-forums.php file in the child theme. I am not able to customise plugin using css only because I want to change the structure. If I change plugin core file then future update overwrite my code and when I am place the complete plugin in child then its stop working and page become blank.

    Please give me the solution I am waiting your solutions.

    My bbpress plugin Version: 2.5.14

    Wordpress Version: 4.8.2

    Thanks

    #186944
    Robin W
    Moderator

    you set the default role in dashboard>settings>forums and when the users first log in the will get it allocated.

    or go to

    Dashboard>users>and amend their profile

    or if you want to do it programmatically or directly in the database, then in usermeta you additionally set

    wp_capabilities which already has their wordpress role, so you just add it to the array

    to say

    a:2:{s:13:”administrator”;s:1:”1″;s:13:”bbp_keymaster”;b:1;}

    a:2:{s:10:”subscriber”;b:1;s:15:”bbp_participant”;b:1;}

    a:2:{s:6:”editor”;b:1;s:13:”bbp_moderator”;b:1;}

    #186906
    Vinod Dalvi
    Participant

    @lovechard Please understand that the bbPress provides functionality to users to subscribe/unsubscribe to topics from topics page but memberpress is restricting them to access topic page so they don’t have access to the page to unsubscribe to the topics.

    Here memberpress is changing the bbPress default process so in this case on cancelling the membership the memberpress should also unsubscribe users from all topics.

    The code in the following plugin will help memberpress to develop this functionality.

    https://github.com/tharsheblows/mjj-bbp-subscription

    #186891
    clearscope
    Participant

    We have encountered a bug whereby when multiple forums are placed on a page, using the [bbp-single-forum id=##] shortcode, the HTML buttons do not appear for all but the 1st forum. The class=”quicktags-toolbar” div still appears in the source code, but it is empty (the HTML input buttons do not appear within the source HTML).

    This issue has been confirmed on multiple installs, with all plugins disabled and using the default WP theme.

    Here is a screenshot example: https://imgur.com/rqPiXa6

    #186804
    dgssaedfrhes
    Participant

    Hi,
    I want to remove “e-mail” field from the replay form of anonymous users.
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php

    I removed the website field and it works, I’m trying now to remove the e-mail field too but because it’s require filed it doesn’t work!
    If i press “submit” nothing happen at all.

    Okay from what I know i should remove this code

    <p>
    <label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    <input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" name="bbp_anonymous_email" />
    </p>

    after that what should I do?! 🙂

    #186793
    Robin W
    Moderator

    probably theme issue.

    try AS A TEST a default theme such as twenty seventeen, and see if the problem goes away

    #186792
    Robin W
    Moderator

    4 files of interest to you

    all found in templates/default/bbpress

    loop-search.php
    loop-search-topic.php
    loop-search-reply.php
    loop-search-forum.php

    copy them to your theme

    so if you wanted to amend loop-search-topic you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-search-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-search-topic.php
    bbPress will now use this template instead of the original
    and you can amend this

    #186774

    In reply to: bbp_after_main_content

    Robin W
    Moderator

    this <div id=”bbpress-forums”> is used in several places – if you can describe where you want to add, I can probably find the right hook for you.

    Most of the hooks are in the templates, located in

    templates/default/bbpress/

    the main forum uses

    content-archive-forum.php

    which has an action hook of

    ‘bbp_template_after_forums_index’ so if it just the main forum list then

    add_action( 'bbp_template_after_forums_index' ,'after_content_hook');
    #
    would work

    #186710
    Vinod Dalvi
    Participant

    @sovvyg Please delete and reinstall the latest version of bbPress plugin. Also please clear the autoptimize cache that you are using on your site.

    This can be your theme issue so to confirm it just temporary use the default WordPress theme like Twenty Seventeen on your site. If everything works fine then it’s your theme issue.

    #186667
    clearscope
    Participant

    We have encountered an issue whereby when multiple forums are placed on a page, using the [bbp-single-forum id=##] shortcode, the HTML buttons do not appear for all but the 1st forum. The class=”quicktags-toolbar” div still appears, but it is empty (the HTML input buttons do not appear within the source HTML).

    This issue has been confirmed on multiple installs, with all plugins disabled and using the default WP theme.

    Here is a screenshot example: https://imgur.com/rqPiXa6

    #186614
    Vinod Dalvi
    Participant

    The shared Elegant Themes support topic page is not accessible for us as it is members only.

    As this functionality works fine with default WordPress 2015 theme so it is not bbPress plugin issue. This seems conflict issue with Divi theme, may be due to not following WordPress standards so please contact the theme author to resolve the issue in the theme.

    #186566
    Vinod Dalvi
    Participant

    This can be your theme issue used on your site so to confirm it just temporary use the any default WordPress theme like Twenty Seventeen theme on your site. If everything works fine then it’s theme issue.

    #186559
    Vinod Dalvi
    Participant

    I have tested it on my test site and it’s working fine for me using latest version of bbPress plugin.

    Please make sure you are using latest version of bbPress plugin.

    This can be your theme issue on your site so to confirm it just temporary use any default WordPress theme like Twenty Seventeen theme. If everything works fine then it’s your theme issue.

    Also this can be due to plugin conflict on your site so please try temporary deactivating all plugins except Unyson plugin and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.

    Could you please share me your site URL where it’s happening so that i can troubleshoot it?

    #186521

    In reply to: Post template

    Vinod Dalvi
    Participant

    You can just hide it using below custom CSS code on your site as described here http://freewptp.com/how-to-use-custom-css-in-wordpress-site/

    #bbpress-forums fieldset.bbp-form label[for="bbp_anonymous_website"],
    #bbpress-forums fieldset.bbp-form #bbp_anonymous_website {
        display:none;
    }

    Or you can overwrite following bbPress template file in your child theme and remove website field code from it.

    /bbpress/templates/default/bbpress/form-anonymous.php

    #186485
    Robin W
    Moderator

    can only give you the area for html

    so two files

    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    Make a copy of the two files above, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/bbpress/form-topic.php
    and
    wp-content/themes/%your-theme-name%/bbpress/bbpress/form-reply.php

    bbPress will now use this template instead of the original
    and you can amend this

    Suggest your html/php needs to replace

    <?php bbp_the_content( array( 'context' => 'reply' ) ); ?>

    but you’ll need to work out exactly how yourself !!

    In the spirit of sharing stuff, if you work it out, please post the solution to this thread !!

    Matt Pritchett
    Participant

    Trying to diagnose a site why the pagination for the shortcode [bbp-topic-index] works only to page 2. Once you get to page 3+ (of 1200+ pages) it 404s. It only goes to page 2 regardless of what the per page setting is for topics. This is running PHP7.0.x, WP 4.8.1 and I’ve confirmed the issue on 2.5.12 and 2.6 RC3. Going back to 2.5.11 gives me the ksort expects param 1 to be an array error as do all other 2.5.x series. I have tested with all plugins deactivated except bbPress and tried all the usual default themes. Any thoughts?

Viewing 25 results - 1,301 through 1,325 (of 6,794 total)
Skip to toolbar