Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,751 through 19,775 (of 64,729 total)
  • Author
    Search Results
  • #149030
    Robin W
    Moderator

    @obinyc sorry missed this post

    try

    <?php get_sidebar(); ?>

    @drceng

    lots of different boats, and yours is probably not the same.

    Do you have a sidebar at all showing?
    Have you followed

    Step by step guide to setting up a bbPress forum – Part 1

    Come back if you need further help

    #149027
    Robin W
    Moderator

    ok there are two parameters

    wordpress – has subscriber, author, admin etc.
    bbpress has – participant, moderator, keymaster etc.

    you’ll see the bbpress roles when you do into

    dashboard>settings>users>all users and go into edit users. Look at the bottom of the screen and you’ll see forum role.

    If you are manually registering your users, then have set up a user, you’ll need to go back into edit to add the role.

    If your users are automatically registered as part of a process, then you’ll need to set Dashboard>settings>forums and change/tick automatically assign users the participant role (if that’s the role you want them to have).

    In automatic mode, the user is assigned the bbpress role on first login. However if you are using third party registration processes (eg plugins to do that) then some override that, and that part of the process doesn’t work, so you’ll need to check that rthe process is happening.

    Come back if you need further help.

    #149026
    Stephen Edgar
    Keymaster

    Make sure you do not have any conflicts with either your theme or any other plugins:

    Switch your theme to the Twenty Fourteen theme and test again, does it work now?

    Deactivate all your plugins except bbPress, does it work now? If yes start reactivating each plugin until you find the conflicting plugin that causes it to stop working.

    #149025
    Stephen Edgar
    Keymaster

    Closing this as a duplicate of this topic here (They were origianlly marked as spam by Akismet)

    #149024
    Stephen Edgar
    Keymaster

    Closing this as a duplicate of this topic here (They were origianlly marked as spam by Akismet)

    #149020

    In reply to: Remove Breadcrumbs

    Robin W
    Moderator
    #149017

    In reply to: disabling breadcrumbs

    Robin W
    Moderator
    #149007
    el_ganadores
    Participant

    Hi!

    Logged in users other than a logged in admin are unable to see the forum – they can only see a 404 page. Does anyone have any ideas?

    Admins can see the forum fine (and contribute etc) and not logged in visitors can see everything too.

    I’ve deactivated all plugins except for bbPress and I’ve also changed themes without success. Any ideas would be really appreciated!

    I tried heaps of changes but haven’t been able to sort out my similar problem.

    I can access my forum when logged in as the admin, but when someone else is logged in they get a 404. Not logged in users can see the forum.

    This means that only the admin and not logged in users can see the forum. Which obviously means that there weren’t be any chatting! Does anyone have any ideas? Thanks so much!

    http://studentview.com.au/forums/

    #148997
    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #148988
    Robkk
    Moderator

    to test out the code make pictures really small and add important

    #bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
        max-width: 100px!important;
        max-height: 50px!important;
    }

    but you could also send me a link to a forum post with a picture too

    #148986
    Leonyipa
    Participant

    yes, but it doesn’t work ๐Ÿ™

    I also found the code is in
    /public_html/wp-content/plugins/bbpress/templates/default/css/bbpress.css

    I directly change the number of

    #bbpress-forums div.bbp-topic-content img,
    #bbpress-forums div.bbp-reply-content img {
    max-width: 100%;
    }
    However, no matter what number I change to, it still doesnโ€™t work.
    The width of the image still remain 100%

    #148984
    Robkk
    Moderator

    change the numbers to whatever you want

    #bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
    max-width: 500px;
    max-height:250px;
    height: auto;
    }

    you add this into anywhere where you can have custom css

    in bbpress.css in your child theme(you copy the original in your child theme)
    in your child themes css stylesheet
    the jetpack plugin module custom css
    a standalone custom css plugin

    #148978
    hjrhclan
    Participant

    hello , everybody ,ask a question
    how to limit bbpress only search post in 30 days?

    marekkk
    Participant

    Hello,

    My WP version is: 3.9.1 and bbpress version: 2.5.4-5380/

    When im submitting new topic it redirects to previously created one. Topic creation works fine from admin panel, but when i try to create new topic using form placed on topic lists it just doesn’t work. Any ideas?
    http://chwilowkiok.pl/forum/

    #148976
    marekkk
    Participant

    Hello,

    My WP version is: 3.9.1 and bbpress version: 2.5.4-5380/

    When im submitting new topic it redirects to previously created one. Topic creation works fine from admin panel, but when i try to create new topic using form placed on topic lists it just doesn’t work. Any ideas?
    http://chwilowkiok.pl/forum/

    #148966
    LeafyGrove
    Participant

    Test all three and all three work! tyvm. Even adapted the rest by removing the “#bbpress-forums” which is redundant, not like anything other then bbpress using those containers anyway, and it functions just fine it seems.

    #148960
    marekkk
    Participant

    Hello,

    My WP version is: 3.9.1 and bbpress version: 2.5.4-5380/

    When im submitting new topic it redirects to previously created one. Topic creation works fine from admin panel, but when i try to create new topic using form placed on topic lists it just doesn’t work. Any ideas?
    http://chwilowkiok.pl/forum/

    #148958
    Paul
    Participant

    Hi Stephen, my upgrade was 2.3.2 to 2.5.4 not 2.5.3 to 2.5.3.

    You were correct, thank you. The problem was caused by a permalink conflict. The page I am using the shortcode had the slug forums. Changing the slug to something else so it was not the same as the slug used by Forum Root (or visa versa) resolved the issue.

    The question remains though, why is this a problem with this version of bbpress over the older version I was using?

    #148954
    drceng
    Participant

    Thanks Robkk…but I definitely don’t want to change the color of all links or breadcrumbs in my theme…just for the bbPress forum.

    Jerry
    Participant

    I have updated the code again, and I have a question to improve it a little. First the update; I had more trouble with formatting when I wanted to bring in topics from different sites. What I finally learned was to create a new id class and use it in my child theme style.css. Here is the updated code:

    add_shortcode( 'recent-bbpress-topics', 'recent_bbpress_topics' );
    
    // Add Recent Topics to BBPress from separate site within WP Multisite
    function recent_bbpress_topics($attr) {
    	//Switch to the blog where the bbpress topics are located
      switch_to_blog($attr['id']);
    
      //this, along with $response variable below, allows for display within content - without these, shortcode will display topics at top of content
      ob_start();
      if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 8 ) ) ) {
        //id class to be named "#recent-titles li.bbp-topic-title" and placed in style.css in the child theme ?>  
        <ul id="recent-titles">
          <?php while ( bbp_topics() ) : bbp_the_topic(); ?>
    			<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
    		  <?php endwhile; ?>
          <?php //bbp_get_template_part( 'loop', 'topics' ); ?>
        </ul>
        <?php //restore the current blog to maintain formatting 
        restore_current_blog();
        }
        //this, along with ob_start(); above, allows for display within content, instead of at the top of the content/page
        $response = ob_get_contents();
          ob_end_clean();
          return $response;
      }

    And here is what I added to style.css:

    /*Changes made to accommodate formatting for plugin recent-bbpress-changes*/
    #recent-titles li.bbp-topic-title {
    	float: left;
    	text-align: left;
    	width: 12%;
      overflow: hidden;
    }

    Notice how I declared the class id in the php code. One additional note; I have made several changes to my bbpress topics before I ever implemented this plugin. Perhaps other users will not require the css changes that I had to implement, post plugin activation.

    Now for my question: Is it possible to have two input parameters to a shortcode? For this plugin, I would like to be able to change the input to “post_parent” as well as “switch_to_blog($attr[‘id’]);”. I’ve already tried to do this, but have failed. Here is what I tried:

    function recent_bbpress_topics($attr,$attr2) {
    	//Switch to the blog where the bbpress topics are located
      switch_to_blog($attr['id']);
    
      //this, along with $response variable below, allows for display within content - without these, shortcode will display topics at top of content
      ob_start();
      if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => $attr2['id2'], 'posts_per_page' => 8 ) ) )

    I end up getting an illegal string swap error. Anyone got any ideas here?

    #148940

    In reply to: Theming Question

    Robin W
    Moderator
    #148939

    Topic: Theming Question

    in forum Themes
    Ganzuelo
    Participant

    I apologize in advance.. I have a theme that I want to style bbpress and buddypress after. The theme that I’m using allows accent colors. How could I import that color into the bbpress styling?

    So lets say the accent color is blue and I want to change it in the customize panel to orange.. is it possible?

    #148938

    In reply to: Forum index

    Robkk
    Moderator

    i also forgot that buddypress uses a nav id of #subnav but thats easy to fix just change subnav to bbnav

    so all the code would be

    to register the menu

    function register_menu() {
    	register_nav_menu('bbmenu', __('bbpress Forum Menu'));
    }
    add_action('init', 'register_menu');

    place this below <?php do_action( 'bbp_template_before_forums_loop' ); ?>

    <nav id="bbnav" role="navigation">
    
    <?php
    if ( has_nav_menu( 'bbmenu' ) ) { /* if menu location 'bbmenu' exists then use custom menu */
          wp_nav_menu( array( 'theme_location' => 'bbmenu') ); 
    }
    ?>
    
    </nav>

    now add custom css

    #bbnav ul {
    	font-size: 13px;
    	list-style: none;
    	margin: 0;
    }
    
    #bbnav li {
    list-style-type: none;
    display: inline-block;
    margin: 6px 4px;
    }
    
    #bbnav a {
    text-decoration: none;
    color: #555;
    background: #ddd;
    padding: 2px 8px;
    border: 1px solid #e4e4e4;
    }
    
    #bbnav li a:hover {
    background: #333;
    color: #fff;
    border-color: transparent;
    text-shadow: none;
    }

    ok i found a css way of showing the menu only on the forum archive page

    create a page called forums that leads to the forum archive

    now make sure to grab the page id

    heres how to get the page id

    now add this css , replace (#) with the page number id for the forum archive page

    .post-# #bbnav {
    	background: none;
    	clear: both;
    	display: block;
    	float: left;
    	margin: 0 auto 6px;
    	width: 100%;
    }
    
    #bbnav {
    	display: none;  
    }
    

    now it should only show on the forum archive page only

    not in subscribed forums anymore

    if you dont see the menu , you probably need a special way to register menus for your theme

    #148937

    Topic: Simple Layout

    in forum Themes
    webman1
    Participant

    Hi,

    I am new to bbPress so excuse this probably simple question.

    I need the bbPress to just show Topics when someone goes to the page.
    I don’t need freshness or anything but topics.

    We are using a custom theme. WP 3.9.1

    Is there any easy way to accomplish this?

    Thanks for your help.

    Tom

    Robin W
    Moderator

    no it’s not difficult, but would take a bit of coding

    You’ll need to either create a copy function and use that or amend the topics widget and risk it being overwritten by updates.

    There’s no simple, filter I can see.

    so go into

    bbpress/includes/common/widgets.php

    and on line 807 you’ll see the author-link being created

    the correct solution would be to create a fresh version of this widget, by say copying it to your functions file and renaming it.

    If you just edit the core file, it will be overwritten by updates, but as long as you note what you’ve changed and accept that risk !…

    so you’d need to look up the last reply for that topic, and then do another author link for that reply.

    Sorry, I really busy at the moment earing a living or I so the coding .. so unless someone else steps in, see how far you can get ๐Ÿ™‚

Viewing 25 results - 19,751 through 19,775 (of 64,729 total)
Skip to toolbar