hello. sometimes i feel like a senior citizen using a computer for the first time when it comes to WordPress…
i’m working on a site http://www.evangelicalassociation.org/EAWordpress and i’m hoping to create a forum that requires a log-in and can receive email notifications when a new topic is posted. i’ve downloaded the latest version of bbpress as well as bbpress email notifications today.
where do i start? how do i add the forum to my page? when someone clicks on the ‘forum’ menu option in the navigation, will it prompt to create a log-in?
i’m very new to wordpress and i know very little about coding and things like that, so please be gentle 🙂
thank you for your help!!!
I noticed on previous posts that bbpress may have or used to have a compatible terms of service plugin for registering. Any word on that plugin, or recommendations for a 3rd party plugin that is compatible?
Thanks
Hey,
I found the same issue. In my case I patched bbPress to bail if the page isn’t a bbpress page. so in bbpress/includes/common/template.php line 2504 (include bbp_title() function, bbpress 2.4):
if (!is_bbpress()) {
return $title;
}
This must be a bug. Where can I submit a patch for this, or check if it’s a known bug?
Thanks,
Matt
It’s all contained in my answer, bbPress ‘needs’ a slug for each term to determine the post type.
In short no, what about an extended answer? What do i have to do to get it done?
Howdy,
I have upgradet bbPress 1.1 (standalone) to bbPress 2.4 integrated in WordPress. Some new written posts will not shown in the forum-index. In the topic-overview it shows the correct post order (post time and date). I have installed the GD bbPress Tools and when I klick on show the newest replys, the order of the topics is confused. I think there is a problem with user rights, because some posts are displayed correctly and some do not. If the administrator with id 4 writes a post, it will not display correctly. When the user id 240 (new user) writes a new post, it will shown correct.
I had searched for sich problem, but the solutions I found was for bbPress 1.
What can I do?
Kind regards
Hi , I have a forum with bbpress…I need users of the forum to be able to attach jpeg images and upload MP4 files into their posts(not through media library as I believe GD attachment plug BBin works)..this is vital for the website. I don’t seem to be able to manage this..is there a plugin that will do the job?…have tried bbpress attachments etc..
Total novice so any help hugely appreciated!!!!
My visitors can post new topics and replies. They don’t have to register. But, by default they can not give tags to their topics or replies. How can I enable visitors to be able to give topic-tags?
In my opinion I think it is strange that there is no option to enable or disable this.
BBPress give the option to enable/disable anonymous posting, so why not embed an option where you can enable/disable tags for anonymous posting
I use BBPress 2.4 and WordPress 3.6.1.
I’ve installed bbPress 2.4 recently and I’ve noticed that each time a edit a post, my post count increases. Is there a way to stop that from happening? Thanks.
Create a ticket on Trac so we can work on getting something into bbPress core
https://bbpress.trac.wordpress.org/
You’d have to adjust the standard loop output, you can do this in your bbpress theme.
Line 32 of content-single-topic contains:
bbp_has_replies()
Turn it into:
bbp_has_replies('order=DESC')
Havent tried this though, but it should work.
You can change it in your bbpress theme.
Line 29 of form-reply.php: <legend><?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?></legend>
New guy here, done the research yesterday and today but I’m at a loss. I did the workaround where you add in the bbpress code to a page and make it your home page but if you wouldn’t mind taking a look at my homepage: http://www.lakexeno.com you’ll notice there’s just a big white box on top of the forum coding?
Any help would be *greatly* appreciated.
Thanks so much!
I have a solution… thi is a correct code.. it work fine…
function bbpress_title_duplicates($title, $sep, $seplocation){
$usrurl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
if (false !== strpos($usrurl,'users')) {
if (false !== strpos($usrurl,'topics')) {
$title = str_replace('Il profilo di', 'Argomenti aperti da', $title);
} elseif (false !== strpos($usrurl,'replies')) {
$title = str_replace('Il profilo di', 'Risposte create da', $title);
} elseif (false !== strpos($usrurl,'subscriptions')) {
$title = str_replace('Il profilo di', 'Discussioni sottoscritte da', $title);
} elseif (false !== strpos($usrurl,'favorites')) {
$title = str_replace('Il profilo di', 'Topic preferiti da', $title);
} else {
$title = str_replace('Il profilo di', 'Il Profilo di', $title);
}
}
return $title;
}
add_filter('bbp_title', 'bbpress_title_duplicates');
FreeWPress,
My sincere apologies. I forgot one line of code on the blog post. I’ve added it and corrected the blog post to reflect the forgotten line.
Above all of the code that you have add this:
add_filter('wp_title', 'bbpress_title_duplicates', 20, 3 );
Again, my apologies for the oversight.
function bbpress_title_duplicates($title, $sep, $seplocation){
$usrurl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if (false !== strpos($usrurl,'users')) {
if (false !== strpos($usrurl,'topics')) {
$title = str_replace('il profilo di', 'Argomenti aperti - test', $title);
} elseif (false !== strpos($usrurl,'replies')) {
$title = str_replace('il profilo di', 'Risposte create - test', $title);
} elseif (false !== strpos($usrurl,'subscriptions')) {
$title = str_replace('il profilo di', 'Discussioni sottoscritte - test', $title);
} elseif (false !== strpos($usrurl,'favorites')) {
$title = str_replace('il profilo di', 'Topic preferiti - test', $title);
} else {
$title = str_replace('il profilo di', 'Profilo - p', $title);
}
}
return $title;
}
Nothing changed… show only: “Il profilo di nickname” Do not replace nothing.. This is impossible! :/
FreeWPress,
What using this assumes:
1 – That you are using BBPress version 2.4
2 – That you don’t have anything else modifying these titles
3 – That you haven’t changed the structure of the titles via the core files.
4 – Your user slugs are as follows:
User Base :users
Topics Started :topics
Replies Created :replies
Favorite Topics :favorites
Topic Subscriptions :subscriptions
Following the above I have no clue why you would see “Profile Of”. The way that BBPress generates this Title is clearly shown on line 2563 of /wp-content/plugins/bbpress/includes/common/template.php which shows:
} elseif ( bbp_is_single_user() ) {
// Current users profile
if ( bbp_is_user_home() ) {
$new_title['text'] = esc_attr__( 'Your Profile', 'bbpress' );
// Other users profile
} else {
$new_title['text'] = get_userdata( bbp_get_user_id() )->display_name;
$new_title['format'] = esc_attr__( "%s's Profile", 'bbpress' );
}
(Note that your file may contain $title in lieu of $new_title, this is because we are using a forked version, but that doesn’t change anything.)
Therefore, the output of this should be either “Your Profile” or “Username’s ($s’s) Profile”. No where in that is “Profile of”. If you click on your profile here on bbpress.org you’ll see that it says “Your Profile” as well.
Please check that everything in 1-4 is correct. This is the default way that BBPress is setup.
Hope that helps. I have also added these requirements to my blog post to help clarify.
I don’t like the “/” either, just for aesthetical reasons. Will revert once this has been resolved with an update.
Yes i understand this problem, in effect, user title for, favorite, reply created and topic started is egual… Now i have put your code:
function bbpress_title_duplicates($title, $sep, $seplocation){
$usrurl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if (false !== strpos($usrurl,'users')) {
if (false !== strpos($usrurl,'topics')) {
$title = str_replace('Profile', 'Topics Started - TSCADFX', $title);
} elseif (false !== strpos($usrurl,'replies')) {
$title = str_replace('Profile', 'Replies Created - TSCADFX', $title);
} elseif (false !== strpos($usrurl,'subscriptions')) {
$title = str_replace('Profile', 'Subscribed Threads - TSCADFX', $title);
} elseif (false !== strpos($usrurl,'favorites')) {
$title = str_replace('Profile', 'Favorite Threads - TSCADFX', $title);
} else {
$title = str_replace('Profile', 'Profile - TSCADFX', $title);
}
}
return $title;
}
But don’t change title page, it only sho profile of… and nothing.. 🙁
good to know it worked.
applying the trailing “/” had one side effect for me: I’ve lost the like count on the facebook share button for my posts, since the links have changed. minor issue for me, since my site is just starting…
[]s
Please give us an example, how bbpress duplicate titles for users?
OH MY GOD. That’s it! 😀
-> The trailing “/” did it for me as well!
Who wants to submit the bug report? I’ll do so tomorrow if no one else bothers before…
Thanks a bunch pm2t.
I’ve added a plugin called “BAW Login / Logout menu” to the menu to get login / logut but these are only visible when logged in as admin. Anyone know why … it feels like a setting that controls it. What I find lusstigt is that I log in as admin backend and then I see the menu “login / logout” but would I sign out … then disappears opportunities to log on again and menu it will not appear
The website is closed for registration. All users are added by ADMIN … Could it have with my bbPress to do? I want this to control access to my bbPress and I do that by assigning accounts … so I throw out the question here too IF anyone to know because I do not understand why they disappear when I log out.
Page: http://www.vaxmora.se
Many thanks
I’m surprised that this far into the development of BBPress that we are still seeing duplicate titles for the users slug. Even here on bbpress.org they exist.
Maybe not everyone does SEO work for a living, but when we get a customer that has BBPress installed and they have 100 users this turns into almost 1000 duplicate title errors on all of our reports. Not only does it look bad, but Google has publicly stated that they frown upon it and it’s widely known in the SEO community that it’s just not a good thing to do. So why does BBPress still do it?
To make matters worse WP SEO plugins don’t change these titles either. Without hacking core BBPress files we’ve devised a crude way of doing this but I am writing this in hopes that someone will take this small request into consideration.
In the mean time should anyone want to see or implement our way of getting around this problem please check out our blog post
Hi
Lets say on my forum I have a Politics section and do not want people to be able to post images or links – can such restrictions be applied through bbpress?
Thanks
B