Forum Replies Created
-
In reply to: bbpress.pot is missing line
yes 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
ok, try adding this plugin
Great – glad you’re fixed, and thanks for posting what you did, this will help anyone looking at this thread !
In reply to: Forum Roles Explanation?No problem – it’s not obvious in the docs – on my list to fix !
can you tell me what your permalink setting is
dashboard>settings>permalinks
In reply to: Forum Roles Explanation?I can only suggest that you create a new topic using your programme
Then I’d look at everything in the database in wp_posts & wp_postmeta that has that ID
Take a copy of all of this
Then hit the update in the backend and see what has changed