You are not understanding the problem.
There is a hardcoded breadcrumb within what I seem to think is within this line of code:
<?php do_action( 'bbp_template_before_forums_loop' ); ?>
I am essentially stuck with the breadcrumb only in the forum root page, I have been able to move it via the user of template files in every other part of the forum. It seems to be impossible to remove the breadcrumb from the homepage using templates.
I have added this code but it does not help.
try adding
.bbpress #content-main {
width: 96%;
}
to your style.css
Functions files and child themes – explained !
@pazzaglia1
you are running into a couple issues.
As for some users i can see their profile leads to a 404 too.
create me an Admin account and send me the login details by email so i can see what plugins you are using , if there is a code snippet causing an issue, your theme , or something else.
when im done helping you , you can delete the account.
Contact
bit of a difference between
and wanted it removed completely
and
I merely want to move it.
🙂
but it doesn’t seem as if that’s possible.
um, yes it is, you just hadn’t asked !
just use
<?php bbp_breadcrumb(); ?>
in the code
there are many template files that use this
just look in
templates\default\bbpress\
and you’ll find all the templates
tell us where you want it, and we’ll try to help further
this should do it, place in child theme functions.php or a functionality plugin
function bm_bbp_no_breadcrumb ($param) {
if (bbp_is_forum_archive()) {
return true;
}
}
add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
My final update about this topic, in case it helps some one.
Putting the value at the style.css as not working, because there was a missing “}” at the code. I found it and corrected it, now everything works properly.
Although, I have found out that putting a fixed value like “width: 720px” is not a very good idea, because it breaks the mobile display.
Because of that, I put “width: 120%”, and now both desktop and mobile display works properly.
actually it should be activated because the theme has it coded in and i have change it on other types og posts, game archives etc , but i found the “archive” was actually blank with note keyword
so i try to se ikke i use the same i use for game info is gonna work.
%%title%% | %%category_description%%
Hey Rob,
That came out a little rude, I didn’t mean it like that. I was just trying to say I wasn’t interested in hiding it with a CSS Rule, and wanted it removed completely. You say it is a perfectly valid way of removing things, but since when is having duplicate content and useless elements on a page a good thing?
Secondly, the codex page tells you how to completely disable breadcrumbs, I merely want to move it. I was hoping there was a template file I could edit to remove it, and then manually place it elsewhere on the page – but it doesn’t seem as if that’s possible.
Either way, CSS hide or Functions edit, neither will work in my case since I still want to make use of Breadcrumbs, I just want to change the DOM location
Rob,
I cut and pasted the code from your last reply to me into the Simple Custom CSS, saved it, and then opened a new browser and checked the site. Still no change.
Should I post a brand new topic post here with the links and whatnot? Or put the links in a reply here? I’m sorry I’m not sure – I don’t want to make a new post if that’s not what you are asking me to do.
Thank you all both for being so patient and helpful. I really, really appreciate it.
yes take out the line
<?php get_sidebar(); ?>
about 5 line sup from the bottom.
BUT you need this to be a bbpress.php file in the right directory as per and don’t delete the page.php file – that runs the rest of your site !
Step by step guide to setting up a bbPress forum – Part 1
if this isn’t possible, I totally understand.
no its possible , i forgot some periods though.
Here should be the full code , not shortened though.
#bbpress-forums div.bbp-topic-content a,
#bbpress-forums div.bbp-reply-content a {
color: blue;
text-decoration: underline;
}
if it still doesnt work , post a topic that has a couple links in the replies and topic post and i can find some CSS that would work with your theme.
I tried making my forums page full-width, but didn’t manage, so if you could help, it would be great.
Here is my page.php file:
<?php get_header(); ?>
<div id="body-wrapper">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="content-wrapper">
<div id="content">
<div id="post-header">
<h1 class="story-title" itemprop="name"><?php the_title(); ?></h1>
</div><!--post-header-->
<div id="content-main">
<div id="content-main-inner">
<div id="post-area" itemscope itemtype="http://schema.org/Article" <?php post_class(); ?>>
<?php $mvp_featured_img = get_option('mvp_featured_img'); if ($mvp_featured_img == "true") { ?>
<?php if(get_post_meta($post->ID, "mvp_video_embed", true)): ?>
<?php echo get_post_meta($post->ID, "mvp_video_embed", true); ?>
<?php else: ?>
<?php $mvp_show_hide = get_post_meta($post->ID, "mvp_featured_image", true); if ($mvp_show_hide == "hide") { ?>
<?php } else { ?>
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<div id="featured-image" class="post-section" itemscope itemtype="http://schema.org/Article">
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'post-thumb' ); ?>
<img itemprop="image" src="<?php echo $thumb['0']; ?>" />
</div><!--featured-image-->
<?php if(get_post_meta($post->ID, "mvp_photo_credit", true)): ?>
<div id="featured-caption" class="post-section">
<?php echo get_post_meta($post->ID, "mvp_photo_credit", true); ?>
</div><!--featured-caption-->
<?php endif; ?>
<?php } ?>
<?php } ?>
<?php endif; ?>
<?php } ?>
<div id="content-area" class="post-section">
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div><!--content-area-->
</div><!--post-area-->
</div><!--content-main-inner-->
</div><!--content-main-->
<?php endwhile; endif; ?>
<?php get_sidebar(); ?>
</div><!--content-->
</div><!--content-wrapper-->
</div><!--body-wrapper-->
<?php get_footer(); ?>
Hi there, I followed your setup documentation, but stumbled at the first hurdle.
I created a forum, then used the shortcode to add the forum index to my site.
I want to use the Public viewing, registered user posting setup (no idea where to set this up)
But when I go to the forum index page (http://makermentors.org/forum/) I get the message:
You do not have permission to view this.
Yes the forum is set to public. I thought the public can see the forum? but you have to be registered to participate.
Please help,
Any replies with silly css hacks will be ignored
not sure that attacking potential helpers is the best way to get a response. Using hide in css is a perfectly acceptable way of achieving things even if you think it silly. I prefer non css solutions purely because my css is rubbish 🙂
Anyway in the documentation you will find
Layout and functionality – Examples you can use
enjoy !
I think your theme is causing this. Unfortunately many theme authors wrap the various sidebar options into one page.php file nowadays. It gives theme flexibility, but doesn’t help andyone with custom post types such as bbpress. I’ve taken a look and try amending the bbpress.php to
<?php
global $is_tf_blog_page,$post;
$id_post = $post->ID;
if(tfuse_options('blog_page') != 0 && $id_post == tfuse_options('blog_page')) $is_tf_blog_page = true;
get_header();
if ($is_tf_blog_page) die();
?>
<?php $sidebar_position = tfuse_sidebar_position(); ?>
<?php tfuse_shortcode_content('before');?>
<div class="main-row content-row">
<div class="container">
<div class="middle-main content-full">
<div id="primary" class="content-area">
<div class="inner">
<article class="post post-details">
<?php if(!tfuse_page_options('hide_title')):?>
<header class="entry-header">
<h1 class="entry-title"><?php echo get_the_title();?></h1>
</header>
<?php endif;?>
<div class="entry-content">
<?php while ( have_posts() ) : the_post();?>
<?php the_content(); ?>
<?php break; endwhile; // end of the loop. ?>
</div>
</article>
<?php if ( comments_open() ) : ?>
<?php tfuse_comments(); ?>
<?php endif;?>
</div>
</div>
</div>
</div>
<?php tfuse_shortcode_content('after'); ?>
<?php get_footer();?>
which takes out all the stuff relating to sidebars.
Come back if that doesn’t work or errors
Thanks Robkk! I was able to fix and restore the site. Whew!
I installed the Simple Custom CSS plugin and put in the code you suggested above.
Nothing seems to have changed on the site, however. Do I need to give it more time to take effect?
Is it really hard to add this categories thing to core code? So anyone can use them without any hassle? And yes it is so nice to point out some nice websites where people rewrite bbpress code to make it usable. <- But it does not help other 99% users.
I have this theme from ThemeFuse called GameZone, and every changes i have made since the original i usually have fix by my self somehow, but the other day i was tired of PHPBB and converted and move it over completly to BBPress, and it work as is should i got some of the css fix so its almost as ret of the page, the only problem is i found out even i use the themes own “widget” deattachtment for pages i need to be with out side bars Like Guides etc.
Then the BBPress have put my finish touch on hold for the last 36 hrs and i am really irritated over it , because why should a thing i literally find 100 of topics about this problem. Reeally think it is weird there isnt being any solution implented as part of bbpress.
Anyway my forum here is correct size in the “front-page”
1. Frontpage : http://www.playstationforum.dk/debat-forum/
2. Sub-page : http://www.playstationforum.dk/debat/kategori/playstationforum-dk/
As yoy see the sub-page dont have full width even i have remove made a page.php and copy it over to my child theme and rename it to bbpress.php and remmove
<?php get_sidebar();?>
This is mention alot of places and everything there is sidebar related, but i can really not figure out what because no matter what i remove it either remove background completly or remove the sites build up. And i have made a Page for it and use the shortcode. – Still nothing – Hope someone can help. I actually change to bbpress because i though the hardest part would actually import everything from PHPBB
here is my code as it is now
<?php
global $is_tf_blog_page,$post;
$id_post = $post->ID;
if(tfuse_options('blog_page') != 0 && $id_post == tfuse_options('blog_page')) $is_tf_blog_page = true;
get_header();
if ($is_tf_blog_page) die();
?>
<?php $sidebar_position = tfuse_sidebar_position(); ?>
<?php tfuse_shortcode_content('before');?>
<div class="main-row content-row">
<div class="container">
<?php if ($sidebar_position == 'left') : ?>
<div class="middle-main sidebar-left">
<?php endif;?>
<?php if ($sidebar_position == 'right') : ?>
<div class="middle-main content-cols2">
<?php endif;?>
<?php if ($sidebar_position == 'full') : ?>
<div class="middle-main content-full">
<?php endif; ?>
<div id="primary" class="content-area">
<div class="inner">
<article class="post post-details">
<?php if(!tfuse_page_options('hide_title')):?>
<header class="entry-header">
<h1 class="entry-title"><?php echo get_the_title();?></h1>
</header>
<?php endif;?>
<div class="entry-content">
<?php while ( have_posts() ) : the_post();?>
<?php the_content(); ?>
<?php break; endwhile; // end of the loop. ?>
</div>
</article>
<?php if ( comments_open() ) : ?>
<?php tfuse_comments(); ?>
<?php endif;?>
</div>
</div>
<?php if (($sidebar_position == 'right') || ($sidebar_position == 'left')) : ?>
<div id="secondary" class="sidebar widget-area">
<div class="inner">
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php tfuse_shortcode_content('after'); ?>
<?php get_footer();?>
No, bbpress is up and running – just the search with the above code added to my functions file no longer shows bbpress topics as part of the results. Will click on the recommended fix links above to see if either fix will bring the results back.
Thanks & Happy Easter!
Ciao,
L
@andrew55
You could hire a coder at any freelance website like http://jobs.wordpress.net/
But yeah like you said its not a huge issue.
Hey – thanks for at least looking into it. If that’s the worst limitation of bbPress, I have no complaints!
I was just asking here because I thought there might be a simple solution. I guess I could hire a coder and post the fix back here.
I only have 1 registration form. Only 1. the bbp register short code has been deleted but I am still getting the emails from that.
could it be spammer going to this?? instead of the bbPress one that you already deleted.
yoursite.com/wp-login.php?action=register
I can’t imagine any of these being real since the old registration is gone.
yeah you might as well turn registration off til you get sorted out on this issue.
I can’t find where to deactivate registration.
go to settings > general uncheck Anyone can Register
If I deactivate registration, will that affect the VFBP
when you uncheck anyone can register it should disable this until you activate it.
@garrett-eclipse
there are likely other people who have posted a topic like this one from 3 years ago.
you can try the code the user placed below for the bbPress custom post types and see if it works.
https://wordpress.org/support/topic/why-does-blog-become-current_page_parent-with-custom-post-type