Tag name:wordpress

Mongoose Traveller V2 Character Creator Plugin Details

First published 6th October 2024 (Last Modified 7th October 2024)

Description

This plugin adds a shortcode to add a sandpit for character creation experimentation. This allows for a new character to be created. The characters are saved locally in the browser (only) and can be exported in a format importable into Fantasy Grounds Unity.
[mongooseTravellerV2CharacterCreator /]

The following (minor) rules interpretations, clarifications and modifications have been made by this plugin:

  • Three of the initial stat rolls are made with a boon (i.e., roll 3D6 and take the best two).
  • Mishap 2 is always severely injured.
  • Skill specialisations are chosen at the end of character creation (rather than as you acquire level one in the base skill). This was to avoid overwhelming the player with options. However that does mean where you should be awarded a specialisation in a skill you, initially, get a level in the base skill instead. Also those skills which can be specialised are allowed to go above four until you reach that specialisation step.
  • In a few places where the official rules allow you to choose a skill in the skill tables these has been replaced by providing an entry for each skill in that table (making it have seven rows and a 1D7 roll).
  • The 'Any talent' entry in the Psion service skill table has been omitted (making that table have five rows and hence a 1D5 roll).
  • Connections do not allow the choice of any psionic talent.
  • Version: 3.278.0
  • Author: David Vines
  • Last Updated: 2024-11-18T18:39:53Z
  • Requires WordPress Version: 4.0 or higher
  • Tested up to: 6.7
  • License: Contains materials from Mongoose which are used by following the Mongoose fair use policy. The code elements were written solely by myself.

    The Traveller game in all forms is owned by Mongoose Publishing. Copyright 1977 - 2024 Mongoose Publishing. Traveller is a registered trademark of Mongoose Publishing. Mongoose Publishing permits web sites and fanzines for this game, provided it contains this notice, that Mongoose Publishing is notified, and subject to a withdrawal of permission on 90 days notice. The contents of this site are for personal, non-commercial use only. Any use of Mongoose Publishing’s copyrighted material or trademarks anywhere on this web site and its files should not be viewed as a challenge to those copyrights or trademarks. In addition, any program/articles/file on this site cannot be republished or distributed without the consent of the author who contributed it.

    The images were generated using Microsoft's copilot AI Image generator. As such Microsoft, its affiliated companies and third-party partners are granted permission to use the Prompts, Creations, customisations (including GPTs) and related content in connection with the operation of its businesses (including, without limitation, all Microsoft Services), including, without limitation, the licence rights to: copy, distribute, transmit, publicly display, publicly perform, reproduce, edit, translate and reformat the Prompts, Creations and other content that were provided to create the image; and the right to sublicense such rights to any supplier of the Online Services.

    In particular note that this page explicitly does not grant consent to republish or distribute this plugin.

Change Log

3.278.0 - 18 November 2024

Bug fix - Adjust scout mishap3's contact and enemy counts. Provide enemy text on Scout event 3, Fix Typo's, Stop several events overwriting career event

3.277.0 - 18 November 2024

Fix typo. Add full life event list to the Notes of the FGU export

3.276.0 - 15 November 2024

Lock skills in the FGU file, Wording fixes, Bug fixes (citizen mishap4 and event3)

3.275.0 - 10 November 2024

Typo and small bug fixes. Rework the display of advancement options

3.274.0 - 08 November 2024

Added ability to embed text in the initial page (between the notes and the copyright notice)

3.273.0 - 08 November 2024

PDF Generation added

3.272.0 - 03 November 2024

Add Psionics

3.271.0 - 30 October 2024

Bug fixes

3.270.0 - 28 October 2024

Reword mishaps and events so that mishaps caused by events do not imply you leave the career is almost all cases. Add Anagathics

3.269.0 - 25 October 2024

Allow medical bills for injuries

3.268.0 - 25 October 2024

Add save and view options, add a free format field

3.267.0 - 24 October 2024

Fix multiple specialisations!

3.266.0 - 21 October 2024

Allow for multiple specialisations

3.265.0 - 18 October 2024

Added the remaining careers (apart from Psion) and the draft

3.264.0 - 12 October 2024

Add the army career

3.263.0 - 06 October 2024

Bug fixes

3.262.0 - 06 October 2024

Add more careers

3.261.0 - 27 September 2024

Add mustering out, export of characters, bug fixes

3.259.0 - 23 September 2024

Initial Version - pre-alpha (no mustering out, connections, end of character or export. Only pre-careers and rogues implements so far


The information on this page was retrieved by Plugin Information Version 3.263.0.

Caporil theme

First published 12th January 2023 (Last Modified 20th August 2024)

Description

I had used the ming theme for quite a while, originally on its own, then with a child theme to fix some minor issues I had with the theme. I then ended up with my own version of that theme in order to allow me to get a better copyright notice. This version, caporil, of that theme is a reworking of both it and my own child theme (created to customise that theme for my own website) to take advantage of more modern CSS techniques (and to allow me to understand wordpress themes better). I haven't registered it with wordpress's theme library, so there is a risk of a name clash in the future.

  • Version: 3.259.0
  • Author: David Vines
  • Last Updated: 2024-09-23T15:35:43Z
  • Requires WordPress Version: 4.0 or higher
  • Tested up to: 6.6.2
  • License: This theme is based on the ming theme used under the terms of the GPL v2 license. This theme may be used under the terms of the GNU General Public License, version 2 license. Note, however, that it is pre-customised for this website and may not be suitable for your own site.

Many thanks to Axiu, the author of the ming theme.

Change Log

3.259.0 - 23 September 2024

Bring possible multicolumn down to 80ch

3.258.0 - 07 September 2024

Make main a container and allow for a possible multiple column inside that container

3.257.0 - 20 August 2024

Add ordered page template (which is a standard page that gains links to prev and next pages at the bottom) by refactoring the chronicle page template

3.256.0 - 23 June 2024

Add file size to attachment metadata pages

3.255.0 - 13 May 2024

Prevent line break in tag clouds between the tag and the count

3.254.0 - 25 September 2023

Remove redunant div from footer

3.253.0 - 28 August 2023

Honor suppress version tag option

3.252.0 - 28 August 2023

Address Theme Check Items

3.251.0 - 28 August 2023

  • On the media attachment pages the list of camera models and their long versions moved into database and the theme settings updated to allow the addition of new camera models
  • Removed the logic for special case handling of copyrighy owners
  • In the attachment tags the string '$years' will now be substituted with the copyright years (either from the copyright-first-year-20xx tag or from the date of the media library addition if there's no copyright-first-year-20xx tag)
  • Renamed the theme_options database entry - unfortunately that does mean you'll need to reenter any options you've changed from the default

3.250.0 - 31 July 2023

Support copyrights where I'm the author but don't want to release under creative commons

3.249.0 - 29 June 2023

Change search to use the 'search' HTML element

3.248.0 - 05 April 2023

'heading' -> 'header'

3.247.0 - 29 March 2023

Remove link on attachment heading, use 'header' and 'footer' inside of articles too

3.246.0 - 21 March 2023

Improve printing style, Improve appearance of tag pages

3.245.0 - 23 February 2023

Decrease size of the h1 margins

3.244.0 - 23 February 2023

Use semantic HTML5 tags and the browser's small viewport

3.242.0 - 06 February 2023

Tweaks to the style, add a fullscreen template

3.241.0 - 26 January 2023

Remove a redunant clear div

3.238.0 - 22 January 2023

  • Add space between multiple pieces of image metadata
  • Add vertical space after post/page info block
  • Push footer to the back
  • Improve appearance of pages using chronicle.css
  • Improve appearance of archive pages

3.237.0 - 21 January 2023

  • Remove underline from attachment links
  • Adjust the attachment metadata include
  • Improve update experience
  • Remove underlining from the image tag pages

3.236.0 - 21 January 2023

Adjust size of sidebars

3.235.0 - 20 January 2023

  • Fix the position of the sidebar toggle characters
  • Increase size of the toggle bar
  • Fix location of the search box (when enabled)

3.234.0 - 19 January 2023

Distinguish css for the various page templates

3.233.0 - 19 January 2023

Improve chronicle pages. Address unnecessaryfont face loading

3.232.0 - 16 January 2023

Handle narrow windows better

3.231.0 - 14 January 2023

Improve appearance of lists in plugin change logs

3.229.0 - 14 January 2023

Improve appearance of code blocks

3.228.0 - 14 January 2023

Reduce some ofthe vertical spacing. Add support for @media(print)

3.227.0 - 13 January 2023

Improve appearance of tag pages, show number of comments (if non-zero) even when static

3.226.0 - 12 January 2023

Initial Version


The information on this page was retrieved by Plugin Information Version 3.263.0.

Even more WordPress plugins I've used (but don't currently)

First published 28th June 2022 (Last Modified 23rd March 2023)

I've audited again the plugins I've used on this site. I've removed the following, but not because they aren't useful (they are), but because I don't need them right at the moment:

Enhanced Media Library
Originally used to improve the functionally of the Media Library, but since outclassed by the Media Library Assistant plugin.
Custom Post Type UI
Used to prototype the custom taxonomy I use to identify and the photos and images to which I'm the sole copyright owner. Doesn't need to be installed since I copied the taxonomy into my child theme.
Updates API Inspector
Used to get a view on what wordpress does to identify and install updates to plugins and themes. Doesn't need to remain installed once the investigation is completed.

Domain of the Ancients Plugin Details

First published 6th February 2022 (Last Modified 12th January 2023)

Description

This plugin adds the ability to insert an instance of the Domain Of The Ancients game. To do this:
  • It adds a new shortcode that inserts the game. Examples of use:
    [domainOfTheAncients/]
    Inserts an instance of the game.
  • Also, as standard for my plugins, it adds a shortcode to add the current version number of the plugin:
    [domainOfTheAncientsVersion]

Change Log

3.244.0 - 23 February 2023

Use the browser's small viewport

3.242.0 - 06 February 2023

Expand height of the game to the full screen if available (removing the text resize in the process)

3.241.0 - 26 January 2023

Allow the text pane to be resized

3.240.0 - 23 January 2023

Adjust size of the map and notes to better fit the size of the window

3.239.0 - 22 January 2023

Fix css variables

3.238.0 - 22 January 2023

Improve layout on my new caporil theme by simplifying the css

3.226.0 - 12 January 2023

Correct hex annotation width (some quirk of the ningxia theme seems to have caused the need (in that theme) for the incorrect value. This has been changed with my new caporil theme!

3.222.0 - 13 October 2022

  • Since dredgers need to be deployed to empty hexes, ensure that computer players designing ships with them include a jump drive (and adjust computer behaviour to account for this, along with other minor behaviour changes)
  • Allow Star Bases to be repaired in empty space

3.221.0 - 04 October 2022

  • Refactor to improve the ability to have a completely headless version of the game
  • Actually stop the game when the human player loses!
  • Fix exception when computer players try to scrap their first star base
  • Add review of ship designs
  • Add a new computer player mood of 'paranoid'

3.219.0 - 27 September 2022

Allow more control over retreat standing orders

3.218.0 - 26 September 2022

Fix average hits to account for the new phase 0

3.217.0 - 26 September 2022

  • Make reflecting shields always fire in the phase after they absorb damage regardless of the combat speed of the ship to which they are fitted
  • Add a phase 0 to combat (that allows a ship with no maneuver drive or computer to fire) - renumber the phases so that the new Phase 0 is reported as Phase 1 (and old phase n is reported as Phase n+1)
  • Rebalance computer tech research (and add a TL9 computer) to allow for the addition of Phase 0

3.216.0 - 15 September 2022

Hide comms Research once it is max'ed out

3.195.0 - 15 April 2022

Revamp of computer player's ship orders. Minor bug fixes to the vessel order dialog.

3.194.0 - 11 April 2022

Count reflecting shields as weapons (plus some refactoring)

3.192.0 - 09 April 2022

Bug fix (with this fix you can no longer cancel an order for a ship (and get a refund) AND still get the ship!)

3.191.0 - 07 April 2022

More AI improvements, More events get recorded for the history

3.190.0 - 05 April 2022

  • Add Suicide planet busters
  • Improve ship design stats
  • Slightly improve computer AI
  • Nerf jump space dredgers by significantly increasing their price and by resetting their production if a non-dredger unit enters their hex

3.186.0 - 01 April 2022

Support Standing Orders, fix fighters, minor wording/typo fixes

3.185.0 - 31 March 2022

Fix typo in the research (which broke selecting computers as the favoured tech)

3.184.0 - 30 March 2022

Wording Tweaks, Give the computer players some kind of AI and get them to make their own ship designs, Adjust ground combat

3.183.0 - 27 March 2022

Bug fixes, Refactoring, UI Redesign

3.182.0 - 10 March 2022

Bug fixes

3.181.0 - 04 March 2022

Minor cleanup, bug fixes

3.180.0 - 04 March 2022

  • Bug fixing
  • Colony Blocks converted into a single large block
  • Change one of the archaelogy techs and support one of the weaponary techs
  • Apply interdiction of colonies
  • Implement the history pages
  • Compute Win/Lose conditions

3.179.0 - 28 February 2022

Bug fixing. Complete support for some technologies

3.178.0 - 27 February 2022

Refactoring. Correctly report on other ships in the hex. Implement (largely) combat.

3.177.0 - 21 February 2022

Invert ship design sublist (so the best technology appears at the top of the list). Ensure computer players can't improve their low level colonies.

3.176.0 - 21 February 2022

Add computer players (who act at random). Remove Sensor Buildings

3.175.0 - 17 February 2022

Correct typo's in the ship designer for a couple of block types

3.174.0 - 17 February 2022

Allow colony ships to add to existing low-level colonies. Prohibit zero speed ships. Minor bug fixes. Some refactoring

3.173.0 - 16 February 2022

Bug fixes and some refactoring

3.172.0 - 15 February 2022

Add support for bases and fighters

3.171.0 - 13 February 2022

Allows most player actions - no AI

3.170.0 - 06 February 2022

Initial Version


The information on this page was retrieved by Plugin Information Version 3.263.0.

Setting up a ubuntu for my development enviroment

So I'm experimenting with a new development environment - this one is a ubuntu 20.04 running inside of Oracle VM Virtual Box. The initial installation was done following the cookbook from Abhishek Prakash.

Initial VM setup

  • Download and install VirtualBox
  • Download the ISO for Ubuntu
  • Start Virtual Box and create a new VM - I specified 4GB memory, 4 processor and approx 60GB Hard Disc
  • Start the VM using the ISO image and complete the Ubuntu installation

Development Environment Setup

  • Install fossil using sudo apt install fossil
  • Install ant using sudo apt install ant
  • Install npm using sudo apt install npm
  • Install php 7.4 using sudo apt install php7.4
  • Create directory for the website development mkdir website
  • Clone the website fossil and open it:
    • fossil clone http://david:password@virtual.internal:7780/website website.fossil
    • cd website
    • fossil open ../website.fossil
  • Install prereq npm packages:
    • sudo npm -g install jshint@2.11
    • sudo npm -g install qunit@2.10
    • sudo npm -g install ajv-cli@4.0
  • Test the build by
    • cd build
    • ant rebuild-all

WordPress setup

  • Install prereqs by sudo apt install apache2 mysql-server libapache2-mod-php php-mysql
  • Configure and enable apache2 by
    • sudo systemctl start apache2
    • sudo systemctl enable apache2
    • sudo ufw allow in "Apache Full"
  • Configure mysql and setup a database for wordpress by
    • sudo mysql_secure_installation
    • sudo mysql -u root -p and enter these commands:
      • CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
      • CREATE USER wordpress IDENTIFIED WITH mysql_native_password BY '12345';
      • GRANT ALL ON wordpress.* TO 'wordpress'@'%';
      • quit
  • Install php extensions used by wordpress using sudo apt install php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip
  • Restart apache2 using sudo systemctl restart apache2
  • Install curl using sudo apt install curl
  • Download wordpress using curl -O https://wordpress.org/latest.tar.gz
  • Extract the archive and move under apache:
    • tar -xzvf latest.tar.gz
    • sudo mv wordpress /var/www/html
    • sudo chown -R www-data:www-data /var/www/html/wordpress
    • sudo chmod -R 775 /var/www/html/wordpress
  • Setup the wordpress config:
    • cd /var/www/html/wordpress
    • sudo mv wp-config-sample.php wp-config.php
    • Edit wp-config.php to setup the credentials for the database
  • Setup the apache2 config for wordpress:
    • sudo nano /etc/apache2/sites-available/wordpress.conf
    • Make the contents to these lines:
      <Directory /var/www/html>
              Options Indexes FollowSymLinks MultiViews
              AllowOverride All
              Require all granted
      </Directory>
      <VirtualHost *:80>
              ServerName wordpress
              ServerAdmin webmaster@localhost
              DocumentRoot /var/www/html/wordpress
              ErrorLog ${APACHE_LOG_DIR}/error.log
              CustomLog ${APACHE_LOG_DIR}/access.log combined
      </VirtualHost>
      
    • Check the config via: apache2ctl -t
    • Enable it with sudo a2ensite wordpress
    • Disable the default site with sudo a2dissite 000-default
    • Activate the new apache2 configuration with sudo systemctl restart apache2
  • Complete the wordpress install by browsing the image's website

phpMyAdmin installation

  • Install phpmyadmin via sudo apt install phpmyadmin
  • You may need to enable the apache2 conf via:
    • sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    • sudo a2enconf phpmyadmin
    • sudo systemctl reload apache2

Ningxia Child Theme

First published 15th April 2021 (Last Modified 12th January 2023)

Description

This child theme provides customisations for the Chronicle, Domain of the Ancients, En Garde! and Liftoff!
  • Version: 3.244.0
  • Author: David Vines
  • Last Updated: 2023-02-23T13:20:14Z
  • Requires WordPress Version: 4.0 or higher
  • Tested up to: 6.1.1
  • License: This theme is based on the ming theme used under the terms of the GPL v2 license. This theme may be used under the terms of the GNU General Public License, version 2 license.

Many thanks to Axiu, the author of the ming theme.

Change Log

3.244.0 - 23 February 2023

Use the browser's small viewport units

3.220.0 - 01 October 2022

Improve css for domain of the ancients based on the css for the game

3.213.0 - 27 June 2022

Support a pseudo tag cloud in a widget and full tag cloud page

3.212.0 - 26 June 2022

Bug fix the copyright notice

3.211.0 - 26 June 2022

A better taxonomy-mediatag page (uses the mla-gallery shortcode, so requires the media library assistant plugin)

3.210.0 - 26 June 2022

Provide link to full size image for large images on the image attachment page

3.209.0 - 24 June 2022

Add camera device on image attachment page

3.208.0 - 22 June 2022

Cope with both '0' and 0 as being not supplied values (as well as not being present)

3.207.0 - 22 June 2022

And remove paragraph tag around the copyright tag line too

3.206.0 - 22 June 2022

Remove image timestamp if is zero. Remove paragraph tags on the attacmhment page (since it's already wrapped in a definition tag)

3.205.0 - 22 June 2022

Reverse the sort order on the mediatag taxonomy page. Show image sizes on image attachment pages.

3.203.0 - 18 June 2022

Add support for a mediatag custom taxonomy

3.189.0 - 03 April 2022

Get the icon reference correct when the mimetype is not recognised directly by wordpress

3.188.0 - 03 April 2022

Add Axiu reference for the copyright page

3.187.0 - 03 April 2022

Add icons for epub and mobi. Add support for copyright-first-year attachment tags

3.170.0 - 06 February 2022

Tweak Support for Domain of the Ancients

3.169.0 - 10 January 2022

More Support for Domain of the Ancients

3.168.0 - 04 January 2022

Support Domain of the Ancients

3.165.0 - 11 September 2021

Support a template that is 'wider' but for a sandpit (i.e., a page without a header)

3.161.0 - 09 September 2021

Fix update detection logic

3.158.0 - 23 July 2021

Common up copyright logic!

3.157.0 - 21 July 2021

Fix updating logic!

3.144.0 - 18 May 2021

  • Reinstate version strings

3.126.0 - 15 April 2021

  • Support plugin information pages

3.97.0 - 22 February 2021

  • Remove empty and duplicate annotations from image and video pages

3.96.0 - 15 February 2021

  • Modify the font size on tag cloud to utilise the space freed up by the smaller count

3.95.0 - 14 February 2021

  • Make counts on the tag cloud small

3.93.0 - 10 February 2021

  • Modify font size on the tag cloud

3.90.0 - 07 February 2021

  • Move fonts (and one style) that should have been in this child theme to this child theme

3.76.0 - 28 January 2021

  • Add support for self-hosted update notification

The information on this page was retrieved by Plugin Information Version 3.263.0.

Sumo Oyakata Plugin Details

First published 28th March 2021 (Last Modified 12th January 2023)

Description

This plugin adds the ability to insert an instance of the Sumo Oyakata game. To do this:
  • It adds a new shortcode that inserts the game. Examples of use:
    [sumoOyakata/]
    Inserts an instance of the game.
  • Also, as standard for my plugins, it adds a shortcode to add the current version number of the plugin:
    [sumoOyakataVersion]
  • Version: 3.254.0
  • Author: David Vines
  • Last Updated: 2023-09-25T16:06:23Z
  • Requires WordPress Version: 4.0 or higher
  • Tested up to: 6.3.1
  • License: Although I claim sole ownership of the copyright for this plugin, I hereby grant permission to use this plugin under the terms of the GNU General Public License, version 2 license.

Change Log

3.254.0 - 25 September 2023

  • Prevent unnecessary disabling of load button on a time tick
  • change picking algorithm for bout participants
  • More names

3.238.0 - 22 January 2023

Correct styling of the lists in the controls section

3.225.0 - 02 December 2022

Fix load of game saved between bashos

3.224.0 - 30 November 2022

Ensure Rikishi is fully initialised on construction. More Names

3.199.0 - 13 May 2022

More names, fix table links

3.198.0 - 11 May 2022

More names

3.197.0 - 24 April 2022

Add scroll bar to history

3.196.0 - 23 April 2022

  • Save and show Rikishi Basho history.

    Sadly the save data is not compatible and this version cannot load from earlier versions.

3.183.0 - 27 March 2022

  • Even more names, allow 13 character names

3.182.0 - 10 March 2022

  • More names

3.170.0 - 06 February 2022

  • More names and add endurance
  • Promotion/demotion more aggressive
  • Added speed controls

3.161.0 - 09 September 2021

Fix update detection logic!

3.157.0 - 21 July 2021

Fix updating logic!

3.153.0 - 21 July 2021

  • Common up the plugin updating code between my plugins

3.152.0 - 09 June 2021

  • Make debug a toggle and adjust some text

3.151.0 - 08 June 2021

  • Fix four+ way ties

3.150.0 - 08 June 2021

  • Add Mono-ii text
  • Rikishi tire quicker
  • Adjust success odds (ironically back to much closer to the original 🙂

3.149.0 - 04 June 2021

  • Refactoring, add debug flag to see the odds and die rolls

3.148.0 - 29 May 2021

  • Change the algorithm used for the odds of a move to succeed
  • Change rikishi's stats a little between bashos

3.147.0 - 23 May 2021

  • Fix checking for Ozeki winning two basho in a row
  • Tighten the odds (i.e., stats matter more than randomness (to a degree)
  • Some code refactoring
  • Yet more names added as the basis for the name generator

3.146.0 - 21 May 2021

  • More names added as the basis for the name generator. Allowed names increased to 12 characters

3.145.0 - 18 May 2021

  • Bug and typo fixes

3.144.0 - 18 May 2021

  • Properly support version numbering for more correct browser cache busting

3.142.0 - 18 May 2021

  • Add trip action
  • Add some more names
  • Fix odds of successful (base number was inverted)

3.139.0 - 14 May 2021

  • Some more names

3.135.0 - 30 April 2021

  • Check for demotion from Komusubi before automatic promotion

3.134.0 - 27 April 2021

  • Fix date display when the load is older than 2 days

3.133.0 - 19 April 2021

  • Reduce further the element of luck in the bouts

3.132.0 - 19 April 2021

  • Reduce the element of luck in the bouts
  • Use west's odds for west's moves (instead of east's!)

3.130.0 - 18 April 2021

  • Increase width of the info panel
  • Improved description of the bout

3.128.0 - 16 April 2021

  • Fix the Bug fix - Ozeki should not be automatically Maegashira (in fact they never move directly to Maegashira!)

3.127.0 - 16 April 2021

  • More Bug fixes

3.125.0 - 14 April 2021

  • Bug fixes

3.124.0 - 13 April 2021

  • Mark Kadoban Ozeki

3.123.0 - 12 April 2021

  • Stop showing champion at the top of the list for the entire Basho
  • Setup the next button on load rather than just doing it

3.122.0 - 12 April 2021

  • Add info below load/save buttons

3.121.0 - 11 April 2021

  • Don't count non-yokuzuna as yokuzuna!

3.120.0 - 11 April 2021

  • Fix save/load during tie-breaks
  • Fix three+ tie-breaks

3.119.0 - 11 April 2021

  • Take account of yokozunua, ozeki, sekiwake and komusubi counts when deciding on maegashira demotions
  • Stop KK winnners from being demoted to Juryo
  • Highlight Kachikoshi and Makekoshi results

3.118.0 - 11 April 2021

  • Fix broken fix of load between Bashos

3.117.0 - 11 April 2021

  • Fix saving of the seed state for the random number generator
  • Fix load between Bashos

3.116.0 - 10 April 2021

  • Fix spelling of Komusubi
  • Fix save during tie breaks
  • Fix some promotion/demotion logic (including allowing Komusubi to be promoted directly to Ozeki)
  • Allow retirement of Yokozuna and for promotion/demotion from/to Juryo

3.115.0 - 08 April 2021

  • Fix tie break logic and bugs in that logic
  • Reduce effects of randomness
  • Reduce order on the name generations (names more random, but more likely to generate strange letter combos)
  • Allow wider choice of opponents at the beginning of the basho and narrow down as the days pass
  • Assign initial ranks at the end of the first basho
  • Add load and save buttons
  • Have multiple bashos

3.114.0 - 06 April 2021

  • Expand to 42 rikishi (the size of the Makuuchi)
  • Fix some odds
  • Decide on the bouts at the beginning of the day, avoid duplicate bouts

3.113.0 - 03 April 2021

Fix tie break match logic, more names (simplify names to allow generator more scope)

3.112.0 - 01 April 2021

Fix slug used for the plugin (again!)

3.111.0 - 01 April 2021

Fix slug used for the plugin

3.110.0 - 01 April 2021

Used the procedure from The Compleat Strateyst to choose between moves

3.109.0 - 29 March 2021

Added intelligence. Allow for tie-breakers at the end of the basho.

3.108.0 - 29 March 2021

Initial Version


The information on this page was retrieved by Plugin Information Version 3.263.0.

Plugin Information Plugin Details

First published 22nd March 2021 (Last Modified 12th January 2023)

Description

This plugin adds the ability to show the description and change log of one of my plugins in a similar way to that provided by the wordpress admin pages. In support of this, the plugin provides three shortcodes:

pluginInformation

This shortcode provides the description and other information about the plugin. Additional information may be added into the right handbox of the generated table by placing the text inside of the shortcode. The additional text will be placed inside a list item (<li> tag)

Example of use
[pluginInformation slug="LatinSquares"]<strong>License:</strong> GPL v2[pluginInformation]

If the attachment attribute is provided on the shortcode, links will be updated to point to the attachment page instead of the direct download page. For example
[pluginInformation slug="LatinSquares" attachment="true"]

If the nolink attribute is provided on the shortcode, the link itself will be suppressed (the text of the link itself will remain) For example
slug="LatinSquares" nolink="true"]

If the homepage attribute is provided on the shortcode, a link to the plugin's homepage will be added to the information panel. For example
[pluginInformation slug="LatinSquares" homepage="true"]

pluginInformationChangeLog

This shortcode provides the change log for the plugin

Example of use
[pluginInformationChangeLog slug="LatinSquares"]

You can ask for only the first few sections of the change log (as introduced by h4 tags in the change log) by specifying 'latest' on the shortcode, for example:
[pluginInformationChangeLog slug="LatinSquares" latest="1"]

Normally the links in the change log will be removed. These can be kept via the attachment attribute. If set the links will be kept and if attach is 'convert' the links will be converted from links to the download to links to the relevant attachment page for that download file.

pluginInformationVersion

Provides the version number of this plugin (not the version of the plugin being queried)

  • Version: 3.263.0
  • Author: David Vines
  • Last Updated: 2024-10-06T12:43:24Z
  • Requires WordPress Version: 4.0 or higher
  • Tested up to: 6.6.2
  • License: Although I claim sole ownership of the copyright for this plugin, I hereby grant permission to use this plugin under the terms of the GNU General Public License, version 2 license.

Change Log

3.263.0 - 06 October 2024

Provide option to suppress attachment links completely

3.230.0 - 14 January 2023

Fix links in the change log!

3.228.0 - 14 January 2023

Add div's for the plugin information and its sections to allow css styling

3.226.0 - 12 January 2023

Remove unnecessary close paragraph tags when handling html

3.202.0 - 25 May 2022

Support Tested up to

3.201.0 - 25 May 2022

Fix update detection logic!

3.191.0 - 07 April 2022

Fix display of multiple change log entries when removing the attachment links

3.186.0 - 01 April 2022

Add the 'latest' option to the changelog short code. Remove links if 'attach' isn't specified

3.183.0 - 27 March 2022

Fix wording of the generated description (no change to the actual plugin itself)

3.161.0 - 09 September 2021

Fix update detection logic

3.157.0 - 21 July 2021

Common up duplicated code in the plugin update logic

3.149.0 - 04 June 2021

Add Last as a prefix for weekdays. The ISO time is prefilled into last updated text field in case the javascript is unable (or has not yet) run

3.139.0 - 14 May 2021

Support a more generalised development environment. The plugin now looks for the json information file on the hosting site first rather than to a hardcoded site. The standard fallback is still to blog.tremlas.com, my standard website.

3.138.0 - 03 May 2021

Get yesterday to be displayed only if yesterday actually makes sense 🙂

3.137.0 - 01 May 2021

Bug fix to prevent infinite loop!

3.136.0 - 01 May 2021

Have the last updated field filled in by javascript so that the static version doesn't change so much

3.126.0 - 15 April 2021

Provide option for links to be to the attachment page rather than being a direct download

3.108.0 - 29 March 2021

Update URL of the details page

3.106.0 - 24 March 2021

  • Remove plugin link if it's the same as the current page

3.105.0 - 23 March 2021

  • Add a download link for the current version
  • Improve style of the table a little

3.104.0 - 22 March 2021

  • Initial published version

The information on this page was retrieved by Plugin Information Version 3.263.0.

Yet more wordpress plugins I've uninstalled but want to keep a record of

First published 7th February 2021 (Last Modified 10th March 2022)

I've recently done another audit of the plugins used on this site. This was in response to the Media Library insisting that it couldn't update the metadata for media in the media library because it already existed in the library. To track this down I ended up doing a review of the media related plugins. The ones I've uninstalled are:

Bulk Change Media Author Plugin
Allowed me to fix up the author field on multiple media items. I'm now less concerned about this and hence no longer need this
Enable Media Replace
Having sorted out the correct directory structure for my plugins and themes I no longer need this plugin
Phoenix Media Rename
As with the previous plugin, sorting out the directory structure means I no longer need this plugin

Enabling updates for self-hosted WordPress themes and updates

First published 30th January 2021 (Last Modified 30th May 2021)

I recently experimented with changing my themes and plugins to support self-hosted updates. For plugins this was relatively straight-forward once I'd found two articles, one by Misha Rudrastyh, which got me to adjust the contents of the zip files down one level (which allows WordPress to understand that the new zip file being uploaded is a replacement/update for a plugin that is already installed) and gave the basics of the self-hosted update process1, including hosting a file that describes the update along side the zip file that is the actual update. The second article by Paul Biron showed what the current version of WordPress is expecting in the php code for plugins

However those articles don't talk about themes that much. To be fair the process for themes is very similar2. However the expection of the WordPress code is different to that for plugins, so as a record here's my code:

function ningxia_check_for_update( $slug ) {
 $info = ningxia_get_remote_update_info( $slug );
 if ( false == $info ) {
  return false;
 }
 if ( version_compare( '@@@VERSION@@@', $info['version'], ' $slug,
    'new_version'   => $info['version'],
    'url'           => $info['homepage'],
    'package'       => $info['download_link'],
    'icons'         => array(),
    'banners'       => array(),
    'banners_rtl'   => array(),
    'tested'        => '',
    'requires_php'  => '',
    'compatability' => new StdClass()
  );
  return $update;
 } else {
  return false;
 }
}

function ningxia_pre_set_site_transient_update_themes( $transient ) {
 // Check for update
 $themeslug = 'Ningxia';
 $update = ningxia_check_for_update( $themeslug );
 if ( $update ) {
  $transient->response[$themeslug] = $update;
 }
 return $transient;
}
add_filter( 'pre_set_site_transient_update_themes', 'ningxia_pre_set_site_transient_update_themes' );

My build process modifies the @@@VERSION@@@ string into the current version number for the build being created (for example, 3.80.1) whereas the $info[['version']] comes from the json that been retrieved from the self-hosting site.


Last updated: May 30, 2021 at 9:36 am

Footnotes

  1. Though I did have to adjust the logic slightly - when you detect that the filter call is not for the current plugin you need to return the current value of first parameter and not just return false
  2. Though the articles I've read suggest that there could be differences for multi-site setups - as this site is not a multi-site setup, I've yet to test how well this description works for that kind of setup