Forum Replies Created
-
In reply to: BBCodes bbpress list?
I think they are pretty much as per the list above a topic/reply.
You can use this plugin to extend
In reply to: Users can’t reply to forumI’m probably the worst at buddypress, bbpress is my speciality.
May well be worth posting on the buddypres support forum
In reply to: Users can’t reply to forumhidden forums are usually only visible to moderators and keymasters.
Can you tell me why this is a hidden forum and are all users moderators and keymasters.
In reply to: Users can’t reply to forumso is it hidden or public at the moment ?
In reply to: Navigation & BuddyPress Group Feature RequestSorry – I can’t immediately see a better way.
I’m not a bbpress author, but to get code changed you’ll need to post in trac
In reply to: can we make bbpress work like facebook groups ?Nothing I know of dopes that, and not without a heap of bespoke code – sorry !
In reply to: Tracked Discussionsif you go into your profile you can see all then topics and replies that you have created
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetno problem – glad you are fixed !
In reply to: how do I remove first two parts of breadcrumb?could be various reasons why this is happening – you have also posted in my style pack support forum, so I’ll pick it up there.
In reply to: how do I remove first two parts of breadcrumb?my style pack plugin lets you amend breadcrumbs, including not showing the home breadcrumb.
after activation go to
dashboard>settings>bbp style pack>breadcrumbs
In reply to: Only social login membersbbpress just uses the worpress login.
On first login, users are given the default role on dashboard>settings>forums
so it should all be fine.
In reply to: Threading not workingok it works on bbpress with a twentyten theme – that’s all I can say.
Can you define down more what ‘not working’ means
Without a site to see, at the moment you are telling us that your car won’t work, but that’s all the information you give:-)
In reply to: bbp_reply_url not working for large topicsThat’s great, and the info on the site page helped greatly, particularly that bbp_get_topic_reply_count() has a number with the comma in it.
Replies are stored in the wp_posts table. The code creates an entry for the reply order in ‘menu_order’ where there is none, which is what I hoped my filter was fixing. But if the entry has already been created, then it just uses what is in the database. So when you look at a reply, if it has no entry it creates one and then uses that. So by merely looking at a reply you can alter the database! That may explain your funny but strange fact – just by examining an entry you may be changing what is stored !
Where the reply appears in the display is held in that table under ‘menu_order’
so I suspect that for instance reply id 119119 – which I looked at – has a bbp_get_topic_reply_count() value of 1,062.
Can you check the entry in phpmyadmin
SELECTmenu_orderFROMwp_postsWHEREID= '119119'and see if the entry reads 1,062 or 1062 or 0 !
That will get us further forward
In reply to: Copy Link in Forum. WP logo insidethis isn’t a bbpress thing – wordpress does this for comments, and bbpress just hooks to that.
A quick google found this which shows you how to change the files.
https://www.ostraining.com/blog/wordpress/embed-theming/
sorry – writing a specific solution for you is beyond free help.
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetcreate a directory on your child theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your child theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.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/themes/%your-theme-name%/bbpress/content-statistics.php
bbPress will now use this template instead of the original
and you can amend thisso copy this file to your PC and open it up.
then remove lines 37-40 which say
<dt><?php _e( 'Topic Tags', 'bbpress' ); ?></dt> <dd> <strong><?php echo esc_html( $stats['topic_tag_count'] ); ?></strong> </dd>and save the file back to your website at wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
and yes being a child theme change it won’t get overwritten.
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetdo you know how to change a file and ftp this to your site?
If so I’ll give you instructions
In reply to: Maximum Number of Posts Per Thread Page?I’d suggest that something else is disrupting the setting
It could be a theme or plugin issue
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 twentyfifteen, and see if this fixes.
Then come back
In reply to: Notification from bbpress to buddypresssuggest you also post in
In reply to: Buddypress notificationsprobably a buddypress question, have you posted in their forum as well ?
In reply to: bbp_reply_url not working for large topicsps if it doesn’t, do you have phpmyadin access?
In reply to: bbp_reply_url not working for large topicsMuch of this is written so that I can come back to it in future, so bear with me!!
IF YOU JUST WANT THE ANSWER – IGNORE THIS SECTION
bbp_reply_url() calls bbp_get_reply_url.
This function does maths by dividing the reply position by the number of replies per page in /includes/replies/template on line 487
$reply_page = ceil( (int) bbp_get_reply_position( $reply_id, $topic_id ) / (int) bbp_get_replies_per_page() );bbp_get_reply_position gets the menu order in line 1742
$reply_position = get_post_field( 'menu_order', $reply_id );Now I’m not sure if this reply position is comma separated, or if it is blank, then the rest of this function is adding a comma. The remainder of then function calls bbp_get_reply_position_raw which is in /includes/replies/functions
this calls bbp_get_topic_reply_count, and in this function I think we have the issue.
The function is in /includes/topics/template but in includes/core/filters.php
we have a hook in line 177 which has
add_filter( 'bbp_get_topic_reply_count', 'bbp_number_format', 10 );‘bbp_number_format’ by default pouts the 000’s comma separator in.
so if we remove this filter it should work.
END OF…..IF YOU JUST WANT THE ANSWER – IGNORE THIS SECTION
So try this in your functions file
add_action('plugins_loaded', 'rew_fix_reply_numbers'); function rew_fix_reply_numbers () { remove_filter( 'bbp_get_topic_reply_count', 'bbp_number_format', 10 ); add_filter( 'bbp_get_topic_reply_count', 'rew_number_format', 10 ); } function rew_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = '' ) { // If empty, set $number to (int) 0 if ( ! is_numeric( $number ) ) $number = 0; return apply_filters( 'rew_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep ); }Let me know either way if this works !!
In reply to: loop-topics-1234.php not possible in BBPress?sorry – in a word – No. 🙂 I’m not a bbpress author, but the template hierarchy is optional not mandatory viz
‘With the exception of the basic index.php template file, you can choose whether you want to implement a particular template file or not.’
Conditional tags will provide a perfectly good solution, and are a recommended alternative viz
‘You can also use Conditional Tags to control which templates are loaded on a specific page.’, so yes that will be the root to go.
In reply to: Need help to add social login to bottom of BBpressthanks
Nice looking site – well done !
In reply to: Need help to add social login to bottom of BBpresswould be great to post the solution here to help others asking the question in future