Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,276 through 1,300 (of 6,778 total)
  • Author
    Search Results
  • jack_tyler
    Participant

    Hi Guys,

    Anyone knows how to modify the content-archive-forum.php located in wp-content\plugins\bbpress\templates\default\bbpress using a custom plugin(not in the theme)? Is it possible?

    #187719
    atomanas
    Participant

    Hi can someone help me a have custom login in my forum page a want create custom pages for register and lost password a don’t want redirect user to default wordpress register page.

    #187671
    tmazawi
    Participant

    Hi
    I have a weird problem with bbpress
    most of the words in bbpress is not translated but some is
    like: Freshness is in english but the no topics is translated to arabic
    i have the latest version of bbpress
    i have configured wp_config.php to arabic
    and my default wordpress language is arabic
    also i double checked all the translation files in this directory
    –/wp-content/languages/bbpress
    and
    —/wp-content/languages/plugins/bbpress
    and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine

    #187654
    tmazawi
    Participant

    Hi
    I have a weird problem with bbpress
    most of the words in bbpress is not translated but some is
    like: Freshness is in english but the no topics is translated to arabic
    i have the latest version of bbpress
    i have configured wp_config.php to arabic
    and my default wordpress language is arabic
    also i double checked all the translation files in this directory
    –/wp-content/languages/bbpress
    and
    —/wp-content/languages/plugins/bbpress
    and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine

    #187579

    In reply to: Reply Styling

    mithrandir
    Participant

    This is not very difficult to achieve, and does not require any plugins. A similar look is possible with modifying the bbPress template files, and some custom CSS styling. Although it depends on your experience with HTML,CSS and a bit of knowledge about PHP and how WordPress templates work.

    To find the location of the bbPress template files navigate to:
    ‘wp-content/plugins/bbpress/templates/default/bppress/’
    Here you will find various template files which serve various purposes.
    for eg. loop-topics.php is the template file for the topics ( like in the kleo theme ).

    You should not modify the original files.
    Instead create a folder named bbPress in your theme root folder (or child theme root folder)
    ie. ‘wp-content/themes/YOUR-THEME/bbpress/’
    Any changes you make in this newly created folder will be given priority over the originals.

    Copy any files you wish to modify from the original location into this folder.
    This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.

    The avatars you see, can be selected as an option in the WordPress dashboard.
    Navigate to Dashboard> Settings > Discussion –> Default Avatar
    Here you will have the option to choose from:

    • Mystery Person
    • Blank
    • Gravatar Logo
    • Identicon (Generated)
    • Wavatar (Generated)
    • MonsterID (Generated)
    • Retro (Generated)

    The (Generated) avatars are the ones to choose from.

    If you are willing to invest some time ( since without fluency in the aforementioned skills, it could take a little bit of trial and error), I could help you in achieving this.

    It is a little late in the night at the moment(in my country), ill post back tomorrow to get the gears rolling with some examples.

    #187525
    mithrandir
    Participant

    If you could provide more information regarding which WordPress theme you are using and any more specific areas in detail that are causing issues I could try my best to help out.

    Many themes include there own styling which can interfere with bbPress styling, so it is best to take that into consideration before modifying the CSS.

    As far as my experience goes, bbPress provides bare minimal styling, Personally I find this to be advantageous, in the case of adding your own styles to match your theme, one does not have to override too many complex styling rules. yet, I agree there is still room for improvement with default bbPress responsive styling.

    #187481
    mithrandir
    Participant

    Sounds like permalink issues. Have you tried to refresh permalinks? Are you using apache or a microsoft IIS web server on your hosting? I have noticed other people with similar problem are on IIS servers.I would look into htaccess if apache or web.config if on IIS or ‘URL Rewrite’ module settings in IIS.

    In wordpress Dashboard>settings>permalinks try setting to default. And click save changes.

    In Dashboard>tools>forums have you tried to repair forums?

    I am not familiar with IIS but the htaccess file should be writable with correct permissions.

    #187467
    mithrandir
    Participant

    In the WordPress dashboard under settings>forums –> under the Forum User Settings, you will see the option:

    Disallow editing after x number of minutes

    You could try increasing the limit, however it does not explain why the keymaster or administrator can not edit a reply or topic.

    It might help in finding the problem by changing the theme to the default wordpress themes and disabling all plugins except bbPress.

    If you could provide more information, regarding the bbPress/wordpress version, themes and plugins, I could try my best to help.

    #187466
    mithrandir
    Participant

    To find the location of the template files navigate to:
    ‘wp-content/plugins/bbpress/templates/default/bppress/’

    You will find all the template parts in this folder. It is recommended to not modify the files directly, instead create a folder named bbPress in the ‘generatepress’ theme root folder. ie. ‘wp-content/themes/generatepress/bbpress/’ copy any files you wish to modify into this folder. This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.

    Test this by copying the content-archive-forum.php to the newly created bbpress folder and begin to modify the file.

    a simple php echo command will confirm it is working by printing a message at the top of the content-forum-archive template.

    <?php echo "Hello world!"; ?>

    The Example provided in the previous reply can be pasted on top, or wherever you would like to display the topics. Some formatting is required, by adding appropriate div classes and styling with css as necessary. Would be happy to help with any of the html, php or wordpress functions if there is any difficulty.

    *my apologies if this a duplicate reply, previous reply did not get submitted properly,spam protection may have blocked it, since it included links to screenshots on imgur.

    #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

Viewing 25 results - 1,276 through 1,300 (of 6,778 total)
Skip to toolbar