Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'remove sidebar'

Viewing 25 results - 1 through 25 (of 210 total)
  • Author
    Search Results
  • #149411

    gogitossj34
    Participant

    Ok, now I’m noticing this.
    If the forum content is at
    http://www./forums which is where my forums page is at ( the page content bbp-index )
    It wont show sidebar as the page is using the full width layout.

    If the content is at http://www./forum which is where bbpress root is at, it will have the sidebar.

    Maybe you’ll figure something out from that

    And I’m just curious why is it hybrid_get_sidebar and not get_sidebar ?

    Remove the hybrid caused problem with line 21 which is the
    Copyright © 2014 The young marketers community . Powered by WordPress and Stargazer sentence.

    #149348

    gogitossj34
    Participant

    Okay, now this is what I did:
    I replaced the line above

    <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

    with this line in my old bbpress.php file because I see they are in the similar position and the page work ok.

    <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

    But at the topic page, it pushed the sidebar to the bottom. So, I deleted the get footer line and everything looks exactly how I want them to be.

    Only that now I don’t know if they’ll be any problem, especially when I removed the get footer line.

    The fact that I changed your code also is worrying me since I have absolutely no knowledge about php coding. I mean, I’ve found out there is a something called php coding.

    Anyway, here is my footer.php content, can you check if anything is important ?

    <?php hybrid_get_sidebar( ‘primary’ ); // Loads the sidebar/primary.php template. ?>

    </div><!– #main –>

    <?php hybrid_get_sidebar( ‘subsidiary’ ); // Loads the sidebar/subsidiary.php template. ?>

    </div><!– .wrap –>

    <footer <?php hybrid_attr( ‘footer’ ); ?>>

    <div class=”wrap”>

    <?php hybrid_get_menu( ‘social’ ); // Loads the menu/social.php template. ?>

    <p class=”credit”>

    <?php printf(

    /* Translators: 1 is current year, 2 is site name/link, 3 is WordPress name/link, and 4 is theme name/link. */

    __( ‘Copyright © %1$s %2$s. Powered by %3$s and %4$s.’, ‘stargazer’ ),

    date_i18n( ‘Y’ ), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()

    ); ?>

    </p><!– .credit –>

    </div><!– .wrap –>

    </footer><!– #footer –>

    </div><!– #container –>

    <?php wp_footer(); // WordPress hook for loading JavaScript, toolbar, and other things in the footer. ?>

    </body>

    </html>

    #149317

    In reply to: compact bbpress


    dingxiaohan
    Participant

    Thank you, that’s very encouraging. I’m on the brink of setting off for France for some serious work on other things, so there may be a break.

    But just for now, “allow forum wide search” was selected and I don’t see a search. Is there something else I have to do to switch it back on, having previously removed it from the sidebar?

    And I don’t suppose it’s possible to get rid of the avatar altogether, is it? We’re a very small community, we know who we are!

    #149315

    In reply to: compact bbpress


    Robin W
    Moderator

    That doesn’t seem to be possible in 2012, which forces a sidebar if you want a search facility, and which consumes a lot of vertical space with the identity of the contributor, including a large avatar.

    Good job we’re in 2014 then :-)

    If you switch on the search facility
    dashboard>settings>forums and look for search allow forum wide search, you’ll get a search bar at the top of the forums page

    for the avatar size use the following code in your functions file

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        if ($size == 80) {
            $size = 110;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
    

    The example increase the size, just change to to what you want

    see http://codex.bbpress.org/functions-files-and-child-themes-explained/ for how to do that

    you can also remove things like keymaster – just come back with what you want – and we’ll try to help you

    #149303

    gogitossj34
    Participant

    Ok. Now this is what I’m currently have:
    The forum page is okay with full width and no sidebar but topic is still like before, with sidebar.
    Note that I also did thing a bit differently. This time I didn’t remove the get_footer line. Instead I chose the 1 page width layout ( not template ). I did try this before but it didn’t work because I put the [bbp-index] line inside c.o.d.e in the page. After I remove them, it worked.
    So now, I want the topic to be like the forum page, no sidebar and full width.

    And also, I’ve just came across this other things. I notice that there are 2 “forum” page. forumS and forum. the things is. When I access the forum page through the forum permalink, it doesn’t have side bar but when I access it through the forumS permalink like when I click on forums at Home > forums > …, it act just like the topic page.
    This is a long post but to summarize:
    The topic and the forum access from the forums permalink to be full width with no sidebar.

    Thanks in advance.

    #149137

    Pavle123
    Participant

    Robin that´s absolutely correct.

    I was using BuddyPress login widget into my “Forum only” sidebar.
    I removed that widget and added bbPress login ,and it works.

    My theme : Genesis Sample
    Plugins used : BuddyPress, bbPress, BuddyPress Extender, BBpress Extender.

    Hope this will help someone.

    Everything works now for me. Thanks for the help.

    #148515

    Robin W
    Moderator

    ok, use this template, but follow the instructions in http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#8-make-sure-bbpress-uses-the-page-template-we-want

    in the copy that you have renamed bbpress then remove

    <?php
     if ( ! is_active_sidebar( ‘sidebar-2′ ) && ! is_active_sidebar( ‘sidebar-3′ ) && ! is_active_sidebar( ‘sidebar-4′ ) && ! is_active_sidebar( ‘sidebar-5′ ) )
     return;
     ?>

    and replace it with

    <?php get_sidebar(); ?>
    

    and then ensure that bbpress tweaks is saying to use bbpress.php

    #148121

    obinyc
    Participant

    Hey Robin,

    Thanks for the reply. A little while ago, I removed the line that would have included the sidebar but I just added in yours and what I am seeing is the sidebar from the homepage for some reason. This is one of the issues I was having before and the reason I removed the code in the first place.

    Do you have any idea why this might be happening? Please assist, buddy.

    Thanks

    #147777

    nogard2008
    Participant

    Hello,

    I am testing out the forum and don’t see an option during the creation of a forum to remove the sidebar.

    I am using theme Point Version: 1.0.6 By MyThemeShop.

    Thanks for any help in resolving this.

    Nick

    #147550

    aborruso
    Participant

    Hi all,
    I know that there are several post about it, but I’m not able to find a solution for my forum.
    It’s password proteceted and I cannot send you any link.

    - I have WordPress 3.9.1 and bbpress 2.5.4
    - I use Twenty Eleven (I know it’s a bad theme for bbpress)
    - I have copied the content of /wp-content/plugins/bbpress/templates/default folder in my theme folder
    - I have edited all the php files of my /wp-content/themes/mytheme/bbpress folder and commented “get_sidebar()” function
    - I have created forum.php and bbpress.php file starting from page.php template and commented “get_sidebar()” function

    But I have always the sidebar (below bbpress).

    If I use this code

    function disable_all_widgets( $sidebars_widgets ) {       
        if ( function_exists('is_bbpress') ) {
            if (is_bbpress()) {
                $sidebars_widgets = array(false);
                remove_all_actions('bp_register_widgets');
                unregister_sidebar( 'bp_core_widgets' );
            }
        }
        return $sidebars_widgets;
    }
    
    add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);

    all the widgets disappear, but I have always meta links.

    I know I should change theme. Do you have some tips for this one?

    Thank you,

    Andrea

    #145437

    WARTORIOUS
    Participant

    Theme: modified portfolio press:

    /*
    Theme Name: Portfolio Press
    Description: Portfolio Press is a responsive theme for showcasing your photography, art, web sites, or other projects. It also works nicely as a regular blog site. An options panel is included for uploading logos and and changing the layout. There’s also support for the image, gallery and quote post formats. Visit the demo site or watch the video screencast for set up instructions.
    Author: Devin Price
    Author URI: http://wptheming.com/
    Theme URI: http://wptheming.com/portfolio-theme/
    Version: 1.7
    License: GNU General Public License
    License URI: license.txt
    Tags: white, black, gray, two-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, full-width-template, microformats, post-formats, rtl-language-support, theme-options, translation-ready

    Credits:

    Portfolio was built on the solid foundation of Toolbox:

    http://wordpress.org/extend/themes/toolbox

    Reset default browser CSS.
    Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/

    MODERATOR EDIT: I removed the ~1200 lines of code here, use pastebin or a gist on GitHub for big code dumps.

    #145197

    jbdizzle
    Participant

    So I have been running bbpress for the past month now. Today I had some free time and decided to try and make it look more appealing. So I searched for wordpress bbpress plugins and suffusion bbpress pack come up. I installed, activated, and went to its settings. So in the settings was the following:

    (RE)BUILD BBPRESS FILES
    If you are starting out afresh with bbPress on Suffusion or Suffusion on bbPress, this is the first thing you should do. Since the default bbPress HTML markup is different from Suffusion’s markup, this step will help (re)create your templates. You should be using a child theme of Suffusion before you start using this theme. Otherwise if you update Suffusion from the WP themes repository you will lose all the bbPress-specific files.

    Please note that all your template files will be written to /home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic.

    So I clicked “rebuild bbpress files” and looked at the forum to see the changes. Once I looked at the forum I noticed that all it did was expand the forum layout horizontally and removed the (right) sidebar. I need the sidebar so removed the suffusion bbpress pack plug in and now there is no forum whatsoever. If I re install the suffusion plugin, the forum reappears.

    I tried doing a full restore through my hosting company to no avail. If there is a way that I could backup all of the topics and forums. Re install bbpress, then import topics and forums…. unless there is an easier way.

    #145122

    leopolds
    Participant

    Hi,

    I am using Twenty Fourteen and bbpress. How can I make the forums root page full width?

    I want to remove the sidebar, center the content and remove the post-like forum names after the listing section. Basically, I want this page to act as a full-width page, not a post/forum listing.

    My forums root page is http://leopolds.com/discussions/

    I want it to look like http://leopolds.com/bbs/ (created using shortcodes)

    Thank you very much.

    (I was able to achieve full-width style in individual forum page by using widget visibility function. But this doesn’t work for the forums root page.)

    #144795

    azerphoenix
    Participant

    Hi there.
    I have installed BBPress.
    But I want to: Remove the sidebar
    The calling code is a sidebar (plug-ins) in the footer template
    How can I remove only the sidebar, but keep the footer (with counters)?
    I can remove the sidebar, but remove all counters calling code (including the footer, too)
    My site: Medical Books 24
    http://med.gn24.net
    Thanks in advance.

    #143933

    Robin W
    Moderator

    ok, without me spending hours digging into this, let’s see if we can sort it.

    and yes you can cut the code into a functions file by renaming it, but we’ll fix that later.

    For the moment, where are you registering the new sidebar? In a main theme for a child theme?

    If in a child theme, they won’t register as sidebars have already been loaded. So you need to unload and reload them all in one go (no idea why, it’s just what I learnt when I tried to add a sidebar in my child theme.)

    so what my child theme functions file starts with is

    remove_action( 'widgets_init', 'twentyten_widgets_init' ); //necessary to replace parent theme's code which is a twentyten theme
    function twentytenchild_widgets_init() {
    	// Area 1, located at the top of the sidebar.
    	register_sidebar( array(
    		'name' => __( 'Primary Widget Area', 'twentytenchild' ),
    		'id' => 'primary-widget-area',
    		'description' => __( 'The primary widget area', 'twentytenchild' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );

    so it starts by removing the twentyten sidebar’s and then adds them straight back – my child theme for the twentyten main theme is excitingly called “twentytenchild”!. I have just shown the first widget from the parent theme, all are just copied from the parent theme. Several others follow
    Then on the end you add your new sidebar.

    Then after that you complete and register them viz :

    	//** Register sidebars by running twentyten_widgets_init() on the widgets_init hook. */
    add_action( 'widgets_init', 'twentytenchild_widgets_init' );
    

    by the by in your after title you need to change the a/ to /a

    Give that a go, and come back if it works, and we’ll then talk about taking the widget into a custom one.

    #143798

    Stephen Edgar
    Moderator

    Make a copy of your page.php (or page-no-sidebar.php depending on your preference) of your StudioPress theme template file and name it bbpress.php

    This should also remove ‘door’ from your page.


    sarau
    Participant

    Hi Robin,
    Sorry for the long delay. I got sided-tracked. I followed your advice and I found something like a 404.php. The page is called no-results.php I found the text that I need to edit on the page and made changes to it however, because the text is displayed with the use of php, I’m not sure how to make it recognize the html hypertext link I added. Is it possible to make a link active within this code? It would be convenient to just click on the text and get where you need to go, if that’s possible. Here’s the code that I’m referring to:

    <p><?php esc_html_e('The page you requested could not be found or could not be displayed. If you are a parishioner and you are trying to access a forum page, it may be that you <a href="http://www.url-here/">need to log in</a>. You can do so on the forum page in the right sidebar. Otherwise, try refining your search, or use the navigation above to locate the post.','Chameleon'); ?></p>

    I can remove the anchor tag if I need to but it would be nice to have the link.

    On another, related note, when you go to the top level forum page, if you aren’t logged in it displays text that says “Oh bother! No forums were found here!” I’m pretty sure this text is coming from the bbPress plug-in. Do you know if there is a way to customize what it says here as well?

    Thanks again for all your help!

    #142777

    rlitts
    Participant

    @robin-w Thank you for helping me out with this. I can go right to the http://mysite.com/wp-login.php page without any hangup. I also tried creating a new page and used the [bbpress-login] shortcode with the login widget disabled. Still no luck. I removed any custom jquery from the theme, same result. I removed the widgetized area from the functions.php to be sure the sidebar wasn’t registering anything. Still going to a blank page.

    The last thing I tried is disabling all of the plugins except bbPress switching to Twenty Fourteen Theme. going to the http://mysite.com/my-new-page-name and still getting the same result.

    These are the plugins that are installed…
    Akismet: Version 2.5.9
    Contact Form 7: Version 3.7.1
    The Events Calendar: Version 3.4.1
    WP User Avatar: Version 1.7.2

    #142346

    Robin W
    Moderator

    it’s coming from bbpress stylesheet.

    there may be a quicker way to remove this, but one that should work is as follows.

    I don’t think you have a childtheme, and now may be the time to consider having one, see http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2/ for more details

    once done you need to navigate to

    wp-content/plugins/bbpress/templates/default/css/bbpress.css

    copy this file into a folder called css within your theme, so you end up with
    wp-content/themes/mychildtheme/css/bbpress.css

    where mychildtheme is the name of your childtheme

    Then edit every line that has

    background-color : xxxxxxx

    change to

    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);

    NOTE it goes from background-color to background
    and it is only the background color that you’ll be changing, not lines which just have color: as that’ll be text!

    eg

    #bbpress-forums div.bbp-forum-header,
    #bbpress-forums div.bbp-topic-header,
    #bbpress-forums div.bbp-reply-header {
    	background-color: #f4f4f4;
    }
    

    becomes

    #bbpress-forums div.bbp-forum-header,
    #bbpress-forums div.bbp-topic-header,
    #bbpress-forums div.bbp-reply-header {
    	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
    }
    

    This will make the background transparent, but with a darker tint shading that you have in your sidebar (the amount of difference is on the 0.4 bit, 0.1 is the lightest, 1.0 the darkest).

    Come back if that doesn’t fix it, or for further help


    Shmoo
    Participant

    I would like to start this discussions because I have no idea what to think of the adding tags to topics feature in bbPress.

    First, Tags are taxonomies like Categories are also. Each Post Type ( or custom PT ) can be added with those taxonomies Categories or Tags right?

    Looking that the Core of WP and how they’re designed to work Categories and Tags where always designed to be added by editors or authors on content – people who understand how to own or maintain a website through the WordPress admin.
    Somebody who writes a blog post can define what categories and-/or tags they want to add against their blog posts – bbPress also uses Custom Post Types for Forums – Topics and Replies because they’re great for adding those kind of structural elements only there is a huge difference in the way how those work and who uses them.

    bbPress Forums have categories as taxonomy attached to them while bbPress Topics have tags attached to them. It seems pretty normal this way but if you look at how Forums and Topics are created at your WordPress site you’ll see that Forums are created by owners of the website ( like Blog Posts ) and topics are created by random users of the website.

    Topics are more like comments compared to WordPress Core functionality because their added by external users not editors or authors like Forums are – you don’t want people who write comments to your blog posts also have the ability to add Tags to them , right ?

    The main reason why I look at it like this is because I always switch the Tags functionality off in bbPress because it doesn’t work the way it should work to be honest. I think Tags are great for fast navigating and filtering-/grouping specific topics with the same errors at a forum the only difference is people who write topics have in general a problem with ‘something’ , else they don’t start a topic at your site at all. Those people often don’t know anything about blogging or maintaining a website and how Tags and Categories work. A Live example of how bad Tags in bbPress work if you let them get added by users who don’t know how they should work is the Tags Cloud on the sidebar at bbPress.org.

    Just look at the Tag Cloud in the sidebar, the bigger-sized words are most often used. BuddyPress + WordPress + Integration + Forum + Plugin + Theme those words are often tagged by people who write topics which is crazy because those are totally not Tag-wards at all.
    How could you ever filter WordPress or something like BuddyPress or Plugin at a forum? Those words are too broad or wide to be used as Tags , maybe they’re beter as Categories. Tags should be words you could search for to solve a problem – like bbPress Core function_names() could be great Tags at a forum like bbPress.org but we all know most people who write topics don’t understand this so they add more ‘sloppy’ (with al respect) words as Tags or even more worst they’re used as SEO keywords or something like that.

    My main problem with this feature is, IF you enable the Tags feature in bbPress you Moderation-activity goes up very fast because you’re always editing topics, removing bad words and adding better words. Okay we all know this is fun at the start when you’re forums are fresh and not very active yet but after 6 months or one year you don’t become very active at maintaining your topics because it takes up too much time and your Tags Cloud grows to something totally un useful as seen at bbPress.org.

    My idea is to keep the bbPress Tags feature for sure, but adding a Filter system who checks at existing Tag-words.
    There’s a Plugin called auto-tagger ( or something ) It only works at WP Posts, but what it does is it check for similar words in Post titles, content and excerpts – if a word matches a Tag-word it automatically adds the Tag to the Post.

    My opinion is we need this option by default at bbPress. Remove the adding Tags from the front-end – keep them add the back-end where some Moderator or site owner can create a list of Tags and whenever some user writes a topic and X word involves that topic the Tag will be added.
    Knowledge boards like Stock-overflow uses those kinda of systems, they don’t let people write their own tags, especially not New users, you need at least X rate before you can add your own Tags.
    Some other Great example is Zurb’s new Forum, they also add Tags automatically based on the words in the content. They’ve Pre-Tagged Foundation’s elements so whenever somebody uses one of those elements in their topics because they have a problem with this elements it becomes a Tag without doing anything. People who’s looking for support can click on those Tags and group similar topics together very easily.

    http://foundation.zurb.com/forum

    It’s a long story, but I believe this would make the Core Tags function inside bbPress a lot better and people could really use it as a great feature instead of disabling it because it’s a pain in the * to maintain in the end.
    Maybe we can use excising WordPress Plugins and change them a little bit because Blog Posts and Topics have the same structure, their both Post Types connected with a Tags taxonomy.

    What do you think ?
    Thanks for reading.


    Lynqoid
    Participant

    Hey all,

    Great to hear you are working on your websites :)

    I am slowly working on a couple of new themes for bbPress and a full WordPress theme as well. The problem with just doing a bbPress theme is that I have no control over what the sidebars class or ids are so it makes it a bit problematic to remove them.

    Good luck and keep on building!

    #141076

    PCTP
    Participant

    I want sidebars on my blog page, but not on my forum page. How do I remove the sidebars from my forum page? I am using the latest version of WP and Magazine Basic theme (latest version). http://www.PickensCountyTeaParty.com
    Thanks!

    #140891

    gerardyap
    Participant

    Hi,

    how do i remove the above mentioned in bbPress forum

    Wordpress version : 3.5.1

    bb Press Version 2.3.2

    http://www.upgrading.mjhub.biz/?forum=general-queries-on-home

    #140557

    Kevin Geary
    Participant

    When I remove BBPress, my home page, my blog page (mostly the sidebars) all break and disappear. What’s the problem here? Those pages and sidebars have nothing to do with BBPress.

    #140136

    ronthai
    Participant

    Nevermind, I found the problem. I remembered I did this before:

    I have a statistics plugin that uses the server time instead of the WP timezone settings.

    Therefore I added <?php date_default_timezone_set('Asia/Bangkok'); ?> to the plugins php and that was in the sidebar always present.

    Now I removed it the Edit Allowed Time works correct.

Viewing 25 results - 1 through 25 (of 210 total)