Forum Replies Created
-
In reply to: Where to start to change forum layout?
@alex198031 for create new topic go to
dashboard>settings>bbp style pack>forum buttons>item 1
In reply to: Where to start to change forum layout?@alex198031 dashboard>settings>bbp style pack>translations
In reply to: Where to start to change forum layout?In reply to: Where to start to change forum layout?This should be what you want
In reply to: Edit text “You cannot create new topics”🙂
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() == 2927
so 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=edit
2927 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.