In the meantime, I’ve gone for a) low cache time – 60 minutes, plenty enough to have good performance though, and b) disable cache for logged in users only. This seems to be a satisfactory solution to me.
I also found, under heavy load, that Super/Total cache didn’t help a great deal, while Quick Cache had a massive impact. YMMV though of course.
I’m working on a simple plugin that effectively fires:
do_action( 'edit_post', $id );
on any topic, forum, etc. when edited, created, trashed, spammed, split, etc to flush the topic and forum out of the cache.
I’ve almost got it working and am just getting trashing / untrashing to work then will put it up somewhere to let others work on it. While it’ll work in my case where I’ve not got a bbPress aware theme it may need some tweaking / improvements for all cases.
<b>Gautam Gupta</b> tried to help me with this code:
global $allowed_tags;
$allowed_tags=array('name','class','id');
I pasted it inside function.php file; unfortunately its not working.
I’m using https://wordpress.org/extend/plugins/google-syntax-highlighter/ plugin. and want my bbpress forum members to make use of pre tag and this plugin highlights the codes they post on the forum.
It uses the following syntax: <pre name="code" class="c">
please help.
Ok, so I’ve worked out that the “forums/forum” thing isn’t actually a problem. The forum layout for bbpress is different than I thought it was, all good.
I just still have the problem with Buddypress theme buttons not linking to the bbpress forum. I shall ask on the buddypress forum.
My bbpress site is now being tested by joe public.
Every time one view’s a forum category and then chooses a forum from that category, it automatically takes them to a forum under a different category.
For instance, if I view…
Forums, North East, Country Durham, the breadcrumb trails shows that’s where I am, but when I click on the “schools” forum the breadcrumb trail changes to show I am in the schools forum but under a different category – and it’s always South West, Devon!!!
Why do all my forums default back to South West, Devon ??!!
When they were created, I chose the correct hierarchy and can view this is still correct from the Forum, All Forums in the dashboard.
You can see the issues here… http://lifeafterlondon.com/?page_id=973
I would really appreciate someones help with this – THANK YOU.
Hey Anetz,
I have “Site Wide” forum enabled (bbpress) and I’ve disabled group forums. They can still make groups, but they don’t have group forums.
I’m new to WordPress and Website development, just know some basic HTML.
Thanks, I see how to change the permalink now that’s awesome. I can’t believe I missed it, spent ages looking it. It’s in the “All pages” tab and it’s under the title.
Whenever I make a “new forum” category it automatically creates it at /forums/forum/new-category.
I don’t understand why I need “/forums/forum”, I’d rather just have it at /forum if that’s possible.
I’ll continue to experiment too and I’ll post back if I make any progress.
Let me know if you find anything.
I am using the BuddyPress Default 1.5.4 theme for the website I’m trying to make:
http://www.fairdinkumpolitics.com/
I have BuddyPress installed with site wide forum (bbpress). I’m not sure if this is a bbpress question or a buddypress question, thought I would try here first.
In the header where there is a link “Forum”, it goes to:
http://www.fairdinkumpolitics.com/forums/
I want it to go to:
http://www.fairdinkumpolitics.com/forums/forum/political-machinations-5/
How do I control the destination of those buttons?
And about the above url, can I change it to:
http://www.fairdinkumpolitics.com/forum
And have my forum there instead?
Because the current url looks very messy to me. I’m only going to have one forum, with a few different categories. Can I get rid of the “/forums/forum” and just have “/forum”? And instead of “political-machinations-5” just “political-machinations”? I guess that is because I’ve been messing around creating and deleting categories.
Thanks!
Hi
I’m also looking to do this – move my buddypress install to a new url. Is it possible to export/import everything? Do I just need to copy the tables from WordPress?
Regards
EB
Just switched a Genesis based site I’m developing from 2.0 to 2.1-r3774. I was a bit confused by the broken templates, but then realized the Genesis code had been pulled out and found and installed Jared’s BBPress Genesis extend (0.8.1) plugin which now makes everything is look good OOTB again.
https://wordpress.org/extend/plugins/bbpress-genesis-extend/
There are only a dozen dummy posts and _no_ custom templates yet so I wouldn’t really expect it to explode, but I start customizing forum templates in a few days and it seemed to make sense to start with 2.1.
I installed bbPress into my blog earlier today. I went back edit content on the blog itself, thus logging back into the blog – and am unable to do so. I’d like to uninstall/reinstall, but can’t because I can’t gain access to the admin side of my site.
I need help with this. Thanks.
Thanks Jon, your solution help me.
It depends on what your setup is, however you should be able to put this in your theme’s function.php and get it to work. The reason I know this is because I’m doing it on one of my bbPress installs.
add_filter( 'bbp_get_single_forum_description','ja_return_blank' );
add_filter( 'bbp_get_single_topic_description','ja_return_blank' );
function ja_return_blank() {
return '';
}
This is fixed in the upcoming 2.1 release
If I add support for bbPress in my own theming (by adding the provided files into my own theme) the logout fails to work. Whenever I press logout, the screen just goes blank.
I checked the hyperlink in the logout link, and it is exactly the same as in the theme without the bbPress support. However the difference is that in the theme without the bbPress support it just works.
I would like to disable ahref tags in the forum posts so users cannot add links to external websites within a post. In addition to that, I would also like to stop the automatic phrasing of links. For instance, if someone enters ‘http://www.bbpress.org’ I would like it to appear as plain text instead of a clickable link.
I made a plugin as mentioned by ‘jonich0n’ in the following post but it is not working:
How can I disable HTML in posts?
I uploaded this plugin in my wordpress plugins folder and then activated it from the wordpress ‘installed plugins’ page. Is there where it is supposed to be uploaded?
@jjj
I didn’t understand from your reply do you want to add hooks that’ll purge cache made by caching plugins inside a core?
Problem with page cache and bbPress (outside relative times) is that when something new is posted, parent post type(s) isn’t cleared (for example, when you post a reply, topic’s and forum’s pages aren’t refreshed until cache expires).
Since this topic tops Google SERP, just to note that for bbPress 2.0 (ie. bbPress as a WordPress plugin), there is a plugin bbPress Digest that does something similar as requested in first post.
Hi,
See the following forum topic for details of the issue and the fix:
[help] Link Log out error after bbPress installed
Jon
I found this is a known issue logged in Ticket #1645.
The fix is to edit the following file:
bbp-includes/bbp-common-functions.php
Line 1074 should be changed from:
$redirect_to = home_url( isset( $_SERVER ) ? $_SERVER : ” );
To:
$redirect_to = ( is_ssl() ? ‘https://’ : ‘http://’ ) . $_SERVER . $_SERVER;
That fix worked for me.
Hopefully this will be included in the official release soon.
Jon
Hi,
This issue is also reported in:
Logout error when bbPress plugin is active
The fix in that topic didn’t work for me and bbPress consistently causes an additional directory name to be included in the logout URL.
Is there a fix for this?
Thanks,
Jon
Hey again,
I’m not sure if my problem relates to my previous problem: http://bbpress.org/forums/topic/main-forum-not-listing-sub-forums-just-text-w-no-links
(I haven’t been able to figure out the previous problem. Have contacted RocketTheme to help me out with it; still waiting on a reply)
When I make a post it saves and the topic can be viewed in the forum listings. But when you click the link, it takes you to the correct post url but there is no content to the post. No text from the poster at all. All that is seen is the reply box and the notices saying what permissions you have.
You can reply but the reply isn’t shown.
In the bbPress panel in the Dashboard, I can view the posts and replies perfectly as well as edit them.
Has this problem ever come up before? Is it related to my previous problem in the link above?
I was having the same prob Tuomas, but then realised I needed to insert a link to the stylesheet within my header template.
Putting <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/bbpress.css"> directly AFTER the <?php wp_head(); ?> tag allows you to override the styles provided by the stylesheet in the plugin folder.
Hope that helps
SKParticipant
I ended up overwriting my installed bbpress files with new ones via FTP. JJJ says you should delete all bbpress files and then write the new ones there.
@OC2PS
I was testing and got the same error message using the standard upload (didn’t use the plugin you have listed) but after I clicked on Installed Plugins and went back to try it again, it went through fine. At that point, I see two bbpress installs listed with the 2.0.2 version active and 3786 inactive.
Very strange.