• b2evo
  • Front Page
  • Contact
  • Login
  • reset page

Far Fields

  • Andromeda ¦ First Contact
  • Blush ¦ Private
  • Dad ¦ Private
  • Vyaj ¦ Immigration & Asylum Cases

Near Fields

  • My Bits
  • Behind the Sceanic
  • vOw ¦ Vegan Organic Wholefood

Old Fields

  • 1996 Site
  • Old Search Site

Blogs

  • b2Evo ¦ Blog techie stuff
  • eLf ¦ Updates on the land
  • blInk ¦ Some useless links
  • spAce ¦ Thoughts on being
  • j&j ¦ Prospectors of Kern
  • av0id ¦ How I Got Here

Limit Login Attempts

January 8th, 2019

1. 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()

  roger
 


6.10.5

December 29th, 2018

No 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" . . .

  roger
 


<< 1 2 3 4 ...5 ...6 7 8 ...9 ...10 11 12 ... 67 >>
  •  Paged Index of 133 Posts

  • Last nineteen

    • Add html figure tag
    • Validation 7.2.5
    • elfgifs_plugin
    • Add sub text button
    • [autocorrect] validation
    • Versions & Database
    • Math Terms & Plugin
    • My Search Hack
    • figure tag
    • evobar toolbar
    • Front Page Collections #
    • Move to a new line using CSS not <br />
    • Version 6.10.6 & php 7
    • Stuck on Version 6.10.5
    • Limit Login Attempts
    • 6.10.5
    • Add Number to Comment
    • 6.10.4
    • v 6.10.*
  • Search


Valid HTML 5.0    ubuntu link    duckduckgo link    b2evolution link    firefox link    Creative Commons Licence    Valid CSS!