Forum Replies Created
-
In reply to: Fatal error: ob_end_flush()
try the following to se if you can pinpoint a conflict in live
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.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
yes – functions.php in your parent theme will be the place, BUT keep a record of what you have changed, as you’ll lose this on any theme updates, and will need to add it back after upgrade !
In reply to: Plugin Disappeared on WordPress Dashboardgreat – glad you’re fixed, something conflicting, but at least you have a resolution even if we don’t know definitively what the problem was !
In reply to: Fetch Topics of Particular Forumno problem, and thanks for letting us know the solution – I’ll remember it for future and look to change the website
In reply to: how to make bbpress categories and forums as pagesPage id – go to
Dasboard>forums>all forums
Hover over the edit button of the forum, but do not click.
you will see in the bottom left the url of that forum with forum=xxx that is the number
In reply to: Fetch Topics of Particular ForumIt did not work for me.
Please describe what you mean by this and exactly what you put into the page?
In reply to: Smaller content in repliesgreat – glad you’re fixed !
In reply to: Editing the "Freshness" column contentsLike many plugins the documentation is not great, and as a humble user I have added to it as I have learnt, a good deal of the documentation is mine.
bbpress is a complex plugin, and I sympathise that it is not great to grasp.
With templates, all functions are written to allow you to filter what is there, this is a standard wordpress/php process, so you’re sort of expected to know about it as part of wordpress! I did try to explain it in
you can filter many bbpress functions using ‘parse args’ capability – a standard wordpress technique or just filter the whole function, you’ll see a return apply_filters in all template functions and this is the hook that you use.
so for you you could us the code in your other post
If you’d like to help with documentation, just find where something is poor and write what you think it needs changing to, it is newcomers like you that can really help improve what is there
In reply to: Smaller content in repliesIn reply to: how to make bbpress categories and forums as pagesjust use shortcodes
https://codex.bbpress.org/shortcodes/
in particular
[bbp-single-forum id=$forum_id]In reply to: Display the last topic updated in the forums loopput this in your functions file
function rw_custom_freshness_link( $forum_id = 0 ) { $forum_id = bbp_get_forum_id( $forum_id ); $active_id = bbp_get_forum_last_active_id( $forum_id ); $link_url = $title = ''; if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_reply_id( $forum_id ); if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_topic_id( $forum_id ); if ( bbp_is_topic( $active_id ) ) { $link_url = bbp_get_forum_last_topic_permalink( $forum_id ); $title = bbp_get_forum_last_topic_title( $forum_id ); } elseif ( bbp_is_reply( $active_id ) ) { $link_url = bbp_get_forum_last_reply_url( $forum_id ); $title = bbp_get_forum_last_reply_title( $forum_id ); } $time_since = bbp_get_forum_last_active_time( $forum_id ); if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_attr( $title ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'rw_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id ); } add_filter('bbp_get_forum_freshness_link', 'rw_custom_freshness_link' );In reply to: Avatars in widget 2012great – glad you’re fixed
In reply to: Fetch Topics of Particular ForumIn reply to: layout problem with bbpress@robkk – no evidence myself that bbpress has wamp or mamp issues, but have seen it quoted occasionally by others – probably is a red herring !
In reply to: layout problem with bbpressPresume you have been through
and
bbpress is not great on mamp or wamp, is this what you mean by localhost.
In reply to: Display the last topic updated in the forums loopNo sorry I still don’t understand what you are currently seeing and what you want to see?
Please show the existing and presume the above is the new?
In reply to: Need help with custom roles@bob1nz
How can I assign non-standard bbpress roles with custom capabilities to non standard wordpress roles also with custom capabilities using the map so this is performed dynamically?Sorry, but without major involvement in looking at this and how it is interacting with whatever plugins you are using, I cannot quickly come up with an answer.
If you want me to take a professional look after xmas, contact me via my website
@boertje – suggest you start your own threadIn reply to: Delay in posts showingIf you get an answer from your host providers, do come back and post as this will help others.
In reply to: Active Directory Intergration?bbpress uses the default wordpress user setup, but adds a bbpres role to the wp-capabilities in user_meta.
So as long as there is a wp_user then on first login by that user bbpress will allocate the default bbpress role as set in Dashboard>settings>forums.
In think this plugin might be your solution, as it seems to create and update wordpress via AD
https://wordpress.org/plugins/active-directory-integration/
and then bbpress will use that wordpress database to add the role.
In reply to: Delay in posts showingNothing in wordpress that I iknwo of.
Are you using a spam filter?
I’d also suggest you talk to your host provider – they’re usually very helpful, and it might be something in your setup ion the server
In reply to: Only can reply admin userYou’d need to modify
wp-content/bbpress/templats/default/bbpress/form-reply.php
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/bbpress/templats/default/bbpress/form-reply.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the originalyou should really do this inside a child theme
but if you do it in your main theme, keep a copy of what youb have done as updates are likely to overwrite
The you would need to modify line 20
<?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>to put in a check to see if it’s current user
It’s too near xmas, and I have too much else on to write and test the code but it will involve bbp_get_currect_user and the topic author $user_id
In reply to: Need help with custom rolesThe bbpress function is
$role_map[‘admin’]= bbp_get_user_role( $user_id );
For the standard roles you will end up with
bbp_keymaster
bbp_moderator
etc.as that’s how they’re stored in the database,
In reply to: Delay in posts showingIf you (or someone else) haven’t installed some caching software as a plugin, then you won’t have it.
What sort of delay are we talking about? minutes, hours, days?
In reply to: What are shortcodes? How do I use them?No problem!