Limit Login Attempts
January 8th, 20191. Have downloaded a WorsPress plugin via
[https://wordpress.org/plugins/limit-login-attempts]
changed it's name to [limit_login_attempts_plugin] and
uploaded it to [/blog/plugins] on this site
1.1 Doesn't show as available so edit main file name
from [limit-login-attempts.php]
to [_limit_login_attempts.plugin.php]
1.2 General fiddling with code layout.
2. Ok trying to install
2.1 have to use prefix variable as set in class, similarly use const instead of Define and change syntax of names and values
2.2 Added variables from test.plugin and
2.3 Commented out the WordPress hook add_action(*(**(^^) and added function BeforeBlockableAction()
3. Plugin is now recognised
3.1 had to move consatnt outside of class to be defined ??
3.2 Plugin now available to install
3.3 Plugin installs without error
4. Function
4.1 Can edit options but they are limited to basics
4.2 The hook function BeforeBlockableAction() is an option that can be changed so
4.2.1 can I set a place for it to run
4.3 BeforeBlockableAction() operates after first failer by putting up a message
5. See BeforeBlockableAction()
6.10.5
December 29th, 2018No HTML or CSS3 warnings or errors on calstock.org.uk, rogerlovejoy.net, unveiled.info
HTML validation
Home Page : 5 Warnings of type="text/javascript"
[/inc/_core/_template.funcs.php]
Line 1136 removed above code sorted the problem
Login Page : 3 Warnings of type="text/javascript"
More edit of [/inc/_core/_template.funcs.php]
Line 1452 see 6.10.5
Line 2431, 2740, 3148, 3305, 3425 :: sorted as line 1136
Line 3157 removed b.type='text/javascript'
The edits in the above block did not fix the issue on the Login Page
[/inc/core/_misc.funcs.php]
Line 3385, deleted type="text/javascript" which removed the last warning
Line 6245, 6253, 7586, 7784, 7801, 7910, 8079 deleted type="text/javascript" no effect here.
Login Page :1 error Error: Attribute autocorrect not allowed on element input at this point. See b2evolution topic
Resolved in [/inc/_core/ui/forms/_form.class.php]
Lines 1374 and 1430
removed parameter 'autocorrect' => 'off'
Same file for type=text/javascript
Line 2208 got rid of top warning
Line 2220 did not resolve issue
Line 2312 did resolve issue
Custom Edits
Only on rogerlovejoy.net
1)
[/inc/widgets/widgets/_coll_search_form.widget.php]
Versions: (6.10.5 Line 220) Add <br /> at beginning
echo '<br /><input type="submit" name="submit" . . .







