Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum css'

Viewing 25 results - 1,501 through 1,525 (of 2,723 total)
  • Author
    Search Results
  • #134867
    HD80
    Participant

    Thanks Shmoo for all the help. Unfortunately I don’t know which file to copy so to be safe I’ll copy everything to my child theme.
    I’m also trying to remove my main theme’s sidebar for my forum with no success. I’ve read other post and this seems to work:

    body.bbPress #sidebar {display:none;}
    body.bbPress .post {width:100%;}

    I put those on both my bbpress.css and the style.css but it doesn’t seem to work.

    This is my website: http://ps4evolution.com/forums/

    #134853
    Shmoo
    Participant

    Yes thats true, first of all you should only copy the files that you need to edit.

    Just copying everything works fine but isn’t needed because inside the bbPress core is a function whats called Theme_Support ( i believe thats what its called ) And this function does only one thing, before reading all template-files.

    Check if the needed template file is inside your theme folder. If it’s not.. –> use the template file inside the plugin folder.

    bbPress plugin template files are the default template files but when you copy them over to your theme the new copied files become default.
    It’s serious one of the most beautiful and easy constructions I’ve ever seen used at CMS’s. I’ve worked with manny other forum-software that had many more options and features as bbPress but they never had this easy way of safely -editing template files.

    bbpress.css works 100% the same copy the bbpress.css file to a folder called CSS inside your theme folder and it works the same way. The forum.css file at the picture isn’t bbPress, thats something I created manually and has nothing to do with bbPress.

    Those are two fast screenshots of what I made without having any PHP skills, I just understand HTML + CSS.

    View post on imgur.com

    View post on imgur.com

    #134838
    HD80
    Participant

    Thanks for reply, I didn’t know you replied because I didn’t receive any email.
    lets say I don’t want to use a child theme.
    1. create bbpress folder on my theme folder.
    2. copy all files from [wp-content/plugins/bbpress/templates/defaults/bbpress/All those files are bbPress (forum)] to my created bbpress folder
    3. copy all files from [wp-content / plugins / bbpress / templates / defaults / extras / All those files are general Theme] to my /wp-content/theme/mytheme directory.

    I wasn’t sure if i need to copy all or just what I need. Also you have bbpress.css and forum.css files…are these also included in bbpress package?

    so when i type http://www.mytheme.com/forums the new template should appear?

    #134786
    NerdEnPose
    Participant

    I’m using 2.3.2 and this is my solution.

    There’s a function in the theme files calling this, simply noting it out or deleting it prevents the call.

    // bbp_single_topic_description();
    content-single-topic.php

    and

    // bbp_single_topic_description( array( 'topic_id' => bbp_get_topic_id() ) );
    form-topic.php

    This makes more sense to me because why generate the HTML just to bloat your CSS file to hide it? Or why add more to your functions.php file when all you need to do is some basic theme work? (Although that was some clever hacking of the wordpress/bbpress hooks there mindyjoy :))

    *Make sure to move all your theme files into your wordpress theme (wp-includes/themes/your_theme/buddypress/) so you don’t lose your work with an upgrade.

    In bbPress’s default configuration, this is by design to support styling for widgets, which can exist outside of bbPress’s standard page views. You’ll need to write a custom plugin to dequeue bbPress’s CSS when ! is_bbpress().

    #134778
    cuocsongnz
    Participant

    Hi Zach, I have the same problem with you
    I have used the forums.php trick as you showed but I don’t know how to delete search bar header
    Mine is like this
    http://cuocsongnz.com/forums/

    Please help me

    Sam Rohn
    Participant

    i dont think bbpress css file on its own would cause this sort of server load, try the P3 profiler plugin to determine what other plugins may be overloading your server –

    https://wordpress.org/plugins/p3-profiler/

    sam

    pazzaglia
    Participant

    I’ve been carefully examining my web access logs because my provider said my website is using too many resources – and even though I would say it is absolutely medium in size it uses about 50% of the resources on the shared hosting site.

    I noticed that for EVERY page called from the website, whether or not is a forum page and whether or not it contains and bbpress plug-ins -especially not- includes a call to the bbpress style sheet. For example:

    http://www.hippressurecooking.com/5-cant-miss-pressure-cooker-chicken-recipes/

    GET /wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.3.2 HTTP/1.1

    Any way for me to block this call so that I don’t use-up unnecessary resources for my website and risk getting kicked off my shared server?

    Thanks,

    L

    #134763
    bdsweat
    Participant

    @jaredatch just upgraded and the CSS fix worked for us, thanks!

    We’d like to see a unified search with options to include WP site content and/or forums. Our current search uses a Google Custom Search Engine at this point with tabs (refinements) for “Articles” and “Forums”.

    I’d really like to see an “easy way to [disable bbp search]” in a future release. It’s not critical, but I really don’t like that search form in our source, even if it’s hidden.

    #134662
    Shmoo
    Participant

    First of all you should go to this location:

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

    Copy-/Paste the bbpress.css file into your Theme’s folder.

    Like so:

    wp-content / themes / [ your-theme-name ] / css / bbpress.css

    When there is none css folder inside you theme folder just create one.
    What you’ve done right now is created you’re own custom stylesheet for bbPress that can’t be overwritten by software updates.

    What styles you have to change I can’t tell from looking at your picture, but it’s pretty easy to find them.
    Make sure you have a Webkit browser installed on your computer ( Google Chrome is reallt the best for this ). View your website and right-mouse-click on the element you would like to change and pick the option ” Inspect Element ” ( I think it’s called )

    Now you have at the bottom all the style , there’s also a location + line number where to find the elements inside your bbpress.css file.

    Look at this video for some instructions.

    It’s not that difficult.

    #134395
    guylabbe
    Participant

    Hi,
    This seems very simple to do but I couldn’t get it working. I want the default bbpress theme but wrapped with my theme.

    I added the CSS file in my theme and I added a forum index shortcode in the main forum page. Right now the forum index renders OK (the forum index is the content, everything is correctly wrapped by my theme, interpreted by page.php I guess).

    But as soon I get to a topic page, it’s the single.php or page.php that is used, without any bbpress template file (no breadcrumbs, etc., there is only the post).

    I don’t want to customize bbpress, just want the bbpress template to appear in my theme content templates. Any way to do this easily? I would like to avoid customize all pages one by one and keep built it theme integrity…

    #134342
    chuckingit
    Participant

    Hi – i’m experiencing similar strangeness as Sami in that my child theme on a multisite network shows the bbPress forums and topics great except when going to the default permalinks of forums and topics … in those cases, the forums go away and turn into a default blog page with the forums as psuedo excerpts appearing with page numbering at bottom – even a featured image gets inserted somehow to boot … none of the other site content gets mixed into this “blog page” – just all the forums run together without looking like forums (but like excerpts) and with no links to forums or topics …

    thus mydomain.com/forums = broken as is mydomain.com/topics … yet mydomain.com/forums/my-forum-01/ and/or mydomain.com/forums/my-forum-01/topic-01 are great …

    i tried rolling bbPress versions back to 2.2.1 and 2.2.4 but earlier versions have same effect as current 2.3.2 … and while i could create a hack by creating an archive-forum.php file and placing it in my child theme root (based off the archive-forum.php in the templates\defaults\extras folder) it lost a ton of info – e.g., the alerts like “the forum is empty” is gone as are the other alerts like “Oh bother! No topics were found here!” and ditto with the corresponding “Create a New Topic” form …

    actually in thinking about themes were bbPress works fine, part of me wonders why the create a topic form even shows on the default forums page – meaning, i have 14 forums and only two of them have test topics yet when looking at the /forums/ default page, it is asking me to create a new topic for forum #2 which is the first forum that is empty (note forum 1 and 3 have test content, forums 2, 4-14 are empty) … maybe that is fine but my point is still valid …

    thus with a theme that is having issues, the form and the alerts do not make it in my archive-forum.php file (even the css is a bit different) so i believe there is something fishy with topics and forums defaults that is getting in the way with some themes ..??.. note i tested this with Theme Hyrbrid Prototype and Twenty Twelve with no problem but with Theme Hybrid Shell Responsive Child theme is when my problems stemmed … and i know Sami has created some themes over at Theme Hybrid as well … thus i share his pain :>) (theme compat wise that is)

    thanks in advance for any pointers, insights, help that can be shared … cordially, chuck scott

    #134020
    ZachMatthews
    Participant

    Ok so I had to partially give up, but I did come up with a partway solution. It’s still got some broken CSS here and there.

    I am running a WordPress Multisite. I noticed that BBPress will lay out and mostly play nice with the Pinboard theme provided you set the layout to have no sidebars and to be 4 column. You can still have footers, thank god.

    http://www.itinerantangler.com/blog/board/forums/

    So there’s a live working version of BBPress. I did use the forums.php trick noted above to fix a few things for the time being. I would actually like to just DELETE the search function from the header, because it’s broken and it’s causing the layout to jump.

    #134000
    ZachMatthews
    Participant

    All right, and I am now making progress.

    I made a complete copy of page.php within the /wp-content/themes/pinboard/ directory. I then created a blank file and titled it “forums.php” (with an ‘s’ on forums). I copied the complete text of the page.php file into the forums.php file and started tweaking.

    This is the code I have so far:

    <?php get_header(); ?>
    	<div id="container">
    		<section id="content"  <?php pinboard_content_class(); ?>>
    			<?php if( have_posts() ) : the_post(); ?>
    				<article class="onecol" id="post-<?php the_ID(); ?>">
    					<div class="entry" >
    						<header class="entry-header">
    							<<?php pinboard_title_tag( 'post' ); ?> class="entry-title"><?php the_title(); ?></<?php pinboard_title_tag( 'post' ); ?>>
    						</header><!-- .entry-header -->
    						<div class="onecol">
    							<?php the_content(); ?>
    							<div class="clear"></div>
    						</div><!-- .entry-content -->
    						<?php wp_link_pages( array( 'before' => '<footer class="entry-utility"><p class="post-pagination">' . __( 'Pages:', 'pinboard' ), 'after' => '</p></footer><!-- .entry-utility -->' ) ); ?>
    					</div><!-- .entry -->
    					<?php comments_template(); ?>
    				</article><!-- .post -->
    			<?php else : ?>
    				<?php pinboard_404(); ?>
    			<?php endif; ?>
    		</section><!-- #content -->
    		<?php if( ( 'no-sidebars' != pinboard_get_option( 'layout' ) ) && ( 'full-width' != pinboard_get_option( 'layout' ) ) ) : ?>
    			<?php get_sidebar(); ?>
    		<?php endif; ?>
    	</div><!-- #container -->
    <?php get_footer(); ?>
    

    That spreads the forums page out to the appropriate onecolumn width and also completely fixes the profile page. It looks like the entry headers are being called from another php file, so I need to do some more tweaks, but here’s the result as is:

    http://www.itinerantangler.com/blog/podcasts/boards/

    If I can get it fully tweaked up I’ll post how here. I know others were looking to do this.

    #133998
    ZachMatthews
    Participant

    Thanks for the replies guys. Jared no it does not. The theme is pretty popular – Pinboard. I am seeing other Pinboard users with the same issue, too.

    What I have done is followed the instructions here to carve out a separate forums.php page which is working as intended and rendering the bbPress plugin separate from the rest of the site.

    That is allowing me to tweak the code for just this one section, but I haven’t worked out how to force it over to the .onecol layout yet. Worse, it looks like this layout issue persists through various sub-parts of the forum software, such as profile pages.

    #133992

    Does you theme have the ability to set layout controls per page? Does it have hooks for that?

    #133987
    ZachMatthews
    Participant

    From what I can tell the issue is with this file.

    content-archive-forum.php

    The css is so convoluted I can’t use my usual tricks of just showing the element styles to identify where it is getting its directions.

    However the fix would be super simple; I just need to force it into .onecol layout somehow.

    I guess I am on my own on this one.

    #133983
    ZachMatthews
    Participant

    Any help at all on this would be greatly appreciated, guys.

    Basically the question is, how come the overall ‘Forums’ page is pulling the .threecol CSS tag while the internal, ‘Topics’ pages are (appropriately) pulling the .onecol CSS tag?

    If I could simply figure out where to set the Forums page to .onecol, it’d be fixed.

    Thanks!
    Zach

    #133938
    ZachMatthews
    Participant

    Well it was certainly worth a shot, but the CSS is still broken:

    http://www.itinerantangler.com/blog/podcasts/boards/

    So I am still doing just fine with the sub-forums and topics, but the main “Forums” page (linked above) is stuck in three-col layout instead of one-col, which is what it needs to be. Any ideas on where to switch it over?

    Thanks,
    Zach

    #133883

    Copy:

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

    to:

    wp-content/themes/[YOUR-THEME]/css/bbpress.css

    And that’s all it takes 🙂

    bbPress will auto-detect the CSS file in your theme and use that instead of it’s own.

    #133871
    ZachMatthews
    Participant

    Guys –

    In my particular layout, the ‘Forums’ page is incorrectly calling to the ‘threecol’ CSS tag instead of ‘onecol’. The topics page is calling to ‘onecol’ correctly and lays out fine. I am using a four column layout with a sidebar, and I need the BBpress unit to take up the entire space except for what is in the sidebar.

    Broken layout:

    http://www.itinerantangler.com/blog/podcasts/boards/

    Fixed layout:

    http://www.itinerantangler.com/blog/podcasts/boards/board/fly-fishing/

    I can edit the forums CSS tags live using Chrome’s “inspect elements” tag and make it lay out properly, but I don’t know where to make those changes amongst all the BBPress php files.

    My question is simple: where does BBPress get its CSS directions for the Forums page? It has to be in one of the php sub-files. I just need to change that one CSS tag and it ought to work properly.

    Thanks,
    Zach

    #133870
    ronangelo
    Participant

    On line 889 of your theme’s styles.css you have a style that hides the replies

    .reply {
        display: none;
    }

    Just remove it.
    Or you could add this code if you have a custom css option.

    #bbpress-forums .reply {
        display: block;
    }
    #133869
    ZachMatthews
    Participant

    So I can see what’s happening in the CSS elements. For the “Forums” page, the layout is calling to the “threecol” CSS class as opposed to “onecol.” When I use my Chrome editor to change the tag live, I can make it lay out properly. However, I am not sure where the actual “threecol” versus “onecol” decision is being made, so to speak, for the forums page. One of the php files? The master index php?

    Any help would be greatly appreciated. In the mean time I think this qualifies as a bug.

    #133587

    Topic: bbp-forum-title

    in forum Installation
    nick robinson
    Participant

    How do I enlarge or alter the colour of these tags?

    I’ve added this code to the end of bbpress.css without luck

    #bbp-forum-title {
    font-size: 16px;
    }

    Are they picking up the h3 style after this css is processed?

    Robin W
    Moderator

    From the sticky on the upgrade put the following into your CSS

    `.bbp-search-form {
    display:none !important;
    }`

Viewing 25 results - 1,501 through 1,525 (of 2,723 total)
Skip to toolbar