I’m starting to build a site using WP 4.5.3 and would like to create a bbpress forum in it.
Have installed bbpress 2.5.9 and created my forum.
My problem is, when I want to create a post or reply to one on the front-end, i receive an error message “ERREUR: Etes vous sur de vouloir faire ca ?” (In english : “ERROR: Are you sure you want to do that ?”) above the title of the post, and I cant confirm or anything else, just modify my post.
I can create posts in the back-end though.
I tried without any other extension than bbpress, and with twenty fourteen theme aswell as with the theme I want to use in the end.
I can’t post a link to my site, as it is local only atm.
I have seen some people having the same issue, but could’nt find a solution.
Can anyone help with that ?
Hello,
I was wondering is there any way to change the background image of only bbpress pages? This is because if I change the background image of my theme through the customizer, then my home page, about page, blog posts page, etc. will all have that background image, which doesn’t look very good.
I am currently running wordpress version: 4.5.3, bbpress version: 2.5.9, and my website is www.purposeshare.com/forums, which is using the sydney child theme.
Thanks,
David
Hello my (lottery.co.th) public forum site is https://www.lottery.co.th/forums
I would like to add css to theme but don’t want to edit in bbpress plugin also how to add like a Solid colour between the category?
Thanks.
//Thank you the first reply is resolved for me.
Is there an easy way to move multiple threads to another forum?
Thanks!
Hello,
I’ve a issue with my bbpress forum.
The save for messages or topic are very very slow.
Do you have idea to optimize that ?
Hi Bbpress community,
Hoping someone can help me out. After I submit a topic, it redirects me to my user dashboard and gives no system message confirming the post has been submitted..
What I would like to happen, user submits a topic and on the same page, they see a simple confirmation of submission message. How can I accomplish this?
Thank you!
WordPress Version: 4.5.3
bbPress Version: 2.5.9
Website Link: http://www.sva.bc.ca/newforums/
Hello,
After setting up bbPress I “imported” forum posts manually from an older system, setting the “Published On” date to match the date of each original topic/reply. I then found that bbPress’s “freshness” ignored this date and used the date/time I had manually added these posts.
So I installed the bbPress last post plugin ( https://en-gb.wordpress.org/plugins/bbp-last-post/ ) and modified it a little. The following code is what is currently being used, and is almost what I want:
<?php
//this function changes the bbp freshness data (time since) into a last post date for forums
function change_freshness_forum ($forum_id = 0 ) {
// Verify forum and get last active meta
$forum_id = bbp_get_forum_id( $forum_id );
$reply_id = bbp_get_forum_last_reply_id( $forum_id );
if ( !empty( $reply_id ) ) {
$last_active_date = get_the_date( '', $reply_id );
} else {
$topic_id = bbp_get_forum_last_topic_id( $forum_id );
if ( !empty( $topic_id ) ) {
$last_active_date = get_the_date('', $topic_id );
}
}
if ( !empty( $reply_id ) ) {
$last_active_time = get_the_time( '', $reply_id );
} else {
if ( !empty( $topic_id ) ) {
$last_active_time = get_the_time('', $topic_id );
}
}
$last_active_date = bbp_convert_date( $last_active_date ) ;
$last_active_time = bbp_convert_date( $last_active_time ) ;
$date_format = get_option( 'date_format' );
$time_format = get_option( 'time_format' );
$date= date_i18n( "{$date_format}", $last_active_date );
$time=date_i18n( "{$time_format}", $last_active_time );
$active_time = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbp-last-post' ), $date, $time );
return $active_time ;
}
add_filter( 'bbp_get_forum_last_active', 'change_freshness_forum', 10, 2 );
//this function changes the bbp freshness data (time since) into a last post date for topics
function change_freshness_topic ($last_active, $topic_id) {
$topic_id = bbp_get_topic_id( $topic_id );
// Try to get the most accurate freshness date possible
if ( empty( $last_active_date ) ) {
$reply_id = bbp_get_topic_last_reply_id( $topic_id );
if ( !empty( $reply_id ) ) {
$last_active_date = get_the_date( '', $reply_id );
} else {
$last_active_date = get_the_date( '', $topic_id );
}
}
// Try to get the most accurate freshness time possible
if ( empty( $last_active_time ) ) {
$reply_id = bbp_get_topic_last_reply_id( $topic_id );
if ( !empty( $reply_id ) ) {
$last_active_time = get_the_time( '', $reply_id );
} else {
$last_active_time = get_the_time( '', $topic_id );
}
}
$last_active_date = bbp_convert_date( $last_active_date ) ;
$last_active_time = bbp_convert_date( $last_active_time ) ;
$date_format = get_option( 'date_format' );
$time_format = get_option( 'time_format' );
$date= date_i18n( "{$date_format}", $last_active_date );
$time=date_i18n( "{$time_format}", $last_active_time );
$active_time = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbp-last-post' ), $date, $time );
return $active_time ;
}
add_filter( 'bbp_get_topic_last_active', 'change_freshness_topic', 10, 2 );
//This function changes the heading "Freshness" to the name created in Settings>bbp last post
function change_translate_text( $translated_text ) {
$text = 'Freshness' ;
if ( $translated_text == $text ) {
global $rlp_options;
$translated_text = $rlp_options['heading_label'];
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
The only problem now is that from the forum index view, the “Last Post” column will show the date of the most recent reply, even if there is a newer topic.
Is there a way to compare the dates and make sure the Last Post column displays the most recent topic or reply, whichever is newer?
Thanks!
Hi All,
I just created a really nice working table that I wanted to post as a sticky topic on my bbpress forums. I’m set up as an admin and have full html capabilities.
When I preview my html & css in Coda, it works great! Upon typing in the code as a new sticky topic, it is not inheriting any of the CSS styling.
Is this possible? I’m positive that styling and everything is done correctly. The forum just isn’t seeing it.
Thanks for the help.
– Boomer
I have the WP plugin “404 to 301” installed, which lists all 404 errors in a database.
I also have bbpress installed.
404-to-301 claims that every attempt to look at a forum users details such as
/forums/users/me/favorites
/forums/users/me/topics
etc…
are failing. I can surf to those pages just fine. Is this something bbPress is doing behind the scenes? Very strange.
Hi,
When searching through the forum and not being logged in, a message appears at the bottom saying you must be logged in to post a reply……
Is there any way you can send me the code, so that there is a direct link to the forum login from this message or next to the message.
bbPress version is up to date. and wordpress version is a unique one created by web dev company.
Thanks in advance for your help