Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,176 through 8,200 (of 64,471 total)
  • Author
    Search Results
  • #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.

    #187461
    lauradimitra
    Participant

    Hi Mithrandir,

    thank you for your reply.

    I’m using the GeneratePress theme and I figured out that I don’t have (or cannot find) the template “content-archive-forum.php”. I’ve looked for it in my theme (GeneratePress) and the plugins bbPress and BuddyPress. Can you tell me where I can find it?

    I’m starting a forum for an open source product. One of our users prefers to see the unanswered questions immediately because he wants to help all user with an answer, so that’s the reason I’m asking it. My HTML and CSS skills are good,and now I’m using wordpress already for some months. My PHP knowledge is very basic and passive, but I’m used to it in WordPress.

    Kind regards,
    Laura

    #187449
    durvilchat
    Participant

    How to create Topic Info like on the supports of the sites BBpress and Buddypress? thanks

    #187446
    Gareth@alined.com
    Participant

    Hello,

    I’m a developer trying to implement bbPress on a clients website and I’m running into some issues.

    Firstly anything related to “Replies” is returning a 500 error. For example:
    – “/forums/users/admin/replies/”
    – “/wp-admin/edit.php?post_type=reply”
    – The recent replies widget.

    We’re running:
    – Windows Server
    – PHP 5.6.30
    – Memory Limit is set to 128M
    – PHP error log doesn’t report back any errors (???) related to this issue.

    I’ve tried:
    – Removed the replies widget, obviously.
    – Repair Forums
    – Refreshed Permalinks

    I know a few other people have had a similar 500 issue/s regarding replies, particularly the admin panel. Has anybody got a solution?

    Thank you in advance,

    Gareth

    #187438
    DiegoM0urah
    Participant

    When I upgraded my Wp to version 4.8.2 the “forum” information disappeared from the “dashboard”.
    Bbpress keeps running, but I can not create a new forum or topics.

    Is this a compatibility issue with version 4.8.2 of WP?

    Can you tell me when we will have a bbpress update for version 4.8.2 of WP?

    #187429
    mithrandir
    Participant

    The code below loops through specified number of topics in the forum. eg ‘posts_per_page’ => 100 .
    Please the read the link included below.

    if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => 'false', 'meta_key' => '_bbp_last_active_time', 'orderby' => 'meta_value', 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 100 ) ) )
    		bbp_get_template_part( 'bbpress/loop', 'topics' );

    Link to topic:
    https://bbpress.org/forums/topic/display-list-of-topics-under-specific-forum/

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

    #187427
    lauradimitra
    Participant

    Hi all,

    I’m starting a community page in WordPress with the plugins bbPress and BuddyPress.

    I have a nice Forum page with my topics. At the top of the forum page I would like to have an overview about the topics with no replies for the logged in users with a certain role. So not a link to the page with all unanswered questions, but, if possible an overview of the questions.

    Is this possible? Thanks for your help!

    Kind regards,

    Laura

    #187425

    In reply to: Search css issues…

    mithrandir
    Participant

    The problem is not not in bbPress itself. After inspecting your website, at first glance, it appears you have the plugin bbPress – New UI installed which modifies the appearance of bbpress. It is possible the plugin has compatibility issues with your bbpress installation.

    In the browser I locally disabled the CSS loaded by the plugin and it fixed the overlapping and alignment issues. The reason changing themes does not help is that the plugin remains active regardless what theme you are using. I would recommend disabling the plugin and manually adjusting css.

    If you are not familiar with CSS, I highly recommend the plugin Yellow Pencil by Waspthemes. It is a visual CSS style editor and makes it very simple to style any WordPress theme or plugin, including bbPress.

    #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.

    #187419
    mithrandir
    Participant

    You would have to use a conditional statement comparing against, if it is the forum archive. Depending on your theme and how bbPress has been implemented, the location of the title may vary. I am by no means an expert, but I can try my best to help out if you could provide more information.

    <h1 class="entry-title main-title">
        <?php
        // Display title on all pages except forum archive
        if (!bbp_is_forum_archive()) {
            the_title();
        }
        ?>
    </h1>
    #187407
    s1r0n
    Participant

    I recently screwed up my BBPRESS installation. After changing the URL structure of my site to remove the ‘blog’ part of the url, bbpress stopped showing up topics. I deleted all forums and threads, deactivated bbpress, reinstalled, reset the permalinks, all multiple times, and it is still not working properly. Can somebody help me completely purge BBPRESS so I can do a clean install? Tell me what I have to do

    #187404

    Topic: Remove sidebar?

    in forum Plugins
    loiruca
    Participant

    HI, I found many articles on how to remove the sidebar from bbpress pages but nothing I do works for me. I’ve already checked my theme and sidebar is enabled. I’ve tried commenting out the <?php get_sidebar(); ?> under all bbpress templates files. I’ve tried hiding it with CSS.

    The index forum pages and topics don’t show sidebar, but when I go to other pages like a user account or a tag, etc then the sidebar is there. Please, anyone, help me. I’m not sure what to do anymore.

    #187401
    mithrandir
    Participant

    I would like to integrate anonymous posting for registered users with my bbPress forum. ie. logged in users should have the ability to be anonymous if they choose to do so. The entire board is private and requires membership so guest posting is not an option.

    I have searched high and low for a plugin yet no luck. In my particular case, there are certain members who are embarrassed to post certain topics or questions, anonymous posting would give them the freedom to ask and participate without being judged by the community.

    I was hoping someone could offer there expertise and give me a nudge in the right direction, as to what would be the best way to develop such a feature, regarding which functions and files of the bbPress core i should be looking at. I am relatively new to php and programming in general and any advice/guidance would be a huge help for me.

    Thanking you for your time and help

    #187372

    In reply to: Small ticks all over

    Robin W
    Moderator

    I’d need a link to a live site, but doesn’t look like native bbpress.

    #187368
    paladinbrewer
    Participant

    I can try that. Where would I find the php for your template? Also, I sent the bbpress folder to your email that was listed on your contact. Any help you can provide is super appreciated!

    #187348

    In reply to: Forum Freshness

    melodies
    Participant

    I know that changes made directly inside the bbPress plugin will be overridden during the next update, but I’m just wondering if in the meantime there is a line of code I could change within the plugin as a temporary fix?

    …Similar to the way the person who was experiencing the same problem in the link provided above did, stating: “In my case (Pacific Time) I needed to subtract 7 hours which translated to 25200 seconds” and made the temporary fix directly inside his install of the plugin.

    #187347
    Robin W
    Moderator

    As far as I can see your theme author has rewritten some (maybe all) of the theme templates, renaming all the bbpress css codes, to harmonise in with the theme, which effectively neuters my plugin.

    It would take considerable effort to change all that to make the two work.

    I think that is as far as I can help.

    #187336
    Robin W
    Moderator

    ok, thanks – can you list the files in the bbpress folder ?

    #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?
    #187332
    paladinbrewer
    Participant

    1. Nope, no caching software
    2. I set the css location and saved changes, nothing has changed that I can see?
    3. Yes my template does have a bbpress folder

    #187327
    timsilva_
    Participant

    Robin, just wanted to drop in and say that you rock! I’ve seen you and other donate tons of time to this place and ironically, I wish bbPress[.org] had a like/reaction feature so that I (and probably many others) could passively support your posts haha.


    @paladinbrewer
    – I also wish that some of these features were built in, but I appreciate elements of how it works as well. Where stacking plugins get complicated is with conflicts; every so often you’ll find two plugins/features that you need, and one of them breaks the other one somehow. Free and open-source software has its pros and cons. 😉

    #187326
    Robin W
    Moderator

    So I am trying your bbp style pack, it looks like I have a lot of options I’d like to use. Is there some particular short code I’m supposed to use? I tried:
    [bsp-display-forum-index forum= ‘46,50,52,54,56,59’]
    And in the bbp style pack settings -> Forum Templates, I changed it to “Alternative Forum Template 1” but I dont see any changes. Am I using the wrong shortcode?

    style pack will work against the standard forum code, so if you have a forum(s) displaying without style pack being activated, then it should work against that url with the changes

    ok, that is my plugin, and I’ll try to get to a resolution

    It may be as simple as closing and restarting your browser, so try this first !!

    If that doesn’t work…

    Style pack works with many/most sites, but it can fail due to a myriad of reasons, including (but no means limited to) site permissions, other plugins and most often site themes where the theme author has altered bbpress files.

    My plugin uses two different techniques to make changes.

    For some I change how bbpress sends information by changing or overwriting bbpress code, for some I change what is called css, which your browser uses to display information.

    Therefore some changes may take effect, whilst others don’t seem to.

    Additionally you may have :

    1. ‘caching’ software that speeds up the download of your site, but may not recognise and immediately make changes from my plugin
    Do you know if you are using caching software?
    2. Site permissions issues – you site might (quite validly for it) not allow my plugin to write code to certain areas
    Try
    Dashboard>settings>bbp style pack>css location
    check the activate box and set the location to
    wp-content/uploads/
    and save these changes

    For the template, are you able to look at the site files to see if your theme has a directory called bbpress ?

    ie wp-content/themes/%your-theme-name%/bbpress

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

    Robin W
    Moderator

    you will have a plugin in addition to bbpress that is doing file uploads, that plugin author should be able to help.

    #187323
    riggie11
    Participant

    I have WordPress ver. 4.8.2–en_GB and bbpress ver. Version 2.6-rc-3.The forum I created can be seen here:
    https://freyer.com/forums/topic/this-is-a-very-long-topic-as-i-have-loads-to-discuss-2/?csshero_action=edit_page&rand=272

    After setting up bbpress I have this search issue that when I search the forum, the results are messy as you can see above.
    Any idea where I can make changes, so the page displays properly?

    thanks,
    Riggie

Viewing 25 results - 8,176 through 8,200 (of 64,471 total)
Skip to toolbar