Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Reply To: How do I translate the “Add User Moderation Flag” text?

Дата публикации: 20-05-2026 17:03:22



Hey thanks for helping translate my plugin, I really appreciate it.
If you need further help, do come back 🙂



Основное содержимое страницы с новостью.

Viewing 8 replies - 1 through 8 (of 8 total)

Hi,

I am the author of bbp-style-pack.

This part of the code is from a moderation plugin that I rescued from being closed, and i did enough to get it working in my plugin, so I do not have full knowledge of every feature.

Can you tell me exactly where and when you see this text?

This text appears when you visit the forum and read a thread/topic. Inside .bbp-reply-author ul.moderationlinks
Under the Avatar, Pseudonyme, (Ip address) there is then Block User and in english: “Add User Moderation Flag”

Thanks, found it now, let me take a look

As I said, I did not write that particular plugin element, I just incorporated it into my plugin to help those using it, and I agree the actual wording does not mean a lot, it took me a while to work it out!!

But after a bit of testing, essentially it sets a switch for a user to be either an approved user or an unapproved user. Then if in:

dashboard>forums>Moderation Options>hold for moderation you have set custom, then you can set ‘unapproved users posting’, ‘Unapproved users posting links’ and ‘Unapproved users posting below the English character threshold’ so that unapproved users posting in those categories get held for moderation.

so make a user ‘unapproved’ you set the ‘add user moderation flag’ and then all posts by that user come under the settings above.

I agree the wording is terrible, but now I have described what it does, you should be able to come up with some better words.

I would also agree if you said that those words should not appear unless you have set the custom above, but that is beyond my current plans to do.

to change the wording go to

dashboard>settings>bbp style pack>transaltions and activate the translation option
then put the original working in the left hand column and your desired in the right.

If you want to hide it completely, then add this to the custom css tab of my style pack plugin

.moderationlinks-flag {
    display: none ;
}	

Thanks a bunch for taking the time to detail all that.

About translations I am trying to contribute to the official community translations for the plugin in French. I found the culprit strings and added translations for them. https://translate.wordpress.org/projects/wp-plugins/bbp-style-pack/stable/fr/default/?filters%5Bterm%5D=Moderation+Flag&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
Then of course it will only merge when 90+% is translated (and validated), is that correct?

I struggled to find it in the codebase at first because I thought it was in bbpress, my bad. It was then helpful to use the translation website. For further reference it was at the time of writing at modtools/bbpress.php#L215 (in bbp style pack plugin of course)

The most frustrating thing with plugins like bbpress/Buddypress ecosystem is undocumented features/hooks and config parameters and the difficulty it puts on users wanting to work with it or even contribute to understand everything and how each piece comes together with the rest of wordpress in a 15 year old codebase… but thanks to people like you we can go further is making those better 👍

Thanks again for the quick answers

Hey thanks for helping translate my plugin, I really appreciate it.

If you need further help, do come back 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Hello Polyglots,0505-07-2026
2PTE Request for Zekno Exit and Floating Banner0505-07-2026
3PTE Request for Silvaitamar Duplicate…0506-07-2026
4Reply To: Adaptation of the “Members-only area” page: addition of a captcha0526-02-2026
5Спасибо ещё одной группе Тань Цзянь Цзы за перевод и ...12.9820-08-2026
6The strings in this file are hard-coded and untranslatable022.509-08-2026
7Steve replied to the topic Help Learning BuddyPress? in the forum Requests & Feedback0209-02-2026
8This string does not have echo023.2409-08-2026
9French translation files for Backuply06.9411-08-2026
10Stop Pasting Translations from ChatGPT010.8524-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 11.04. Источник: bbpress.org.