Have you seen bbp_new_topic_pre_title() in includes/topics/functions.php ?
(There’s also bbp_new_forum_pre_title() in includes/forums/functions.php)
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.
ok, you need to get this code into your site.
@media screen and (max-width: 400px) {
.list-view .site-content .cat-links, .list-view .site-content .entry-content, .list-view .site-content .entry-summary, .list-view .site-content footer.entry-meta {
display: initial !important;
}
}
There are many ways to do this.
If you theme has a custom css area, you can put it in there
Otherwise you can look for a css plugin and add that
or you could install and activate my style pack plugin
bbp style pack
and go to
dashboard>settings>bbp style pack>custom css and put the code in there
line 2930 of your custom css file changes this for
@media screen and (max-width: 400px)
using
.list-view .site-content .cat-links, .list-view .site-content .entry-content, .list-view .site-content .entry-summary, .list-view .site-content footer.entry-meta {
display: none;
}
you need to add some custom css for instance
@media screen and (max-width: 400px) {
.list-view .site-content .cat-links, .list-view .site-content .entry-content, .list-view .site-content .entry-summary, .list-view .site-content footer.entry-meta {
display: initial !important;
}
}
ok that’s firmly theme related, but I’ll give you a starter and let you play
Put this in your theme’s custom css area, presuming it has one
.section-inner {
width: 1200px;
}
.content {
width: 65%;
}
.sidebar {
width: 27.5%;
}
and then just play with the numbers to get what you want
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.
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
No it didn’t work.
More Information :
My htaccess looks like this : (Do I need to make any changes here?)
php_value max_execution_time 500
php_value upload_max_filesize 64M
php_value post_max_size 80M
php_value memory_limit 128M
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterPost Off
</IfModule>
And in my bbpress forum user settings the forum root is set to
<b>forums</b>
happy to do this one last one
.post-content table, .comment-content table {
clear: none;
max-width: 70%;
}
Hi support team,
I was trying to use your translatetion instructions but unfortunately it has not worked on my case.
1. I downloaded files mo./po. (Go to https://translate.wordpress.org/projects/wp-plugins/bbpress)
2. renamed them accordingly “bbpress-de_DE”
3. uploaded to my server folder “wp-content/languages/buddypress”
But still are not working. Any ideas?
Screen shot – https://www.screencast.com/t/Ke8sEFj5
Looking forward to your help.
BR, Alex
not a css problem, but a div one
the content should be contained like this
<div class="bbp-reply-content">
<p>dsfgdsfdf</p>
</div>
but on your site you have
<div class="bbp-reply-content"> </div>
</div>
</li>
<li></li>
<p>There is a bill named by congress </p>
etc.
so you are closing the content div and another div before your post content
not sure what you are doing – have you amended any templates?
or is your theme doing this – as a test try another theme to se if it persists
Thank you, the code works properly π
ok, try
enable the root breadcrumb in
dashboard>settings>bbp style pack>breadcrumbs
so that you’ve disabled breadcrumb home and breadcrumb current
Then in custom css have
.bbp-breadcrumb-root::before {
content: "Back to ";
}
.bbp-breadcrumb-forum {
display : none ;
}
Rats! Almost!
Unfortunately, this solution returns to a third page created by bbPress that displays the entire forum, which is great but not what I need.
I need it to return to the previous “page” that I created with the forum shortcode that got them to that particular topic. This way, members could go from host page to topic, back to host page and to second topic, and back to the host page and to a third topic.
This would open unimaginable opportunities for web designers for creativity. For instance, hosting multiple forums on the same page without any need for navigation.
I am having this problem also. Not getting email notifications as should be according to https://codex.bbpress.org/features/subscriptions/
Is there anything else that needs to be checked? so that subscribers are notified of new posts and new comments.
try adding this to your theme’s functions file
add_filter( 'bbp_redirect_login', 'rew_ignore' );
function rew_ignore () {
$url = '' ;
return $url ;
}
simplest way is to install my style pack
https://wordpress.org/plugins/bbp-style-pack/
navigate to
dashboard>settings>bbp style pack>breadcrumbs
disable breadcrumb home, breadcrumb Root, and breadcrumb current
This just leaves the ‘previous’ showing
then put this into the custom css tab of my plugin
.bbp-breadcrumb-forum::before {
content: "Back to ";
}
The breadcrumb will then become ‘back to xx’ with xx being whatever they came from
put this into your custom css
#bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
max-width: 70%;
}
Ok, i have something that seems to work, try it out if you want to, feel free to give me feedback on it.
function fix_default_search_string_is_bool($args)
{
//bbpress gives FALSE as search string causing no replys to show, this fixes it.
if ($args['s'] === false) {
unset($args['s']);
}
return $args;
}
add_filter('bbp_after_has_replies_parse_args', 'fix_default_search_string_is_bool');
Hi Robin, If it is small code change. I would like to work on it and customize it for my site.
Thanks
Guru
hey, hope you’re well.
i could need some help on fixing my filter options in the activity stream for topics and replies. they just don’t filter, i’m still seeing everything
This is what i found:
function activity_filter_options() {
?>
<option value="<?php echo $this->topic_create; ?>"><?php esc_html_e( 'Topics', 'bbpress' ); ?></option>
<option value="<?php echo $this->reply_create; ?>"><?php esc_html_e( 'Replies', 'bbpress' ); ?></option>
<?php
}
I’m pretty bad at php, but i have a feeling there must be something wrong. π tried changing topic_create to bbp_topic_create, but no. Can you help me? π
Hello,
I am considering bbPress. I would like to migrate posts from an old style mailing list into a modern forum.
Is there a current way of doing this?
If not, I may write a Java application for this purpose. Is it practical then to access the bbPress database directly for the Java code in order to insert posts? I’d like to retain the original timestamps. I’d also need to create users, associated with the email addresses of the posters.
Regards,
Rupert
Anonymous UserInactive
You can use bbp_get_reply_content filter, but this can be a disaster when you take off all the links that other plugins or the theme could have in the reply content. A good example is the mentions being added by BuddyPress, but after using this, they turn into the restriction notice..
add_filter('bbp_get_reply_content', 'restricted_links', 20, 2);
function restricted_links($content, $post_id) {
if ( is_user_logged_in() )
return $content;
return preg_replace_callback( '/<a(.*?)href(.*?)>(.*?)<\/a>/si', function($m){
return sprintf(
'<span class="protected-link" style="background:#f3f3f3;padding: 2px 5px;display:inline-block;border-radius:3px">[Restricted Link] Please <a href="%s">register</a> to view this link</span>',
home_url('/wp-login.php?action=register')
);
}, $content );
}
You may pass-in the link text after the notice or something, it is all up to you so play around with the code or ping me if you needed help.
Hi folks,
i added the following code to a php file in the /mu-plugins/ folder, to deactivate a plugin for logged-in users:
add_filter( 'option_active_plugins', 'disable_logged_in_plugin' );
function disable_logged_in_plugin( $plugins ) {
require (ABSPATH . WPINC . '/pluggable.php');
if ( is_user_logged_in() & !is_admin() ) {
$key = array_search( 'bloom/bloom.php' , $plugins );
if ( false !== $key ) {
unset( $plugins[ $key ] );
}
}
return $plugins;
}
Strangely bbPress gets also deactivated by it, while all other plugins run without any problem.
Do you have an idea why this happens and what to change?
Regards
Dominik