So I just installed bbPress (2.5.4) successfully after having buggy versions last week. Though I’m having a lot of issues this time. I’m using WordPress 4.1.1 and Twenty Fifteen as my theme.
I created a new forum which I called, “forum” and a topic called, “general”. When I go to view the forum, it takes me to /forums/forum/forum which I believe should be /forums/forum but I can’t go there without it redirecting me. /forums just redirects me as well.
Following the codex, I tried method two which involved using the shortcode. This works all fine until I clicked on the forum, which took me to /forums/forum/forum
My site is:
– method 1
– method 2
How can I fix this issue? Please don’t say disable plugins because I know for a fact, that isn’t the reason.
Or try playing around with his
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
border-top: 1px solid #eee;
overflow: hidden;
padding: 8px;
float: left;
width: 20%;
}
This will give 5 rows, 10 would not fit any screen.
his idea you have might sound good, but it will cause lots of issues on different viewports/mobile
when i said the reply form shortcode because i placed it into my sidebar and inputted a reply next to a topic and it worked fine.
you might need to find a lightbox/popup plugin to enable popup on a class of a link and just place the link above the topic.
when user hits link , popup opens shows reply shortcode then its added to the topic.
but like i said this is some custom development.
i just tested it out and it seems to work fine.
you can find the files to install for wp-content/languages/bbPress here
http://danieljuhl.dk/wordpress/oversaettelse/
more information specifically for your language
https://codex.bbpress.org/bbpress-in-your-language/danish-dansk-da_dk/
Thanks. Nice to at least get a response, so your thoughts are appreciated.
However, the ticket you refer to is closed. The file in latest bbPress download matches the final version (smf3.php) available there, so I’m sure it’s reasonable to assume the code is the latest available.
But while waiting for some help I did some further digging in my smf database. I found one user with an invalidly formatted user_id. After removing that the import worked.
Regarding “Remap existing users to default forum roles”, the import instructions recommend running ALL repair functions after importing, which I did at every import attempt.
you can see if any of the unread posts plugin add a body class to the replies to use.
Feature Plugins Tracking
other than that i suggest maybe https://wordpress.org/plugins/bbpress-new-topics/
@giuseppecuttone
i dont know any plugin that can handle notifications very well , all i know is the default bbpress notifications and they seem to be having issues for users lately.
as for changing the default email address see if this works
use this for custom email address
add_filter( 'wp_mail_from', function( $email ) {
return 'webmaster@mydomainname.com';
});
use this for custom from name
add_filter( 'wp_mail_from_name', function( $name ) {
return 'WordPress Email System';
});
@wpgerd
you should of added the changes to a child theme.
follow this so the next update you wont lose anything
https://codex.bbpress.org/theme-compatibility/
make sure you are NOT just placing the new CSS at the bottom of the file , because the media queries will make it show for certain browser widths.
place any custom CSS before this note in the bbpress.css file
/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
/* =Standard Mobile Landscape
-------------------------------------------------------------- */
and any media querie specific size you want to have custom CSS please put custom CSS to the ones in the file.
^^i know it has to be that for sure.
Hello Robkk,
thanks for your great help. I add this code in my style.css of the child-theme and everythings looks nice now. Thanks.
What is your recommondation? I made in bbpress.css, but I think if there is an update of bbpress-Plugin, this possible will be deleted. So it’s better to add this changes in the style.css of the child-theme?
Gerd
@kiwi3685
what importer did you use , the one listed in tools>forums Import??
because i see the bbPress one doesnt have much information in the codex and it is still in beta testing.
this could work or not , im only guessing to try to help
what you could try is go to tools>forums Repair forums and check
Remap existing users to default forum roles
and see if that fixes it.
there is also a ticket on the importer for SMF
https://bbpress.trac.wordpress.org/ticket/2380
well thanks for finding the code , im sure this will help alot of users who run into the same issue.
this will help put less of a margin after the captcha, if it doesnt work add !important at the end of the 0
.cptch_block {
direction: ltr;
margin-bottom: 0;
}
this is for space above the register link
a.bbp-register-link {
margin-top:15px;
}
and im not sure how this is going to do with the checkbox but try it.
.bbp-login-form label[for=rememberme] {
width: auto;
display: inline-block;
}
either add this to your functions file
add_filter('protected_title_format', 'ntwb_remove_protected_title');
function ntwb_remove_protected_title($title) {
return '%s';
}
add_filter('private_title_format', 'ntwb_remove_private_title');
function ntwb_remove_private_title($title) {
return '%s';
}
or use
https://wordpress.org/support/plugin/bbp-style-pack
Have even more code to also redirect them to a page if a users fills in nothing
add_action( 'wp_authenticate', '_catch_empty_user', 1, 2 );
function _catch_empty_user( $username, $pwd ) {
if ( empty( $username ) && empty( $pwd )) {
wp_redirect($referrer . 'http://yourdomain.nl/aanmelden');
exit();
}
}
add_action('wp_login_failed', 'my_front_end_login_fail');
function my_front_end_login_fail($username){
// Get the reffering page, where did the post submission come from?
$referrer = $_SERVER['HTTP_REFERER'];
// if there's a valid referrer, and it's not the default log-in screen
if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){
// let's append some information (login=failed) to the URL for the theme to use
wp_redirect($referrer . 'http://yourdomain.nl/aanmelden');
exit;
}
}
Not my code this is all scattered from around the web
I just copied text from another website and paste it in the visual editor and the message will have html tags in te text (not rendered html)
<h2 style=”color: #00bbaa; margin: 0px; font-family: ‘Open Sans’, sans-serif; line-height: normal;”>SVG for web</h2>
<p style=”margin: 15px 0px; color: #000000; font-family: ‘Open Sans’, sans-serif; font-size: medium; line-height: normal;”></p>
<p style=”margin: 15px 0px; color: #000000; font-family: ‘Open Sans’, sans-serif; font-size: medium; line-height: normal;”>Twee jaar geleden dachten wij een goed idee te hebben, een HTML app m....
This is what it looks like.
you can try tools>forums then repair forums
and just post an image using the img button by providing a url or link to an external service
i dont know why only chrome and IE , but try this
#bbpress-forums div.bbp-forum-author a.bbp-author-name,
#bbpress-forums div.bbp-reply-author a.bbp-author-name,
#bbpress-forums div.bbp-topic-author a.bbp-author-name {
word-wrap: break-word;
font-size: 12px;
}
make the font-size smaller if you want
@sunflyer
.forum-archive div.bbp-breadcrumb {
display: none;
}
see if the shortcode works in a default theme first
as a test switch to a default theme such as twentytwelve, and see if this fixes.
if it still doesnt see if its a plugin issue
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the issue
if its not a plugin issue and is working in a default theme then your right about it being your theme
do the other shortcodes work fine?? if so see if you only messed up this file below
did you do any customization to this file content-archive-forum.php
try this CSS code for a test to see if it works , if the background turns black it works.
input#bbp_search_submit.button {
background: black;
}
If this helps: Below is the code that shows up when I Inspect Element for the Search button. And the same code I change in the Style window of the element inspector to make the Search button appear the way I want it to:
media=”all”
.userwall_delete_post >button:hover, input[type=”submit”], input[type=”button”], input[type=”reset”] {
-webkit-border-radius: 0px 0px 0px 7px;
-moz-border-radius: 0px 0px 0px 7px;
border-radius: 5px 5px 5px 5px;
font-family: Arial;
font-size: 20px;
padding: 5px;
text-decoration: none;
}
I’ve got a custom theme I made, it might not be coded properly since bbpress seems to work fine on twentyfifteen.
Anyway, I use a custom page with the shortcode [bbp-forum-index] inside and the page as a custom model. When I go to my page the forum shows, but when I try for instance to go inside a topic, it doesn’t work and instead of taking me where it should, the shortcode is shown.
As I said I made my own theme and it’s kinda hardcoded, if someone could help me making the modifications I have to make in order to make the forum work, it would be much appreciated.
Thanks.
Hi Robin,
I pasted the code below into my Editor (Appearance/Editor) and it has no effect on the Search button on the main BBpress Forums page:
#bbpress-forums .submit {
background-color: #a0668d;
color: #FFFFFF;
float: center;
vertical-align: middle;
border-radius: 10px;
height: 35px;
width: 80px;
font-size: 18px;
}
I even tried putting a space then !important after each style, but no dice. Any idea what I may be doing wrong?
Thanks!
John