tapiohuuhaa
Forum Replies Created
-
Forum: Plugins
In reply to: [bbp style pack] New content to the bottom of the pageSeems that we misunderstood each others.
I mean by ppPress content all bbPress-related content.
If that is just not now possible, I propose if you could in future some way to add content after forum listing (forums page) or after the post form (all pages, which has the post form).
That could be used simple form but for advanced users also using the Code Snippets plugin. That however needs some knowledge about PHP encoding.
Simple form does need just HTML-knowledge, if HTML has been added.The idea of some text after the post form or bottom breadcrumbs is to give some generic information especially about registration and advances of registration (like I have done in Finnish). With CSS that information can also easily hide from people, who have logged in.
Forum: Plugins
In reply to: [bbp style pack] New content to the bottom of the pageSorry that did something. It added text after individual
comment like a signature.Something similar just after or before the bottom breadcrumb would be nice.
Forum: Plugins
In reply to: [bbp style pack] New content to the bottom of the pageI put the last as a code snippet using the Code Snippets plugin but it didn’t do anything.
Forum: Plugins
In reply to: [bbp style pack] bbpress forum header and data wrapsForum use lists instead of tables. The main idea is that in narrow screens some elements go to another row.
But in wide screen going to several rows is bad.
I have experiences some difficulties with lists
https://www.sanaristikkofoorumi.net/wordpress/forums/forum/sanaristikot/The problem is that some texts goes to several rows. When I tried to make something for items, which have the class “bbp-topic-voice-count” (problem with the word “Kirjoittajia”) I met always problems.
Maybe “>>” mess somewhat behavior?
Forum: Plugins
In reply to: [bbp style pack] New content to the bottom of the pagehttps://www.sanaristikkofoorumi.net/wordpress/forums/topic/suomen-kuvalehti-36-2018/
you can see the idea – instead of repeating some text in signature I added some text after breadcrumbs.
I did this bad way:
if (!empty ($bsp_breadcrumb[‘repeat’] )) {
add_action( ‘bbp_template_after_forums_index’ , ‘bsp_add_breadcrumb_bottom’);
add_action( ‘bbp_template_after_single_forum’ , ‘bsp_add_breadcrumb_bottom’);
add_action( ‘bbp_template_after_single_topic’ , ‘bsp_add_breadcrumb_bottom’);
}function bsp_add_breadcrumb () {
bbp_breadcrumb();}
function bsp_add_breadcrumb_bottom () {
$mytext=’my own text here’;
$result = bbp_breadcrumb().$mytext;
echo $result;}
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Support translationsTranslation is not possible if the code is hard coded. For example in the report.php all texts are harcoded.
Translations needs a moderation-tools-for-bbpress.pot file for base.I must “translate” it by replacing strings.
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == ‘Unapprove’ ) {
$translated_text = ‘?l? hyv?ksy’;
}
if ( $translated_text == ‘Report’ ) {
$translated_text = ‘Raportoi’;
}
if ( $translated_text == ‘Report reason’ ) {
$translated_text = ‘Raportoinnin syy’;
}
if ( $translated_text == ‘Spam’ ) {
$translated_text = ‘Sp?mmi’;
}
if ( $translated_text == ‘Advertisement’ ) {
$translated_text = ‘Mainostaminen’;
}
if ( $translated_text == ‘Harassment’ ) {
$translated_text = ‘H?iritseminen’;
}
if ( $translated_text == ‘Inappropriate content’ ) {
$translated_text = ‘Ep?asiallinen sis?lt?’;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘change_translate_text’, 20 );Forum: Plugins
In reply to: [bbPress - Moderation Tools] Support translationsSee:
https://bbpress.org/forums/topic/bbpress-moderation-2/
There is plugin Code Snippets. With that plugin you can translate front end texts, for example
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == ‘Unapprove’ ) {
$translated_text = ‘?l? hyv?ksy’;
}
if ( $translated_text == ‘Report’ ) {
$translated_text = ‘Raportoi’;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘change_translate_text’, 20 );Forum: Plugins
In reply to: [bbPress - Moderation Tools] Support translationsIf some plugins has front end texts for ordinary participants IMO those texts should always be possinble to transalate usein *.po(t) files.
Forum: Plugins
In reply to: [bbPress - Moderation Tools] Support translationsThe same for me:
How to get front-end texts translated in Finnish? moderation-tools-for-bbpress
does not have any *.po or *.pot files.
These should get translated:
* approved
* report
* report reason + all related optionsI must directly edit report.php file in oder to ge those texts into Finnish. ??
Commonly those relate with wrong PHP version for the application.
I assume that newer version of PHP might solve the problem. Lucky quess.
Forum: Reviews
In reply to: [Twenty Fourteen] Cool themeMaybe quite the same as mine in https://www.sanaristikkofoorumi.net/wordpress/?
That use the blue color pallette copied from a WordPress.com site.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Problem with the front page and searchhttps://www.sanaristikkofoorumi.net/wordpress/
I just copied the color theme from https://ristikoidenratkontatabletlaitteella.blog
to my another site.I have just problem trying to modify the template so that in wide screen the area fro #secondary would just vanish and the main content area would be wider. This is hard becauce of complex width-related CSS. That’s another issue.
Forum: Fixing WordPress
In reply to: Problem with setting the front pageBecause I failed to set proper static frontpage I put article list to the frontpage (just creating simple article).
https://www.sanaristikkofoorumi.net/wordpress/
I took off with CSS another search form.
this is not what I want, but works just and just.
Forum: Fixing WordPress
In reply to: Problem with setting the front pageLast time I tried to set a static home page
https://www.sanaristikkofoorumi.net/wordpress/tietoja/When I set that, WordPress showed FOUR times it and to the end:
https://www.sanaristikkofoorumi.net/wordpress/keskustelusaannot/