force all users to reset password
#21
https://github.com/dequeues/mybb-forcepasswordchange
Reply
#22
Please upgrade plugin to last version of MyBB and fix

Warning [2] Use of undefined constant width - assumed 'width' (this will throw an Error in a future version of PHP) - Line: 101 - File: admin_control_panel/modules/user/forcepwchange.php PHP 7.2.26 (Linux)
File Line Function
/admin_control_panel/modules/user/forcepwchange.php 101 errorHandler->error
/admin_control_panel/index.php 821 require
Reply
#23
(2019-12-25, 11:41 AM)WygenMiLinka Wrote: Please upgrade plugin to last version of MyBB and fix

Warning [2] Use of undefined constant width - assumed 'width' (this will throw an Error in a future version of PHP) - Line: 101 - File: admin_control_panel/modules/user/forcepwchange.php PHP 7.2.26 (Linux)
File Line Function
/admin_control_panel/modules/user/forcepwchange.php 101 errorHandler->error
/admin_control_panel/index.php 821 require
Change highlighted line (click) to:
$form_container->output_row_header($lang->forcepwchange_admin_row_username, [
   'class' => 'align_left',
   'width' => '75%',
]);
Best regards, Peter.
PHP Developer.


#gitlab #myplugins
Reply
#24
@Salvation thanks it's working.

Can you too repair

in /public_html/inc/languages/polish/admin

$l['forcepwchange_user_message'] = "The Administrator is forcing you to change your password. You cannot use the rest of the forum until your password is changed.";

If I change to my onw text in polish language, it's don't working and still show english version of this sentence.
Reply
#25
Strange... A folder structure should be like this:
/languages/_language_/plugin_name.lang.php

Try copy and paste forcepwchange.lang.php file into /polish/ directory.
Best regards, Peter.
PHP Developer.


#gitlab #myplugins
Reply
#26
(2019-12-25, 01:01 PM)Salvation Wrote: Strange... A folder structure should be like this:
/languages/_language_/plugin_name.lang.php

Try copy and paste forcepwchange.lang.php file into /polish/ directory.

I have that. And still don't work.
Reply
#27
Sorry. Misunderstand you.
Did you try to reinstall the plugin?
Best regards, Peter.
PHP Developer.


#gitlab #myplugins
Reply
#28
(2019-12-25, 01:45 PM)Salvation Wrote: Sorry. Misunderstand you.
Did you try to reinstall the plugin?

No, but after reinstall text was changed, so problem solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)