Forum Replies Created
-
In reply to: widget side
ok, if you can’t get the right sidebars to show, just have one sidebar and use widget logic to decide what widgets show in which pages
https://wordpress.org/plugins/widget-logic/
then for each widget there is a widget logic box
put
is_bbpress() if you want that wiodget to appear in forums
!is_bbpress if you want it to appear in pages other than forums
and leave blank for bothIn reply to: wrong sidebar on topics pageIn reply to: widget sideThe link you gave
Sidebar on left for Forums, then right for Forum and Topic – Why?
had this as his solution
Just swap the floating elements from left to right, where content becomes right and sidebar becomes left. Remember to end with the !important to override any other CSS. Code is thus:
.bbpress.single-forum #main #content {float:right!important;} .bbpress.single-forum #main #sidebar {float:left!important;} .bbpress.single-topic #main #content {float:right!important;} .bbpress.single-topic #main #sidebar {float:left!important;}
You need to put the code in your style.css
In reply to: widget sideI meant adding his code to the style.css ?
In reply to: bbpress.pot is missing lineif it still doesn’t work, come back and when I get a moment I’ll try it in my test site
In reply to: widget sideDid you try his solution?
In reply to: bbpress.pot is missing lineyes in your functions file !
In reply to: bbpress.pot is missing lineI just looked and it’s actually in the code as
<strong>ERROR</strong>: Your topic needs a title.
and the translate works on exact !
which might explain why it didn’t work in the pot
you can try it as one phrase, and if that doesn’t work, then make it two
ie
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == ‘ERROR:’ ) {
$translated_text = ‘CHYBA:’;
}
if ( $translated_text == ‘Your topic needs a title.’ ) {
$translated_text = ‘Vaše téma musí mít název.’;
}return $translated_text;
}
add_filter( ‘gettext’, ‘change_translate_text’, 20 );The same is probably true of the POT file, so you try all that there first !
In reply to: bbpress.pot is missing lineI hope the theme authors read this.
In the meantime either add it manually and keep a note
or add this to your functions file
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'old text' ) { $translated_text = 'new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
just put the old and new words to change ‘old test’ and ‘new text’
In reply to: bbpress rankingyou’d add this code in the theme function`’s files
In reply to: bbpress rankingYou cuurentl show the bbpress user roles under the avatar on each topic/reply
you can either change the display name or add new roles to achieve this
see
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
In reply to: Topics do now showIt 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 twentytwelve, and see if this fixes.
Then come back
In reply to: Topics do now showDo they show in
Dashboard>topics?
In reply to: When I post a topic I get error404 pagegreat – glad you’re gixed
In reply to: BBPress | Consant Contact Plugin issueyes you’ll need to enable debugging and have a play to see where the error is
see
In reply to: widget sideIn reply to: Changing breadcrumbs from "topics" to "forums"hmmm… something is changing that
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 twentytwelve, and see if this fixes.
Then come back
In reply to: One automatic private Forum per User🙂
In reply to: Changing breadcrumbs from "topics" to "forums"is this just a name change?
if so, add this to your functions file
add_filter( 'bbp_get_breadcrumb', 'change_breadcrumb_text' ); Function change_breadcrumb_text ($trail) { $trail = str_replace ('Topics','Forum Index',$trail) ; return $trail ; }
In reply to: Forum Roles Explanation?Now added
In reply to: One automatic private Forum per UserGreat – and thanks for coming back. Have you managed to achieve this? or is it still work in progress ?
ok, hope you find a solution
In reply to: Paginationyour theme is putting in a <br> between each of these, don’t know why !
You might do better with
https://wordpress.org/plugins/bbp-private-groups/
This will block backdoors, such as directly entering the url of a forum, finding stuff in search, and allow the use of widgets.
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 twentytwelve, and see if this fixes.
Then come back