Any news on this?
using several shortcodes breaks the paginationfunction! I have these shortcodes:
[bbp-forum-index]
[tabs type="horizontal"] [tabs_head] [tab_title]Recente Topics[/tab_title] [tab_title]Ongelezen Topics[/tab_title] [tab_title]Zoeken[/tab_title] [/tabs_head] [tab][bbp-topic-index][/tab] [tab][bbp-single-view id="no-replies"][/tab] [tab][bbp-search-form][/tab] [/tabs]
Clicking on page2 gives a no resultpage!
ok, I’ve looked ta the page
your style.css has
.row .col img {
height: auto;
margin-bottom: 15px;
max-width: 100%;
width: auto;
}
around line 1929
The width: auto;
is causing the issue, remove that and the image reverts to 14 – but around 30 looks good !
adding
margin-left: auto;
margin-right: auto
will also center the image
so you end up with
.row .col img {
height: auto;
margin-bottom: 15px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
If just for bbpress then
#bbpress-forums .row .col img {
height: auto;
margin-bottom: 15px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
ok, it’s your theme that’s causing the issue, some theme authors are too clever with their coding, and bbpress uses a category of archive, hence why it is displaying this sidebar. Also I suspect the theme won’t be allowing dynamic sidebars, hence why tweaks isn’t working.
So onto plan b !
install a plugin called ‘widget logic’
https://wordpress.org/plugins/widget-logic/
Then against each widget in your archive/post/search sidebar, you’ll see an extra field called widget logic
If you want that widget only in bbpress forums put
is_bbpress()
in to that line
if you don’t want that widget in bbpress, but do want it in other pages that use the archive/post/search sidebar the put
!is_bbpress()
in the widget logic area
If you want in both, then leave widget logic blank.
It does worry me a bit though, that if this is the end-all solution then we’re left relying on a small one-man plugin
As author of 6 one-man plugins, I know that this can cause worry, but actually the large team plugins tend to get abandoned as often as team strategy goes in another direction, with no-one feeling ownership !
But the code is open source, so someone else can pick it up, and with over 12,000 users, I suspect that this one would find a new developer.
Back at last! It was just the .php memory. When they ‘increased’ it, they just didn’t do a good enough job of it which was why I was still having problems. It’s now currently all back up and working. I have followed your directions re: deactivating, removing and then reactivating with no effect.
I’m not sure if/what good any of this information might be to you but:
* the page I have set for the forum is “default template” and the sidebar is set as “Default sidebar” BUT no matter which page template I select, nothing changes, even if I select full width template I am still shown as having a side bar. Further, despite it showing the default sidebar as being selected, it is actually a different sidebar (called archive/post/search sidebar) which is being displayed. This is the sidebar that displays for “Category”, but not for subcategories. I can’t however find anywhere outside of .php files that set the category sidebar. So I don’t know if there is perhaps code messing up in there somewhere.
Also, should I be creating a bbPress.php file to add to the theme? I can do this, it’s a mess around as I have to get the website people to upload it for me, but if it’s going to help I can do that.
Thanks for your help Robin, sorry for the delay, but at least we’re back in to it now!
I added the code to the style.css of the child theme and it didn’t work, the registration button is still too close to the email input box. And on FireFox the email text is to the left of the email input box instead of on top.
Using Genesis – installed bbpress – and following the instructions I created an initial forum / topic and when I look at those specific pages everything looks fine, i.e. mysite.com/forums/forum/general-discussion. However, when I try to go to mysite.com/forums, all I see is this at the top (all just text, no links):
Search for: Home › Forums Forum Topics Posts Freshness General Discussion General discussion about us 1 1 53 minutes ago Admin01 […]
That’s it, a blob of text.
To be sure, I did set up a Page, called it ‘Forums’, added it to the menu, applied the shortcode
[bbp-forum-index]
and published it. Also reset Permalinks (note, we’re using /%category%/%postname%/ there, so used option 2 in the setup – if that matters). Absolutely no effect.
It seems odd that everything else runs and looks great except this one root page, and I don’t see any posts here that discuss this particular effect. Hoping someone else has seen this and can comment on it…??
Thanks
My bbpress forum text editor is different from the editor in this forum.
1. When someone inserts a link, he can see all last blog posts below. How can I hide them?
2. When someone inserts a link and does not know html he produces invisible links.
<a href="url"></a>
Is there a workaround to force users to click the link button for the close tag as here in the forum?
Thanks
Matthias
Found the solution.
You have to add this code to themes function.php to set up lead_topic
function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = 'true';
return $show_lead;
}
add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
hmm…this is a buddypress issue I think
see
Group Settings and Roles
Don’t think there is anyway to alter these.
you could try
https://wordpress.org/support/plugin/bbp-private-groups
and see if you can integrate this into buddypress.
That’s what I’m trying to avoid. I don’t want to have to use the shortcode to call onto the id because it would have to be self generating when a new topic is created.
ok, if you have ftp access then…
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
Then look at line 74
<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
The ‘size’ => 14 is the avatar size, so reduce this to what you want.
Hm, I’m trying to format the lead topic different different from the replies, but I even can not find ul.bbp-lead-topic im my source code.
Did I miss something?
Thanks
Matthias
an ugly green background
it was an example not a solution !
If you want to get into this side you should learn about developer tools
https://developer.chrome.com/devtools
https://msdn.microsoft.com/en-gb/library/ie/gg589507(v=vs.85).aspx
then you can quickly see what is being used.
Hey,
I meant adding a background similar to that we have here on bbpress.org forums (boxed up), the code u gave me just adds an ugly green background – http://imgur.com/ps2CL3l
Thank you Robkk,
The bbPress is working perfectly in my child theme without having a bbPress.php file included in the theme at all, so I’m happy with it all now.
I guess I mis understood the codex instructions or more likely was trying to make things more complicated than need be (i specialize in that).
your reply helps me understand how it should be done. thanks!
is there any plugin that can hide a text within code ? li [hide] users shouldnt see this. only staff can see this. [/code]
if there is any plugin or a way to do that pls help me out. thanks
Hi Robkk, thanks for having a look again.
I agree with the profile nav and am changing that next, have just downloaded the plugin you mentioned and will have a look at it, looks a lot bigger then the code I am using…but has a lot more functions I like to include like sharing those backgrounds on activity etc, will use it tomorrow.
I also removed all Epicweb stuff so the forums page looks normal again, I was long focused on creating the right category/forum list, but ended up using a page with shortcodes in the end, so that code was just clutter anyway, so thanks again.
Peter Hamilton
Does anyone know if this is a plugin or is this all back end coded?
its all custom code
The more I look at it, it appears to be the core WordPress “Howdy, User” admin bar
that it , even in the source it says #wpadminbar
ok so copy page.php and rename the copied version to bbpress.php and make sure its at the root of your theme with the page.php file and single.php file and see if it works.
you can test it out by removing the <?php get_sidebar(); ?> code and see if the sidebar is removed only on bbpress pages and posts.
@david13_13
yeah this could happen on an active site especially if a popular topic is posted after post #1001
then someone bumped the topic to #4938
you can check and see if a popular topic was posted between these posts by checking some topics post time.
you can show consecutive numbers though starting from #1 on each topic using bbp_reply_position()to replace the reply id in loop-single-reply.php
but if a spam post comes in it wont be consecutive anymore it will skip a few
you can also hide it with CSS since it isnt required
i also included the topic form website field
.bbp-reply-form #bbp_anonymous_website,
.bbp-topic-form #bbp_anonymous_website,
label[for="bbp_anonymous_website"] {
display: none !important;
}