Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 12,051 through 12,075 (of 64,454 total)
  • Author
    Search Results
  • #172507
    rossagrant
    Participant

    I too have deleted every trace of BBPress AND ALL BBPress roles, yet still see this additional capability in the backend.

    Anyone know how to get rid or of any MySQL functions to cleans the DB?

    Thanks in advance!

    #172504
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #172491
    deadtomorrow
    Participant

    Can anyone recommend a plugin for making it easier to create threads on bbPress? E.g. create a thread from anywhere on the site.

    Just want something to make it easier for new people to create threads as they’re unlikely to find the form at the foot of the forum.

    Thanks 🙂

    #172490
    MarcGuay
    Participant

    Hi. I realize this is an ancient thread but I came across this problem today. domain.com/wp-login.php redirects to the homepage after successful login instead of the admin panel. domain.com/wp-admin redirects to the admin panel because of the automatic addition of the “redirect_to” variable to the URL.

    WP 4.4.2
    bbpress v2.5.8
    Theme: twentyeleven

    #172489

    In reply to: add a specific class

    Robkk
    Moderator

    You can also use this PHP function to add a class to the forum instead of doing it manually.

    function rkk_add_forum_classes( $classes ) {
     $classes[] = 'class';
     return $classes;
    }
    add_filter( 'bbp_get_forum_class','rkk_add_forum_classes' );

    Now I would like to change while loop_forums in index forums on loop-forums.php

    I do not know exactly what you are trying to do, but for just customizing it you can put the loop-forums.php file in a child theme in a folder called bbpress and then customize the file to your liking.

    https://codex.wordpress.org/Child_Themes

    #172488
    selenii
    Participant

    No I have not the bbpress moderation plugin, but I have some comment blacklist, I have add “http” and “wwww” as a blacklist, because I wanted to block all span replies.

    #172486
    Robkk
    Moderator

    @selenii

    1. Are you using the plugin bbPress moderation?? This plugin has a feature to confirm each topic or reply submitted by users.
    2. Do you have anything in your comment blacklist in Settings > Discussion?? bbPress uses this comment blacklist for its topics and replies and this could mark the posts as pending until approval.

    Sometimes plugins can add words to this comment blacklist, and sometimes a host can install a plugin that may have its own comment blacklist words that you may not be aware of is installed because it may be installed in the root of your site.

    Do these posts you are approving have any foul language?? Because that is usually the words in these comment blacklists.

    #172485
    stewmills
    Participant

    Unfortunately that didn’t work. I switched the code and while it still included a sidebar with stuff, it was a sidebar with all sorts of crazy stuff about a page long.

    So, I acted as if I was starting over and I copied my page.php file and resaved it as bbpress.php in my main theme folder. The result of this was a page with no sidebar anywhere in my forum since this template does not include any sidebar info.

    So do I:
    a) keep the page.php file that I renamed to bbpress.php and just add some code (I would need directions) to include the sidebar on all bbpress pages.
    b) revert back to my previous page an keep troubleshooting this issue with the page template that i know works aside from the topics page.

    Here is the code from the page.php page that I renamed to bbpress.php, which looks great but does not display my sidebar on any forum page.

    <?php get_header(); ?>
    
    <?php 
    // check for WooCommerce. If true, load WooCommerce custom layout
    if (class_exists('woocommerce') && ((is_woocommerce() == "true") || (is_checkout() == "true") || (is_cart() == "true") || (is_account_page() == "true") )){ ?>
    
    </div><!-- header-area -->
    </div><!-- end rays -->
    </div><!-- end header-holder -->
    </div><!-- end header -->
    
    <?php truethemes_before_main_hook(); //action hook ?>
    
    <div id="main" class="tt-woocommerce">
    <?php get_template_part('theme-template-part-tools-woocommerce','childtheme'); ?>
    
    <div class="main-holder">
    <div id="content">
    <?php if(have_posts()) : while(have_posts()) : the_post(); the_content(); truethemes_link_pages(); endwhile; endif; 
    comments_template('/page-comments.php', true); ?>
    </div><!-- end content -->
    
    <div id="sidebar" class="right_sidebar">
    <?php 
    		if ( (is_cart() == "true") || (is_checkout() == "true") ) {
    			dynamic_sidebar("WooCommerce - Cart + Checkout");
    		} else {
    			dynamic_sidebar("WooCommerce Sidebar");
    		}
    		?>
    </div><!-- end sidebar -->
    </div><!-- end main-holder -->
    </div><!-- main-area -->
      
      
      <?php // ELSE load default layout
      } else { ?>
      
    </div><!-- header-area -->
    </div><!-- end rays -->
    </div><!-- end header-holder -->
    </div><!-- end header -->
    
    <?php truethemes_before_main_hook();// action hook, see truethemes_framework/global/hooks.php ?>
    
    <div id="main">
    
    <?php get_template_part('theme-template-part-tools','childtheme'); ?>
    
    <div class="main-holder">
    <div id="content" class="content_full_width">
    <?php if(have_posts()) : while(have_posts()) : the_post(); the_content(); truethemes_link_pages(); endwhile; endif; 
    comments_template('/page-comments.php', true);
    get_template_part('theme-template-part-inline-editing','childtheme'); ?>
    </div><!-- end content -->
    </div><!-- end main-holder -->
    </div><!-- main-area -->
      
      
      <?php // END WooCommerce loop
      } ?>
        
    <?php get_footer(); ?>

    Thanks!

    #172484
    stewmills
    Participant

    Ok, so the code above is from your page.php file saved as bbpress.php in your theme – yes?

    NO, and that may be the issue? What I did is copy one of my other theme pages that I know included a sidebar, let’s just call it “page-with-leftsidebar.php”. I copied this page into my child folder and renamed it bbPress.php and that’s the code I posted above.

    I can gladly try your suggestion above, but could it be that I used the wrong page to create my bbPress.php file? I did install the “What The File” plugin and when I look at what page my forum points to, including new topics, they all show bbpress.php as the main page with other things listed in the Template Parts section.

    Anyhow…let me try your suggestion above with that piece of code and report back before i have you on an wild goose chase for no reason.

    Thanks!!! Will report back shortly.

    #172483
    Robin W
    Moderator

    The “blank space” where it goes is still there, it just does not display.

    Great – that was the bit of information I was after.

    Ok, so the code above is from your page.php file saved as bbpress.php in your theme – yes?

    If so then try changing

    <?php generated_dynamic_sidebar(); ?>
    

    to

    <?php get_sidebar(); ?>
    

    This may not work, I’m just guessing at how your theme is designed !

    #172481
    stewmills
    Participant

    Robin (thanks for always coming to my rescue),

    Everything on the page is good except the sidebar is missing. I can add it via dashboard if I edit the topic, but I cannot do this every time someone posts a new topic. All other pages have the sidebar.

    I tried to move my bbpress.php to the main theme directory to ensure that it was picking up this page before any other page and that changed nothing. I then thought maybe there was code in my page.php file from the initial load of bbpress that it might be looking for so I copied the page.php file from my theme and resaved it as bbpress.php and still no difference.

    I don’t really care that my forum is exactly like the layout of my other site pages so I am ok with some variation. My only requirements would be that (1) I can keep the header menu for navigation back to my main site and (2) I have the sidebar on any bbpress forum pages, specifically new topics in this situation.

    Forgive me for rambling, just trying to offer what I have tried and as well my flexibility.

    Would it be better for me to just make a new page template and tell it to pull in the sidebar on all pages versus using a template from the theme that included a sidebar?

    I am open to suggestions, but might need to be spoon fed a little to ensure I am following all of the appropriate steps.

    Many thanks!

    Pascal Casier
    Moderator

    Hi,

    Sure there is: https://codex.bbpress.org/features/reply-threading/

    Please note the bottom 2 small ‘issues’.

    Pascal.

    _az_
    Participant

    @siparker thanks for posting the link to the Permalinks with id plugin. I have looked into it and the logic for adding text to a permalink seems less complicated than the logic for replacing parts of the permalink.

    However, good news may be: it is possible that i will work on that feature for a client.

    Probably not the full scope of https://bbpress.trac.wordpress.org/ticket/2258 but it may be a good start.

    If this is decided, then i’d like to propose its development on github as an public bbpress-plugin and i’d happily collaborate with other devs on the issue.

    #172473

    In reply to: add a specific class

    neecride
    Participant

    Thank you !

    I found the file in part !!

    Now I would like to change while loop_forums in index forums on loop-forums.php

    exemple : http://gauge.wpengine.com/forums/

    i does not use shortcode I create a forum page and i edit the default page in bbpress folder on my folder template !

    translated by google !!

    #172468
    amongstlovelythings
    Participant

    When BuddyPress is active on my site, the bbPress Search Widget does not work. It just displays the default home page rather than search results.

    Please advise if there is a fix for this. Forum search is an absolute necessity for us.

    Forum URL: http://forum.amongstlovelythings.com
    bbPress: Version 2.5.8
    BuddyPress: Version 2.5.0

    Thank you.

    #172464
    stewmills
    Participant

    Thanks Robin! At my present state of bbpress experience this may be a bit over my head. I made a list of the forum pages in my sidebar as well as a link to Forum Home and will just use that as the way back to the forum main page. Maybe as I get more experience I will come back and revisit this later.

    #172463
    Robin W
    Moderator

    sorry still don’t understand.

    Have you done

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #172456
    stewmills
    Participant

    Just to throw this out as i am thinking out loud…Is it because I don’t have something set right in my child theme where this topic page is picking up a primary theme page instead of picking up the bbpress.php page. I read where bbpress “looks” for the list of pages and grabs the first one it sees in the list, but also understood that if I created this bbpress.php in my child theme that bbpress would know to bypass the other options and always use the bbpress.php template.

    Thanks!

    #172455
    stewmills
    Participant

    I am afraid I am doing something wrong with pastebin. What about this:

    <?php
    /*
    Template Name: bbPress
    */
    ?>
    <?php get_header(); ?>
    </div><!– header-area –>
    </div><!– end rays –>
    </div><!– end header-holder –>
    </div><!– end header –>

    <?php truethemes_before_main_hook();// action hook, see truethemes_framework/global/hooks.php ?>

    <div id=”main”>
    <?php get_template_part(‘theme-template-part-tools’,’childtheme’); ?>

    <div class=”main-holder”>
    <?php
    //retrieve value for sub-nav checkbox
    global $post;
    $post_id = $post->ID;
    $meta_value = get_post_meta($post_id,’truethemes_page_checkbox’,true);

    if(empty($meta_value)){
    get_template_part(‘theme-template-part-subnav-horizontal’,’childtheme’);}else{
    // do nothing
    }
    ?>

    <div id=”content” class=”content_left_sidebar”>
    <?php if(have_posts()) : while(have_posts()) : the_post(); the_content(); truethemes_link_pages(); endwhile; endif;
    comments_template(‘/page-comments.php’, true);
    get_template_part(‘theme-template-part-inline-editing’,’childtheme’); ?>
    </div><!– end content –>

    <div id=”sidebar” class=”left_sidebar”>
    <?php generated_dynamic_sidebar(); ?>
    </div><!– end sidebar –>
    </div><!– end main-holder –>
    </div><!– main-area –>

    <?php get_footer(); ?>

    #172448
    Pascal Casier
    Moderator

    Well, it is fixed in bbPress 2.6 that should come up pretty soon, so if you can hold a bit longer… If not, feel free to install the alpha version (for testing) that is pretty stable : https://bbpress.org/download/

    Any input would be welcome !

    Thanks, Pascal.

    #172447

    In reply to: vbulletin 3.x import

    Pascal Casier
    Moderator

    Hi @blandow,

    Styling can be done in a lot of ways. You can play yourself with some CSS starting from https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    Or you can check plugins. bbP style pack might be able to help you for the background.

    Pascal.

    siparker
    Participant

    @casiepa
    Do you think i should just gather any info i can and assign to the trac ticket?

    The solution posted a bit further up the thread by @_az_ does the basics of removing the forum slug but as he mentioend there are a few places where the permalinks are claled like breadcrumbs etc

    From what i can find out (i am not a programmer but am trying) for a quick fix we would need to get the forum parent id from the post itself then get the slug for that forumid and any parents it has. then the post permalink is built from the parent slug and the post slug.

    This needs to hook into the permalink function to override this and there is a good example (for a different purpose) here https://github.com/korobochkin/bbpress-permalinks-with-id which i think covers off all of the different places that the changes need to be made and could possibly be used as a basis for the new plugin / code.

    I am happy to do all the testing and research if anyone is able to provide some coding experience to the mix. please just get in contact with me and i will show you everything i have found so far. then we can publish the code into the trac ticket and hopefully the main devs can put this into core.

    If anyone has any ideas on blocking issues for this also please tell me.

    I know one of the potential issues and the reason for this structure in the first place was duplicated urls. Could anyone please explain the thinking behind this. and how it might present an issue.

    I know the current topics post type wont alow duplicates so the only issue i can see would be if the forum name was the same as a topic name. Is that the only time this might happen?

    If so we would need to create a check when saving the url/permalink that a forum post type does not have the same permalink and if it does then add 1 to the end?

    The way most other forums do this is by appending the thread id into the permalink so it would appear to be /my-friendly-title-11234 for example where the post id is 11234

    not saying bbpress should do this but its an option as the id for the post is available.

    siparker
    Participant

    the Trac ticket that was opened for this is Here
    https://bbpress.trac.wordpress.org/ticket/2258
    It is 3 years sold and was moved to a future release to wait for the WordPress Permalinks page to be using the settings API, so that these settings were not under the forum page.

    Not quite sure putting off a fix of this type for 3 years so you can make it appear in a different page is really a good idea but that’s where we are now.

    Can it be moved back from a low priority? This is really a high priority for me / anyone wanting to use bbpress for a forum where URLs already exist and need rewriting, or for good SEO URLs.


    @robkk

    #172442
    Robin W
    Moderator

    @casiepa

    setting top to zero fixes that !

    #bbpress-forums div.bbp-topic-author img.avatar,
     #bbpress-forums div.bbp-reply-author img.avatar {
     position: relative ;
     top : 0px ;
     }
    #172440
    Robin W
    Moderator

    Whilst it needs sorting in the core product, the ticket says that putting this in the css file will fix, and did on my test site

    #bbpress-forums div.bbp-topic-author img.avatar,
    #bbpress-forums div.bbp-reply-author img.avatar {
    position: relative
    }

    https://codex.bbpress.org/functions-files-and-child-themes-explained/

Viewing 25 results - 12,051 through 12,075 (of 64,454 total)
Skip to toolbar