Search Results for 'code'
-
Search Results
-
Topic: Forum form is not working
Hi,
I added forum form to the frontend with the help of shortcode “[bbp-forum-form]” to forum page. But when I submit forum, it will not saved and redirected me to other saved forum.
When I created sub-forum then it works fine.
Hi,All.
Is there a way to specify multiple tag IDs when display topics?
It’s a common-sense way of thinking↓
<?php echo do_shortcode('[bbp-single-tag id=777,111]'); ?>But this code did not work 🙁
I wonder what I should do.
Thanks.
Hi,
I used below code to add forum from frontend for Moderator user in my child-theme function file, but nothing works and showed on frontend.
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’ );Please help me to sort out this.
Hello,
Robin i added the tutor code to my functions file.As you can see in this link –> https://prnt.sc/l5mmhh i can see the role while editing users forum role.But the thing is when i try to give the user that Tutor role and save user profile.The forum role of the user is being -No roles for this forums- so i can’t give the custom role. Also i tried the other custom name functions thing.I created a role and gived it participant perms but couldn’t give that role to user too.
Hi,
I’d like to restrict the reply to 100 cases, but is there a way?
For example, I want to make it
.bbp-reply-to-link{display:none;}when comment becomes 100 or more.However, since only 15 replies are displayed on one page, JS can not count comments on loading.
So, It’s best if you can do that with PHP settings…
What should I do?
Thanks.

