Forum Replies Created
-
In reply to: Edit bbpress notification
yes, it is only already declared because I used the same function name.
Just combine the two and you get
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == '%s ago') { $translated_text = '%s'; } if ( $translated_text == 'This forum contains %1$s and %2$s, and was last updated by %3$s %4$s.' ) { $translated_text = 'This elephant contains %1$s and %2$s, and was last giraffed by %3$s %4$s.'; } if ( $translated_text == 'This forum contains %1$s, and was last updated by %2$s %3$s.' ) { $translated_text = 'This elephant contains %1$s, and was last giraffed by %2$s %3$s.'; } if ( $translated_text == 'This forum contains %1$s and %2$s.' ) { $translated_text = 'This elephant contains %1$s and %2$s.'; } if ( $translated_text == 'This forum contains %1$s.' ) { $translated_text = 'This elephant contains %1$s.'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
In reply to: Сascading style sheets (CSS) for bbpressIn reply to: Users unable to edit forum postsGreat thanks – it should work, just I haven’t tested !
In reply to: Edit bbpress notificationit’s in
/includes/forums/template.php
lines
1987, 1995, 2007, 2017
You could probably filter it by
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'This forum contains %1$s and %2$s, and was last updated by %3$s %4$s.' ) { $translated_text = 'This elephant contains %1$s and %2$s, and was last giraffed by %3$s %4$s.'; } if ( $translated_text == 'This forum contains %1$s, and was last updated by %2$s %3$s.' ) { $translated_text = 'This elephant contains %1$s, and was last giraffed by %2$s %3$s.'; } if ( $translated_text == 'This forum contains %1$s and %2$s.' ) { $translated_text = 'This elephant contains %1$s and %2$s.'; } if ( $translated_text == 'This forum contains %1$s.' ) { $translated_text = 'This elephant contains %1$s.'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
in your functions file
In reply to: Users unable to edit forum postsI believe the following in your functions file should work
function no_edit_lock($retval, $cur_time, $lock_time, $post_date_gmt){ return false; } add_filter( ‘bbp_past_edit_lock’, ‘no_edit_lock’, 1, 4);
Please come back and tell us if it does !
In reply to: Profile Page visible to non-logged-in visitorsIt should still work.
can you tell, me what your theme is?
In reply to: Users unable to edit forum postsIn reply to: Users cannot edit profileIn reply to: BBpress and theme compatiblityIn reply to: Users cannot edit profileI presume they are logged in already?
In reply to: Forum & Thread Titles Duplicated1. Use mu plugin https://wordpress.org/plugins/bbp-style-pack/ to alter
2. This is a css issue which I am not the person to fix !In reply to: My Forum isn’t displaying correctlyNo, do you have any idea why i can’t see topics below Forum names?
What you are seeing is the list of forums, you then click a forum to see the topics for that forum.
if you want each forum to have then topics below it, then use shortcodes within a page
[bbp-single-forum id=$forum_id]
[bbp-single-forum id=$forum_id]
[bbp-single-forum id=$forum_id]see
https://codex.bbpress.org/shortcodes/
or use the shortcodes from
https://wordpress.org/plugins/bbp-style-pack/ in a page
Also i was wondering how i can order Forums by some hierarchy?
If not using the shortcodes above, then use dashboard>forums>all forums and edit a forum. On the right hand side you’ll see ‘parent’ and ‘order’ boxes that let you build a hierarchy
In reply to: Log In, Register and Lost Password buttonsGreat – glad you’re fixed !
fro anyone looking at this
https://wordpress.org/plugins/bbpress-login-register-links-on-forum-topic-pages/
In reply to: My Forum isn’t displaying correctlyHave you fixed your issue, as the site looks as I would expect it to.
In reply to: bbpress under page/postyou can have a page and then put at the bottom the shortcode
[bbp-single-topic id=$topic_id] – Display a single topic. eg. [bbp-single-topic id=4096]
In reply to: Forum & Thread Titles DuplicatedSorry, been busy with other things – thanks for the reminder.
Having taken a second look, I think boith are coming form your theme, not bbpress.
I can’t hide the first one, as it is also used by other post enturies on the site, so suggest you lose the blue one, for which you need to put the following in your style.css
see
.entry h1 { visibility: hidden !important; }
You might need to check that this doesn’t affect anything else – I can’t see that it did – worse case is that you would not see a blue title, so if you have any others in the site this might affect them.
In reply to: Forum & Thread Titles DuplicatedYes, one is from your theme, and one from bbpress.
which one do you want to lose?
In reply to: Change breadcrumb for groupsgreat – thanks for posting.
In reply to: Problem with page title wrappersuggest you refer to the theme provider.
In reply to: How to hide the word “ago” from freshness…try adding this to your functions file
function change_translate_text( $translated_text ) {
if ( $translated_text == ‘%s ago’) {
$translated_text = ‘%s’;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘change_translate_text’, 20 );In reply to: Cutom topic headingsThere is no right term !
This is just a bunch of code in a programme, topic heading is probably the best you’ll get
I’d just create then in the order you want them to appear
In reply to: bbPress private groups Plugin could not be activatedResponded to on my plugin site
In reply to: Release: bbPress Advanced StatisticsHey great – well done Geekserve !