Forum Replies Created
-
In reply to: Topic order not changing with new post
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
In reply to: Short code generated index is not formattedgreat – glad you are fixed
In reply to: Freshness Time Incorrectsorry, I have enough trouble Keeping up with 2.5.14 to look at 2.6 until it comes out !
In reply to: topic don’t show upI think the edit button appears for anyone with edit permission under wordpress – what wordpress level are they?
In reply to: Freshness Time IncorrectTry this – or much easier just add my style pack plugin to your site which has this fix built in, and let me know if it fixes
//filter to correctly return last active ID for sub forums //note : a parent forum or category can get the wrong last active ID if a topic in a sub forum is marked as spam or deleted. This filter ignores the parent and works out the correct sub forum //don't add if pg filter exists as this will have done it already if (!function_exists ('private_groups_get_permitted_subforums')) { add_filter ('bbp_get_forum_last_active_id' , 'rew_get_forum_last_active_id', 10 , 2 ) ; } function rew_get_forum_last_active_id ($active_id, $forum_id) { $sub_forums = bbp_forum_get_subforums($forum_id) ; if ( !empty( $sub_forums ) ) { $active_id = 0; $show = array(); //find the latest permissible foreach ( $sub_forums as $sub_forum ) { $sub_forum_id = $sub_forum->ID ; $active_id = get_post_meta( $sub_forum_id , '_bbp_last_active_id', true ); $last_active = get_post_meta( $sub_forum_id, '_bbp_last_active_time', true ); if ( empty( $active_id ) ) { // not replies, maybe topics ? $active_id = bbp_get_forum_last_topic_id( $sub_forum_id ); if ( !empty( $active_id ) ) { $last_active = bbp_get_topic_last_active_time( $active_id ); } } if ( !empty( $active_id ) ) { $curdate = strtotime($last_active); $show[$curdate] = $active_id ; } } //then add the forum itself in case it has the latest $active_id = get_post_meta( $forum_id , '_bbp_last_active_id', true ); $last_active = get_post_meta( $sub_forum_id, '_bbp_last_active_time', true ); if ( empty( $active_id ) ) { // not replies, maybe topics ? $active_id = bbp_get_forum_last_topic_id( $forum_id ); if ( !empty( $active_id ) ) { $last_active = bbp_get_topic_last_active_time( $active_id ); } } if ( !empty( $active_id ) ) { $curdate = strtotime($last_active); $show[$curdate] = $active_id ; } $mostRecent= 0; foreach($show as $date=>$value){ if ($date > $mostRecent) { $mostRecent = $date; } } if ($mostRecent != 0) { $active_id = $show[$mostRecent] ; } else { $active_id = 0; } } return apply_filters( 'rew_get_forum_last_active_id', $active_id, $forum_id ); }
ok, ignore my first response, you need to post this question in the buddypress support forum, as it relates to that
In reply to: Planning to install bbPress in my websiteno special bbpress themes, most themes work with bbpress, but you may want to use this to style the forums t match your theme and improve their look.
In reply to: Buddypress and BBpress Notificationsok, buddypress has it’s own support forum, and would be worth raising there.
are you also using bbp private groups?
In reply to: Buddypress and BBpress Notificationsbbpress uses subscriptions which are turned on in the forums settings.
Users who then subscribe to a forum are emailed notifications when a new topic is posted in that forum, and can then subscribe to the topic to receive notifications of replies.
Is this what you need, or can you come back with further info.
In reply to: How to set limits on the number of replies to topicsok, sorry I can’t say why it is not working on your site
In reply to: Create/add forum from frontendthe screenshot says that you are using buddypress and the buddypress profile as well, and that code is just for bbpress.
If you paste your reply immediately above on the buddypress support site, someone should be able to tell you the correct add_action to hook to buddypress profile
In reply to: WP Version2.5.14 is fine with 4.9.8.
Version 2.6 is due out at some stage.
In reply to: Can’t give users custom roles.ok, when I get a moment I’ll take a look
In reply to: Undefined index errorok, it is an issue with that plugin. Pascal is the plugin author
@casiepa can you debug this one ?In reply to: Create/add forum from frontendthe issue is with the ‘ the code has been copied via another program and is using the wrong ones
copy this below
function ntwb_bbp_forum_form() { if ( bbp_is_user_home() && current_user_can( 'moderate' ) ) { echo do_shortcode( '[bbp-forum-form]' ); } } add_action( 'bbp_template_after_user_profile', 'ntwb_bbp_forum_form' );
the form is shown on the moderators profile
In reply to: Undefined index errorcan you just (as a brief test) deactivate the toolkit plugin and see if the error goes away.
then come backIn reply to: Undefined index errorcan we have a bit more info? – eg is this all your site shows – errors and stops, or does it only appear on certain screens or when performing certain actions etc.
In reply to: Struggling with logingreat – glad you are fixed !
In reply to: Struggling with loginok, so using bbp-style pack (so make sure it is activated)
In
dashboard>settings>bbp Style pack>login
set both
Login menu item css class and Logout menu item css class
to
aad
then go to
dashboard>settings>bbp Style pack>custom css and put this in there
.aad { margin-top: 11.9px; }
if that doesn’t work, leave the code in there and come back
In reply to: How to install bbPress on Laravel Frameworksorry, bbpress works on worpdress
In reply to: Struggling with loginI am author of bbp style pack
Yes we should be able to fix where the login sites, but I need a link to your site to see a live example
In reply to: Wrong title on forums pageplease give example
In reply to: Delete Post by It’s OwnerI’ve just added functionality to bbp-style pack for participants to close their own topics – to set see item 17 in Topic/Reply Display tab to set this