Hello sxalexander,
Yes, this is a much better way to do that.
And it keeps the bbpress plugin unchanged, so it can safely be updated.
Thanks !
Hello everyone.
I already searched for my problem but couldnt find any working solution for my bbpress 2.0.2.
Since there is no direct link for users to change their profile (not good), therefore I am searching to generate a link to put in a header or so.
I only found solutions for older bbpress installations with user id (number) but in the new bbpress it looks like you need userNAMES.
Can somebody paste me a working php code to display a profile-link? Thx!
As long as the forum is visible, it seems to work. Once the forum is set to “private” entries are only visible to admin. Registered users can’t even see their own posts. This remains true even when the forum will be switched back to “public”. The forum is here: http://zukunft-stadtbahn.de/forums/forum/redaktionsbesprechung/
It is public and anonymous posts are allowed.The basic settings were not changed. WordPress 3.3.2 and bbPress 2.0.2. Grateful for any help.
Jörg
My question is should i put your code here:
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
or there:
wp-content/themes/genesis/functions.php
?
Is there a special spot in the file ?
Thanks
Hi Jaredatch,
I tried to add the code in
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
But the message still appearing.
“Ce forum contient 5 sujets et 8 réponses, et a été mis à jour par”
(it s in french).
I added the code like that:
add_filter( ‘bbp_get_single_forum_description’, ‘ja_return_blank’ ) );
add_filter( ‘bbp_get_single_topic_description’, ‘ja_return_blank’ ) );
function ja_return_blank() {
ja_return ”;
}
?>
Just before the ?>
I’m using Genesis WordPress Theme.
I also tried to add the code there:
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
Same problem a white page.
So all you need to do at the moment is have something like:
a custom page metabox for the post which saves the forum id after it has been created by the Posts 2 Posts plugin.
Then in your single.php file you can use the bbPress functions to retrieve the relevant topics for the forum id assigned to that post.
if ( bbp_has_topics( array( 'post_parent' => $postmeta["forum_id"] ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' );
Oh right ok.
You may want to use something like:
if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => true, 'order' => 'DESC', 'posts_per_page' => 5 ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' );
Hi Scheena,
I did it with the following piece of code:
<div id="recent-topics-block">
<?php
if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) )
bbp_get_template_part( 'bbpress/loop', 'latest-topics' );
?>
</div>
You would probably have to look into either, building your own plugin to create the widget (Which you could do quickly by replicating the bbPress widget code) or customize the bbPress widget.
This could also be achieved with css, by having a fixed height and width and then adding overflow hidden, but you would have a little difficulty with the … part.
Good luck!
Hi ! (sorry for my english…)
I would like to use BBPress topics for post plugin, but when i install it all the previous wordpress comments i had in the post are not shown anymore. Only the new comments created with the plugin are shown.
Am i using the right plugin ? another one would do what i need ?
If not, Is there a way to keep those comments in my blog posts and also a way to automatically create topics in the forum using all the old wordpress comments ?
Thx for your help.
Hey, so i have looked for quite a while but couldn’t find anything on this…
So regarding the BBPress widget “Topic Lists” where by it lists (in my case) the 5 newest topics made on my forum. I have made a custom background image for this, but i get a problem when a topic is a long length and it carries on over to 2 lines.
Basically i need a way to limit these topic lengths just on the widget to something like 10 characters long and then “…” so they will stay on 1 line.
Is there a way to do this quickly and easily? I am very new to this, but i am picking things up fast!
Thanks in advance!
bbPress Version 2.0.2
Education Child Theme
I found a solution but am not wild about the method.. In form-topic.php I replaced “bbp_title_max_length” with the desired number of characters, “126”, and that did the trick. I just don’t understand why editing the default characters of bbp_title_max_length didn’t work on its own.
Hi there infolotnicze, Lynq and jareddatch!
bbPress most certainly works on Go Daddy 4GH hosting. 4GH Hosting is a grid based hosting solution, different from our previous standard shared hosting product.
Instead of many users sharing the resources of one server, we not have a cluster of several servers behind a load balancer and a filer that allows for immediate scalability, improved speed and performance.
Please do not hesitate to contact Go Daddy support if you have any questions.
What version of bbPress? What Genesis theme?
@Gautam
1. When creating a post or page I create a relation to a topic-tag, and then use that topic-tag as a “forum” and linking/fetching it on thepost or page itself. Is that what you are saying ? So how could I create a relation from post/page to topic-tag when posting ? Could there be a way to enable topic-tags for the standard post-type perhaps so a meta-box would occur beneath the standard post tag ? Or should I just create another custom taxonomy ?
It is a very good solution, Gautam. Beautiful and simple. Thank you.
@jaredatch
https://wordpress.org/support/topic/plugin-bbpress-topics-for-posts-forum-for-post-in-stead-of-topic/
Yes, I know. Thanks.
@Lynq
That is an alternative solution, but as pointed out not what I am looking for.
@To the thread
Just to make it clear – I dont want an entire bbpress-installation for every post or page. But some kind of automation, so I would not have to insert a forum manually by shortcode. It is just another way of commenting more focused like in the bottom of amazon.com when you are iewing a book for example.
It is not a big problem as such. But it is obvious to replace the wordpress-comment system which is totally hopeless and lacking for a blogging platform. It is amazing that wordpress doesnt have any creative thoughts on commenting. WordPress should have invented disqus – not disqus. Disqus is really useful – but disqus takes control from you. P2 has some, sure.
Thanks for any input,
Jacob
Lynq and Jaredatch
I think you’re missing his point. He wants an entire forum. Yes a FORUM, not just a topic, created for each post.
An entire bbPress forum.
So that people, within it, can create multiple topics for each blog post.
Ahem.
Although Lynq, I have to say, your profile pic is super fun/cute and romantic. (granted, I don’t know which half of that you are… i’m guessing the non-upside down one.)
I know this is pretty old, but just in case someone else is looking, use the filter hook ‘bbp_get_topic_pagination_links’ to alter the output.
Thanks for the response, Jared. I’m using both BuddyPress and bbPress.
Two things I like to try when attempting to find a problem with bbPress is to:
Switch to a default bbPress theme, like twentyten.
Go to settings > Permalinks and update my permalinks again.
The second one fixes a few issues and the first one lets you know if it is a problem with your template, or a problem with your data.
Good luck!
Are you using BuddyPress or just bbPress?
It should work but historically GoDaddy is not a great host for WordPress sites in general due to speed issues, so I’d use a different one.
https://wordpress.org/hosting/
Personally I’ve always had good luck with HostGator.
So it looks like the Genesis Connect plugin only impacts buddypress pages… Is there any other file I need to edit in bbpress besides core-functions.php?
wp-admin/nav-menus.php on the left I have options to drag into my menus
Custom links
Pages
Categories
But not forums.
On another site I have the same set up and forums are an option to add to the menu.
Any ideas. Latest version of both bbpress and wp