ページ: 1
NucleusCMS v3.50-RC-2 日本語版同梱のNP_SecurityEnforcerを言語調整したものです。
オフライン
I've looked over the differences and I should be able to use your changes in the published version when it comes out this coming weekend. Thanks.
オフライン
I've added your changes into the version that will ship with 3.50, so likely do not need special Japanese version.
オフライン
Nucleus CMS 3.51 (HQバージョン)添付のNP_SecurityEnforcer 1.01を調整したものです。
・日本語訳を再考
・プラグインオプションを言語設定連動に
・changemembersettingsでpasswordがnullならスルー
//本家版SVNではコアで対応されているのでこの機能はコアに任せるべきかも
・memberaddでパスワード強度がNP_SecurityEnforcerの設定に合致しない場合警告を表示
新規アカウントを強制削除するとユーザーIDに欠番が連発するので警告だけにしました。
オフライン
The changemembersettings bug has been fixed in the core (PrePasswordSet event not called if password isn't being changed), but it's a good idea to check it in the plugin, too. I'll add that to svn.
I see you want to give more specific messages, and that's fine, I can add that, too.
My issue with your PostRegister event is that it won't stop an admin from setting an "invalid" password. It will only notify him that it happened since PostRegister is called after the member is already created. It will not hurt for the admin to get a nice warning, though.
Finally, it took me a while to figure out what you were doing with the PrePluginOptionsEdit event, but I see it is to keep the db up-to-date with the language file for option descriptions. I don't mind adding that either.
オフライン
>>ftruscot
Thanks for your quick responce and commiting.
Sorry my broken English and Japanese characters.
Please check up language-files and function install(),too.
Finally, it took me a while to figure out what you were doing with the PrePluginOptionsEdit event, but I see it is to keep the db up-to-date with the language file for option descriptions. I don't mind adding that either.
That codes are written by shizuki && NKJG.
Please read this thred.
<!-- l --><a class="postlink-local" href="http://japan.nucleuscms.org/bb/viewtopic.php?p=24397#24397">viewtopic.php?p=24397#24397</a><!-- l -->
http://japan.nucleuscms.org/wiki/plugin ... nopushonno
Nucleus CMS supports multi-users and multi-languages,but plugin's options are written to database with fixed language when installation time.
So,createOption with quoted constants,we can parse to selected language in event_PrePluginOptionsEdit.
うん、この文章がシンタックスエラーなのは自信ある :oops:
オフライン
Thanks for the reminder about the language files. I found no significant changes in the index.php file.
Your english is infinitely better than my japanese. You can write in Japanese if you want. Between code and google translate I can usually understand enough.
I had never noticed how the plugins store that option text, description in the db.
オフライン
ページ: 1