Forum Replies Created
-
In reply to: 404 error in breadcrumbs (topic)
🙂
In reply to: Edit text “You cannot create new topics”just can just add it to the other one
add_filter( 'gettext', 'rew_change_must_be_text', 30, 3 ); function rew_change_must_be_text( $translated_text, $text, $domain ) { if ( $text == 'You must be logged in to create new topics.' && bbp_get_forum_id() == 2927 ) { $translated_text = 'new text here' ; } if ( $text == 'You cannot create new topics' && bbp_get_forum_id() == 2927 ) { $translated_text = 'new text here' ; } return $translated_text ; }🙂
in this part
bbp_get_forum_id() == 2927so for your forum, go to
dashboard>forums>all forums and select ‘edit’ of the forum you want
At the top of your browser in the url bat you will see
http://mysite.com/wp-admin/post.php?post=2927&action=edit2927 is the number of that forum, in my case 2927
In reply to: Quote Function and See Only Author Functionso is each chapter a topic, or the first chapter a topic and then each chapter a reply?
In reply to: Create widgetarea/html field under topicI’m just a guy sat in his kitchen trying to help others – I’m not a bbpress author – I do plenty for free – just look through the posts 🙂
but this one would need a bunch of work.
contact me via :
In reply to: Create widgetarea/html field under topicis doable but beyond free help – sorry
sorry, late in the day when I looked at this. change the forum id and text you want below to the one you want. if you want it blank, then
$translated_text = ''add_filter( 'gettext', 'rew_change_must_be_text', 30, 3 ); function rew_change_must_be_text( $translated_text, $text, $domain ) { if ( $text == 'You must be logged in to create new topics.' && bbp_get_forum_id() == 2927 ) { $translated_text = 'new text here' ; } return $translated_text ; }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: Filter topics by user in WP adminI’ve added a filter to forums, topics and replies in style pack 5.1.9 see sundry item 2
In reply to: Quote Function and See Only Author FunctionIn reply to: Auto Subscribing New Members to a forumI pulled that function from toolkit and added it to my style pack plugin.
once activated go to
dashboard>settings>bbp style pack>subscription management
In reply to: Limit replies per day per user?looks ok, sorry can’t say why it is not working.
In reply to: Replacing Favorite Text🙂
In reply to: Forum load upon loginyou would need to raise this on
https://wordpress.org/support/plugin/bbpress-login-register-links-on-forum-topic-pages/
In reply to: Forum load upon loginlooking at the login link, I’d guess you are using
so it would be a setting in there.
/*BBPRESS Favourite Filter*/ function rkk_subscribe_link($args) { $args['favorite'] = esc_html__( 'Favourite', 'rkk' ); $args['favorited'] = esc_html__( 'Unfavourite', 'rkk' ); return $args; } add_filter('bbp_before_get_topic_favorite_link_parse_args', 'rkk_subscribe_link' );In reply to: Replacing Favorite Text$args['Favorite']should be$args['favorite']no capital F !so
/*BBPRESS Favourite Filter*/ function rkk_subscribe_link($args) { $args['favorite'] = esc_html__( 'Favourite', 'rkk' ); $args['favorited'] = esc_html__( 'Unfavourite', 'rkk' ); return $args; } add_filter('bbp_before_get_topic_favorite_link_parse_args', 'rkk_subscribe_link' );In reply to: Link back to forum from individual Topic post pagesorry, I don’t know what didn’t work, the whole thing or the link?
In reply to: bbPress & ProfileGridsorry, I have no working knowledge of profilegrid, so cannot help.
In reply to: Show topic & reply count on user admin screen?added in the ‘sundry’ tab in style pack 5.1.8
In reply to: Repair tool with cronsorry, I can’t say why that would not work.
In reply to: Link back to forum from individual Topic post pagewp-content/themes/%your-theme-name%/bbpress/content-single-topic.php
glad you are fixed and thanks for posting your solution 🙂
In reply to: Repair tool with cronYou need to get this working within Cron.
2 choices
1. pay someone to write a plugin specifically for you to use cron to do this
2. use a cron plugin such as https://wordpress.org/plugins/advanced-cron-manager/ and add the tasks in thereI suggest you go for option 2 – free and would probably be much better