Search found 562 matches

by Vegan
Sun Apr 25, 2021 5:03 pm
Forum: PHP - Code
Topic: detecting bot traffic
Replies: 0
Views: 234

detecting bot traffic

WP-UserOnline is what I am using at present This is the entire known bot list but I suspect there are more of them out there <?php function useronline_get_bots() { $bots = array( '360Spider' => '360spider', 'AddThis' => 'addthis', 'Adsbot' => 'Adsbot', 'AdScanner' => 'adscanner', 'AHC' => 'AHC', 'Ah...
by Vegan
Fri Apr 23, 2021 3:31 pm
Forum: PHP - Code
Topic: idea for wordpress
Replies: 3
Views: 171

Re: idea for wordpress

It does for the administrator but not in detail like phpBB does. on the details it shows: There are a total of 27 Users online now: 1 Member, 3 Guests and 23 Bots. Most users ever online were 41, on April 23, 2021 @ 8:37 AM suggesting my site is being mauled by search engines heavily #1 - SemrushBot...
by Vegan
Thu Apr 22, 2021 4:46 pm
Forum: PHP - Code
Topic: idea for wordpress
Replies: 3
Views: 171

Re: idea for wordpress

found one that does show and admin screen the details

WP-UserOnline
by Vegan
Thu Apr 22, 2021 3:04 pm
Forum: PHP - Code
Topic: idea for wordpress
Replies: 3
Views: 171

idea for wordpress

At present phpBB shows search engines that have visited at the bottom

I wonder if that exists for wordpress to show which search engines have stopped by to visit?

if not wonder how hard it would be to create?
by Vegan
Thu Apr 22, 2021 2:54 pm
Forum: Databases
Topic: possible mysql 8 bug
Replies: 1
Views: 163

possible mysql 8 bug

I had to recover my site after my database on my server became 95GB and the SSD became unwriteable

wonder about the SSD and if it is able to handle TRIM efficiently
by Vegan
Sun Apr 18, 2021 11:57 pm
Forum: General Discussion
Topic: Introduce Yourself!
Replies: 1042
Views: 695628

Re: Introduce Yourself!

Hi I am Richard and was born in Taiwan, a British immigrant and lived in the UK for 25 years. I start developing just 1 month ago but received professional training for the last three years. I used to be an electrical power engineer working for Siemens Energy for seven years. I changed my career pa...
by Vegan
Sat Apr 03, 2021 8:33 pm
Forum: General Discussion
Topic: Introduce Yourself!
Replies: 1042
Views: 695628

Re: Introduce Yourself!

I have experience with PHP, MySQL, JavaScript and WordPress
by Vegan
Thu Mar 18, 2021 12:20 pm
Forum: Javascript
Topic: Fisher-Yates shuffle
Replies: 0
Views: 1622

Fisher-Yates shuffle

// Fisher-Yates shuffle model function shuffle(array) { var m = array.length, t, i; while (m) { // While there remain elements to shuffle ... i = Math.floor(Math.random() * m--); // Pick a remaining element ... t = array[m]; // And swap it with the current element... array[m] = array[i]; array[i] =...
by Vegan
Fri Mar 05, 2021 9:24 am
Forum: PHP - Code
Topic: mathml 3
Replies: 2
Views: 926

Re: mathml 3

I tried a a chunk of code and WP installed a new Gutenberg block but that is the extent of it. Microsoft Equation is very old now. So is MathML. https://wordpress.org/plugins/mathml-block/ This the plugin that Gutenberg was programmed to grab \begin{bmatrix} a \\ b \end{bmatrix} is an example of the...
by Vegan
Thu Mar 04, 2021 5:07 pm
Forum: PHP - Code
Topic: mathml 3
Replies: 2
Views: 926

mathml 3

<math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow></mfrac></math> That is the output from MSF...
by Vegan
Tue Mar 02, 2021 4:32 pm
Forum: PHP - Code
Topic: php and bash shell scripts
Replies: 0
Views: 1162

php and bash shell scripts

i have assembled several scripts in BASH for maintenance tasks so i know that PHP can be run from the console as well this idea suggests I can use linux to test and develop some functions for later use elsewhere <?php echo 'Current PHP version: ' . phpversion(); echo 'More Info: ", phpinfo(); ?>
by Vegan
Wed Feb 24, 2021 6:52 pm
Forum: General Discussion
Topic: search engines and forums
Replies: 0
Views: 1746

search engines and forums

I spent much time over the last several weeks checking robots.txt for social media and forums. No surprise is that most block search engines from crawling them. This forum is crawled by Google at al so as a result any solutions here are easily found and it cuts down on the same old post surfacing ov...
by Vegan
Tue Feb 23, 2021 9:51 pm
Forum: PHP - Code
Topic: latex for wordpress
Replies: 0
Views: 1145

latex for wordpress

one excellent ability of wordpress is latex which is the language of math in the advanced areas latex can make all the math books you may have seen in a university So my site can now post math articles in computer graphics along with code examples to make things 100x clearer this forum is rich with ...
by Vegan
Thu Feb 18, 2021 6:37 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 1420

Re: fix a wordpress database

All I know is that with a SSD my web server seems to be snappy which is what everyone wants out there. Some sites are sluggish.

This site like WP runs on Linux and MySQL which seems to be very responsive using SSD.

SSD are low cost now so I figure why not.
by Vegan
Tue Feb 16, 2021 2:50 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 1420

Re: fix a wordpress database

next up, installing dovecot and leverage email for my server

https://www.hardcoregames.ca/2021/02/16 ... il-server/

with 250GB SSD there is room for a while but unlike hotmail ect I think I can make mail boxes bigger?