I am using bbp style pack.
But, “Topic/Reply Styling – 10. Topic Header” doesn’t work.
I want to change Topic Header size.
bbp style pack 3.59
WordPress 4.7.5
Twenty Sixteen
bbPress2.5.12
bbPress – Sort topic replies1.0.3
I don’t open my HP link yet.
Hi,
Thanks for the response. I’m not following how this would solve the problem, though. From what I can see of that filter, I need to pass in the topic title into this function, but I can’t get the topic title in functions.php early enough.
Here’s the function (in functions.php) I’ve created to modify the title in other ways needed (replace “Forum” with “Investment Groups” and replace mdash; with a hyphen as the main separator). This is where I’d want to incorporate the logic:
function theme_mod_title() {
add_filter('document_title_separator', function() {
return '$%';
});
remove_filter('pre_get_document_title', 'theme_mod_title');
$find = array(
'/ \$% /',
'/^Forums/'
);
$replace = array(
' - ',
'Investment Groups'
);
$title = wp_get_document_title();
// filter the title
$ftitle = preg_replace($find, $replace, $title);
NOT SURE HOW TO ACCOMPLISH THIS, BUT LOGIC NEEDED IS
//if (on bbpress topic page){
$ftitle = bbpress topic title . ' - ' . $ftitle;
//}
return $ftitle;
}
add_filter('pre_get_document_title', 'theme_mod_title');
The bbPress part is where I’m stuck. I’m not sure how to actually get the topic title early enough to pass it into the document title. This seems to be the only place I can actually set any new meta title tag logic, but I can’t tap into anything bbPress this early in the process.
Thanks again
Could you expand on some of the configuration setup you’re using here please?
What version of WordPress are using?
I think you’re talking about the “front end” editor like here on bbPress.org?
Or maybe you’re using a plugin to enable TinyMCE, if so what plugin is it?
The above info should help us to reproduce the issue if you could please @jesus-1 ๐
Same problem.
Site is running certified SSL and have had no issues with other plugins or wordpress itself.
Running PHP 7.1, latest version of bbPress
Problem exists in Firefox and Opera. Don’t use IE or Chrome.
Site is closed to public while in developement. Doesn’t seem to stop people accessing forum.
When clicking on Forums in Dashboard the url result is
https://mysimpleknitting.com/wp-admin/edit.php?post_type=forum
Message on page is:
The mysimpleknitting.com page isnโt working
mysimpleknitting.com.com is currently unable to handle this request.
When I attempt to access forums from url directly:
When I type in https://mysimpleknitting.com/forums/
The result is the same error.
Clicking on Forums in the Settngs brings up the proper bbPress page.
Hoping someone has solved for this…
I’m trying to make sure that all single topic pages are unique for SEO purposes. Currently, topics simply have the format “Forum – [Forum Name] – [Site Name]”. I want to prepend the topic so that the meta title tag format is “[Topic Name] – [Forum Name] – [Site Name]”.
I do not want to use Yoast or any other plugin, as this should be a pretty simple change.
The problem I am having is two fold:
1. In functions.php, I am unable to use anything like is_bbpress() or bbp_is_single_topic() to tell if I am on a specific page.
2. I am unable to get the bbPress topic title ahead of the pre_get_document_title() function so that I can prepend it into the meta header.
Any help would be greatly appreciated. This is for a WordPress/BuddyPress/bbPress integration.
Thanks in advance
When a regular user writes a post and uses links like https://bbpress.org with the editor, the post is not saved and published. As an admin I can use links like before I installed the 2.6 Beta 2.
My work-around: Deavtivated the editor in the settings of bbPress (“_bbp_use_wp_editor”).
It works, when ones uses HTML without the editor. So it seems to be an an issue of the editor.
Hello,
I think I have a problem with the reply count.
It shows only 2 replies but there are more inside the topic.
Here is the link to the topic:
Zeigt uns eure Whiskybar
Do you know how to solve this problem?
Iยดm using:
Wordpress Version 4.7.5
bbPress Version 2.6-alpha
Theme: X Theme by Themeco
Here is my forum page: http://www.whiskytasters.de/forum/
Thank you very much for your help!
Kind regards,
Alex
This is fixed for the upcoming bbPress 2, you can download bbPress 2.6 beta 2 and help us test it, bbPress 2.6 will be released really soon so it’s stable and we’re using it right here on bbpress.org and wordpres.org/support now ๐
Download
Oops… forgot to change my a:2 to a:1 after removing the bbpress capability. So now, when I remove s:13:”bbp_keymaster”;b:1; from my wp_capabilities and properly set my administrator serial.
Then…
I go to the dashboard and click “plugins” to view the bbpress plugin. Before I take another action, I view my database to find s:13:”bbp_keymaster”;b:1; added back to my wp_capabilities field.
Still stumbling around on this…
I looked into my user meta under wp_capabilities and found the bbpress access rights. s:13:”bbp_keymaster”;b:1;
When I delete this from my wp_capabilities I lose all access to the dashboard and administrator functions. I put it back into database and functions return to normal.
Still digging…
Sorry for my English!
I’m trying to migrate PHPBB 3.1.10 to BBPress, but to no avail. Always the same mistake. I would like your help if possible.
Erro no banco de dados do WordPress: [Table ‘falco785_phpb1.phpbb_user’ doesn’t exist]
SELECT convert(user.uid USING “utf8mb4”) AS uid,convert(user.password USING “utf8mb4”) AS password,convert(user.username USING “utf8mb4”) AS username,convert(user.email USING “utf8mb4”) AS email,convert(user.regdate USING “utf8mb4”) AS regdate,convert(user.realname USING “utf8mb4”) AS realname FROM phpbb_user AS user LIMIT 0, 100
Thank you,
Israel Pimentel.
From Brazil.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
ok, not sure I can help further – think it is a wordpress/database issue.
Last 2 throws of the dice
1. is debug switched on, and if not turn it on to see what errors are appearing. if you need instructions for that – come back
2. try changing theme to a default one like twentyseventeen, then deactivate and see if that does anything. if that works you could switch back to your normal theme once bbpress is gone.
One of the first things I attempted. Renaming does the same as “deactivating” the plugin. There are no other bbPress related plugins.
It is acting like a script issue where the Admin functions aren’t finding the proper variables. But I’m not a pro coder… just a logic guy.
ok, suspect that the database has an issue
two thoughts
1.do you have other plugins that are bbpress related? If so deactivate these first
2. Use FPT and go into
wp-content/plugins and rename the bbpress directory to something such as bbpressold
wordpress should then recognise it as gone.
Hi,
I install bbPress 2.5 and i didnt have the “tree” in the forum when i navigate.
A friend of me have test with wamp and do the same installation like me and have the tree link when he navigate into his forum.
Link : http://www.universxbox.fr/forums/
Sorry for my bad english i’m french.
Thanks in advance for your help.
Sulli.
Cannot deactivate – same issue. Must leave activated to keep access to my WP-Admin. As long as I stay in the WP dashboard, I can work with it. If I leave the WP-Admin – I cannot access the WP dashboard.
I was locked out – then discovered if I used the Admin bar to view “comments”, it would load the dashboard w/o the “dashboard link”. Then re-activated the bbPress plugin (as it was the last known action before losing dashboard access). When I reactivated – the wp-dashboard was back to normal with full functions.
Sounds like you’ve put some good thought into it @mapofemergence and I hope to contribute on the front end side with suggestions and reports on how I’m able to get it to work, if you’d like some input/help.
I hope to start on my bbPress mobile app in the next week or two.
Hey there,
Search Console reports some errors on some topics URL. I fetched as Google and see they are in fact redirected, not 500 error. The problem:
– Sitemap indexes URLs with end slash;
– BBpress keeps redirecting to the no slash version;
No idea why is doing this. There is a setting?
Hi @TKServer, I’m glad you revamped this topic.
Although since my last post I didn’t work further on the code, I’m still very much interested in the discussion.
Originally, I was going in the same direction that you just suggested but, ultimately, I thought that a separate API would be desirable for a variety of reasons.
I can name the ones I thought of, but I’m sure others might have even stronger (and more educated) motivations:
- the most general and obvious: a separate API makes you less dependant on certain builtin constraints of WP API and let you take design decision which are more tightly connected with bbPress specifically; even though bbPress leverages WP’s custom post types and tags, there’s a higher layer of abtraction (read: forum functionality) which implies a whole set of requests for which the existing endpoints’ structure is not ideal
- depending on what info you want to get with a single request, the default WP API queries might not serve the scope well (ie. they could force the user to make multiple queries where just one would be desirable and sufficient; also, where multiple database calls are required, it might not provide those in the best performing way)
- from a user standpoint, I believe it is better to offer schemas (and filters) which reflect more the semantics of a forum, than the ones of a blog; I believe you can still build those custom terms in the existing API, but it might become confusing soon, and in my opinion you’d loose the advantage of staying with a single API, anyway
- additionally (and actually the main reason for me personally), I see bbPress as part of an ecosystem, with WP and BuddyPress. Since BuddyPress already went for a separate API, I thought it would make sense to do the same with bbPress, keeping things clean and separate. Utlimately, the ideal would be to have the bbPress API live with the bbPress plugin itself, so that the development of the two can progress together (and therefore be more efficient and optimised, both ways)
- finally, speaking of bbPress BuddyPress, there’s an area where the two plugins overlap (bb forums in BP groups); I believe it is already a non-trivial problem to solve in a separate API and it would likely be even more complicated to try and stay within the WP limits; I was mentioning this in another post too, which I believe is still awaiting approval from moderators (please pardon me if I dare poking them here, once more) ๐
Again, this is just my opinion; there are probably pros and cons in both options and I’d be more than happy to hear from anyone who’s more bbPress-savvy than I am.
Cheers,
s t e
When I uninstall bbPress, the Dashboard link disappears and Administrator rights to access the WP dashboard is denied.
I have disabled all plugins and switched to standard WP theme, only running bbPress. Still a problem. Checked all roles. I cannot remove the plugin without this problem. bbPress version 2.5.12-6148
Am I the only one baffled by this?
I’m happy to have found this discussion. Shortly after making an iOS/Android app out of one of my WP blogs I will embark on making a mobile app for my bbPress based forum at UteHub.com. So naturally I started google bbPress API.
I have yet to look at what’s returned by the bbP api plugins in this thread, but why not just use a custom post type function to add to the WP api? Is there something coming from these bbP api’s not in there?
I will be developing my bbPress app in Angular JS 1.x. I’m sure I’ll be participating more as I get into the project.
Thank u for posting, sure i am updating my solution,
I have used one hook to customize the topic pagination link. I was the issue with the total number of topic count as per my requirement.
function ntwb_bbpress_custom_pagination( $args ) {
$topic_per_page = bbp_get_topics_per_page();
$ttt = bbp_get_forum_id();
$total_topic = custom_forum_topic_count($ttt); //get your topic count as your requirement[This is my own function]
$total = ( $topic_per_page === $total_topic ) ? 1 : ceil( (int) $total_topic / (int) $topic_per_page );
$args[‘total’] = $total;
return $args;
}
add_filter( ‘bbp_topic_pagination’, ‘ntwb_bbpress_custom_pagination’ );
@robin-w i wasn’t referring to you. I assumed you couldn’t help further, so i was putting it there for any other person who payed less attention. I was actually referring to the whole open source community. But it’s OK.
I believe this will improve bbpress, if i had the skills i would have made it available as an appreciation to the people that developed bbpress it’s self. Maybe one day i will still find a way.