Hi guys, I’m having a website agency company in Vietnam which have a simple introduce website ( not too much function on it ) and I’m planning to have:
– Support ticket: my customer will submit a ticket here
So, making a forum good for this case?
this <div id=”bbpress-forums”> is used in several places – if you can describe where you want to add, I can probably find the right hook for you.
Most of the hooks are in the templates, located in
templates/default/bbpress/
the main forum uses
content-archive-forum.php
which has an action hook of
‘bbp_template_after_forums_index’ so if it just the main forum list then
add_action( 'bbp_template_after_forums_index' ,'after_content_hook');
#
would work
I am trying to add a hook after the <div id=”bbpress-forums”>
when I try this hook it does not work..
function after_content_hook(){
echo "my content";
}
add_action( 'bbp_after_main_content','after_content_hook');
is this hook only available for Twenty Twelve theme?
can we add a hook after the id=”bbpress-forums” ?
I have a WordPress multisite (4.8.1) with a bbPress forum (2.5.13). The php.errors.log show a memory leakage (PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) ).
I have inactivated the plugins one after the other and it seems that bbPress is causing the leakage.
In the wp-config.file it stands:
define( ‘WP_MAX_MEMORY_LIMIT’ , ‘512M’ );
In the .htaccess-file it stands:
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 300
php_value max_input_time 300
php_value memory_limit 768M
Is memory leakage a common problem in bbPress? How do I solve the memory problem without leaving this forum plugin?
bbpress default role is only allocated on first user login, so users who register but haven’t yet logged in will show as having no role
For some reason some users get registered without an assigned forum role, like 50% maybe. When I try to change the forum role of a group of users it does not work, I have to open each user page individually and change it, and that is a PITA when you have hundreds of accounts that need to be changed. Using bbPress 2.5.13 and WordPress 4.8.1, also installed BuddyPress
Hey,
Sorry, I know that this topic have almost 3 years old, but I have a solution.
I’m going to add here in case there is more people looking for the same.
I have found this code to place badges (achievements) under user avatar in bbpress:
add_filter( 'bbp_get_reply_author_link', 'my_append_badges_via_filter', 10, 2 );
function my_append_badges_via_filter($author_link = '', $args) {
# Needed to get the user ID of the person intended to be displayed.
$user_id = bbp_get_reply_author_id( $args['post_id'] );
#Construct your output here.
$badge_output = '';
$achievements = badgeos_get_user_achievements( array( 'user_id' => $user_id ) );
if ( !empty( $achievements ) ) {
$badge_output .= '<div class="achievements">';
foreach ( $achievements as $achievement ) {
if($achievement->post_type != 'badges')
continue;
$badge_output .= '<div class="achievement achievement-' . $achievement->post_type . '">';
//echo '<h2>' . get_the_title( $achievement->ID ) . '</h2>';
$badge_output .= get_the_post_thumbnail( $achievement->ID, 'thumbnail', array('title'=>get_the_title( $achievement->ID ) ) );
//echo __( 'Earned on: ', 'text-domain' ) . date( get_option( 'date_format' ), $achievement->date_earned ) ;
$badge_output .= '</div>';
}
$badge_output .= '</div>';
}
return $author_link . $badge_output;
}
To make badge smaller I added this CSS code:
.achievement.achievement-badges{width:50px;}
But the code is not perfect. Because is not showing badges only under avatar, is also showing at:
– forums main page
– forum page
– above topic (information bar)
Would be great too if have:
– link in badges to archivements tab page
Can someone help me with this? 🙂
Thanks!!
bbpress doesn’t hold stuff for moderation – suggest you have another plugin doing this !
@vinod Thanks for your reply I have logged this with MailChimp also.
When I disable the bbpress plugin mailchimp works fine. Is this not a bbpress issue to fix?
We are using bbpress 2.5 on WordPress 2.8.1. We are using bbPress for both the WordPress Comments/Replies and a regular forum.
When creating a topic in the regular forum, I see that all the replies appear above the original post. We need the original post to stay on the top for the forum.
How can we accomplish this?
Thank you.
@philipjohn
I blogged about this little tweak too and someone has just posted an edit to display a friendly message instead of the standard “not found” which sort of completes it 🙂
http://philipjohn.co.uk/2011/11/14/hiding-bbpress-topics-from-logged-out-users/#comment-1885
This above link is not working, can you pls share the correct link to that post of yours?
I created a forum, but when I click on “all forums” to edit my forum, I get a “This page isn’t working” error.
I have already tried to resave my permalinks, but the problem still exists.
I am using the Kleo theme, but the problem still exists when using theme twenty twelve and any theme I try.
Using bbpress Version 2.5.13
Wordpress Version 4.8.1
Good job @gdragon!
I saw your bbpress plugins and all of them looks useful for a bbPress Community…
Good Luck!
Regards,
The best thing about SEO in bbPress is the permanent slugs that also you can modify for your needs… besides that, there are not to much options.
I guess you can’t modify or add keywords or meta descriptions for topics with Yoast.
We get this error when we try to access it from the URL string
“Sorry, you are not allowed to access this page.”
We checked all the Role permissions and Admin has complete access to bbpress.
????????
Help, Robyn
Hi! It appears that my forum participants can write posts. They can even write a reply. However, they can’t read the actual post or even the replies. When they click on the post to read, it takes them directly to reply. None of the post is visible.
I have installed bbPress correctly within Optimize Member. I am using GeneratePress as the theme. I tried swapping out to Twenty Seventeen – same issue.
As a keymaster, I can read and edit posts and replys from the dashboard. I have looked for a possible need for an approval from a Moderator. Nope. What am I missing?
Any help would be fabulous!
Anybody know how I can achieve this using the CBX USER Online plugin as it already has a feature to display the amount of users currently viewing a page so I’m thinking it would just have to be edited for bbpress forums and topics instead of a page. It seems relatively simple but I just don’t have the coding knowledge to pull this off.
Thank you for your quick replies. I hope @jjj, @netweb or @mercime will also reply here soon.
The bbPress users need much help and i want to provide helping hand here but not sure how muxh more time i have to wait to do that.
@sovvyg Please delete and reinstall the latest version of bbPress plugin. Also please clear the autoptimize cache that you are using on your site.
This can be your theme issue so to confirm it just temporary use the default WordPress theme like Twenty Seventeen on your site. If everything works fine then it’s your theme issue.
@fdarn Are you using this [bbp-forum-index] shortcode?
I have tested it on my test site using bbPress version 2.6-rc-3 and it is working fine for me.
probably start here
Custom Import
I started with bbpress and a snitz database – here is what I wrote as I went along which whilst you can skip the access database stuff might help you
Documented import from snitz access database