Forum Replies Created
-
buddyboss is a paid plugin that ties to the free open source bbpress and buddypress plugins. As such I can’t help further, suggest you contact their support.
In reply to: Template in Block Themes?thanks – I’ll take a look 🙂
should be
dashboard>settings>forums>forum single slugs>topic
or
dashboard>settings>forums>forum user slugs>topics started
I presume you have ‘anyone can register’ ticked in :
dashboard>settings>general>membership – that will let anyone join, and at that stage you cannot know if they are real or not, so no automatic way to prevent.
I’d suggest you move to a closed registration, so that you can manually join people.
as for getting rid of those in there – you would need some code which would look for all users who have not made a forum post, but this might delete genuine users, so without a forumla to work out who is real or not, it would be hard to code/
In reply to: Limit replies per day per user?🙂
In reply to: Limit replies per day per user?you could add this to change the wording
function change_translate_text( $translated_text ) { if ( $translated_text == 'You cannot reply to this topic.' ) { //set limit $limit = 5 ; //get replies for today $user_id = get_current_user_id() ; $reply=bbp_get_reply_post_type() ; $today = getdate(); $args = array( 'post_type'=> $reply, 'order' => 'ASC', 'orderby' => 'ID', 'post_status' => 'publish', 'posts_per_page' => -1, 'post_author' => $user_id, 'date_query' => array( array( 'year' => $today['year'], 'month' => $today['mon'], 'day' => $today['mday'], ), ), ); $the_query = new WP_Query( $args ); $count = $the_query->found_posts; if ($count>=$limit) $translated_text = 'You have exceeded the number of replies you can post in a day' ; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
In reply to: Limit replies per day per user?Just written this – should work
add_filter ('bbp_current_user_can_access_create_reply_form' , 'rew_limit_replies') ; function rew_limit_replies ($retval) { //set limit $limit = 5 ; //get replies for today $user_id = get_current_user_id() ; $reply=bbp_get_reply_post_type() ; $today = getdate(); $args = array( 'post_type'=> $reply, 'order' => 'ASC', 'orderby' => 'ID', 'post_status' => 'publish', 'posts_per_page' => -1, 'post_author' => $user_id, 'date_query' => array( array( 'year' => $today['year'], 'month' => $today['mon'], 'day' => $today['mday'], ), ), ); $the_query = new WP_Query( $args ); $count = $the_query->found_posts; if ($count>=$limit) $retval = 0 ; return $retval ; }
Just amend the line ‘$limit = 5 ;’ to whatever number you want
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Disappearance of the menuum, not sure this is the same problem.
can you give a link to an example please
In reply to: Forum has blank pagesgreat – glad you are fixed !!
In reply to: Forum has blank pagesok, if this is a block theme then come back, otherwise take a look at
section 8 and look at this link which gives a template
In reply to: Forum has blank pagesso this is a custom theme you are building?
In reply to: Display curent forum in topic pageor you could just display the bbpress breadcrumb by by changing the css file, or putting this in the custom css
.bbp-breadcrumb { display: block !important; padding-top: 20px; }
In reply to: Display curent forum in topic pageyour theme is hiding the bbpress breadcrumbs in
https://renaloo.com/wp-content/themes/digiqole-child/assets/css/custom.css line 2281
This function will add a reference to the breadcrumb
add_action ('bbp_template_before_single_topic' , 'rew_forum') ; function rew_forum () { echo '<div class="rew_forum">' ; $topic_id = bbp_get_reply_topic_id() ; $forum_id = bbp_get_topic_forum_id() ; echo '<a href="' . esc_url( bbp_get_forum_permalink( $forum_id ) ) . '" class="bbp-breadcrumb-forum">' . bbp_get_forum_title( $forum_id ).'</a>' ; echo '</div>' ; }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Display curent forum in topic pageis your site not displaying breadcrumbs?
In reply to: Display curent forum in topic pagethe whole forum or just the title?
above below?
example please
In reply to: Forum has blank pagesthe 2022 wordpress theme is a block theme, and doesn’t support bbpress out of the box.
Install
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
In reply to: 404 Error When people try to access the forumit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: 404 Error When people try to access the forumdashboard>settings>permalinks and just click save – this resets the permalinks and may help
In reply to: Pending Post Notification EMail🙂
In reply to: Next Forum nav links incorrectlink to an example please
In reply to: Pending Post Notification EMailfollowing closure of the ‘bbPress – Moderation Tools’ plugin, I added this code to my style pack plugin
once activated you’ll find the moderation tools in
dashboard>settings>forums
In reply to: Error when subscribing to Forum/Topichow have you enabled the html toolbar?
In reply to: Error when subscribing to Forum/Topic1 & 2
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
3. bbpress follows the rules in dashboard>settings>discussion
In reply to: The number of posts of a user remains at zerodashboard>tools>forums>repair forums and run as needed
In reply to: Remove bullets from bbPress Pagethanks,
The best I can do is
.cnt article ul li:before { display: none !important ; }
but this will I think take bullet points out everywhere, including your main site.