Forum Replies Created
-
In reply to: Topic only visable for selected user
if user creates topic, iit is already assigned them
If you are creating topics, then you can amend the user in the topic backend
dashboard>topics>edit topic and you will see the topic author as you and can change.
In reply to: Topic only visable for selected userand look at the topic permissions settings, in particular
Create/Edit/view OWN Topics,
In reply to: Translating [bbp-forum-index] shortcode output.‘Associated Courses and Groups’ has nothing to do with bbpress.
I’d suspect it is either something in learndash, or something you have called a page in WP where the shiortcode is held, or a name you have given to something.
🙂
bbpress will not use it, so I’d say the answer is yes you can delete it.
But I’d suggest you export the table before deleting.
In reply to: Profile Pictures Stretchedno, I need to see what is being downloaded to your browser.
alternately :
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
In reply to: Profile Pictures Stretchedwould need a link to a live example please
the only bbpress related settings are the ones I quoted above.
on my test site
dashboard>settings>forums>forum user slugs>topics started
changes the topics list view.
so if I amend this to ‘dicsussions’ then domain.com/discussions/ works.
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