Search found 565 matches

by Vegan
Tue Jun 01, 2021 2:36 am
Forum: Databases
Topic: possible mysql 8 bug
Replies: 2
Views: 2199

Re: possible mysql 8 bug

After several updates the problem seems to be corrected now.

When the database grew that large I was shocked as the tables were unaffected so I looked at the relevant folders. All I know is that it was MySQL using a lot of space.
by Vegan
Wed May 12, 2021 12:51 pm
Forum: PHP - Code
Topic: mathml 3
Replies: 3
Views: 3120

Re: mathml 3

Turns out that Latex is the syntax used so the MathML is misidentified with Wordpress. JetPack has Latex support for self hosted hosts.
by Vegan
Fri May 07, 2021 10:52 pm
Forum: PHP - Code
Topic: WordPress and PHP8
Replies: 0
Views: 1878

WordPress and PHP8

It seems that WordPress 5.7.1 works way better with PHP8, it seems many functions to not like PHP 7.4 go figure. I also am using MySQL 8. Manuals are widely available for everything. sudo add-apt-repository ppa:ondrej/php sudo apt install ca-certificates apt-transport-https software-properties-commo...
by Vegan
Sun Apr 25, 2021 5:03 pm
Forum: PHP - Code
Topic: detecting bot traffic
Replies: 0
Views: 2027

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: 1109

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: 1109

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: 1109

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: 2
Views: 2199

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: 705944

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: 705944

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: 4400

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: 3
Views: 3120

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: 3
Views: 3120

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: 2908

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: 3515

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