This version was patched to primarily work with PHP 8.x, but will work with PHP
7 as well. PHP 5... as 0f 2026/10/30, it is possible again.


Some things:

* Everything seems to work properly except the dynamic banner to an extent. It
  is possible to view it by itself, but the image is not generated to the
  resultant .epub file, so the dynamic banner ends up broken.

* Epub.php needed an each() shim attached for now.

* Added the official ePub logo for skin use, 16x16 size. Should probably add a
  24x24 version or something.

* Fixed the Table of Contents link oversight, which also plagued Display Word.
  [Properly fixed 2026/09/23]

* Fixed generating ePub books when no cover image is selected, by author or
  admin.

* Fixed generating ePub books when no image support is enabled. Also disabled
  error message in cover images, as it is technically not needed for Cover
  Image: NONE choices.

* Added optional blank-cover.png image.

* typo fix in cover_img.php.

* install.php uses eFiction dbnumrows() function instead of hardcoded
  mysql_num_rows or mysqli_num_rows functions.

* uninstall.php was missing the epubversion language include(), so fixed.

* Module has been converted to support PHP 5 again.

* install.php has been fixed to support table column epubread to be higher than
  127, e.g. from tinyint(1) to int(1). May need to be set higher. You're going
  to have to update this yourself if this module is already installed.

* upgrade.php uses eFiction dbnumrows() function instead of hardcoded
  mysql_num_rows functions.

* default_tpls now has fixed versions in the default_tpls and its variants
  subdirectory. A chosen variant should be renamed to epubs.tpl after adding it
  to default_tpls and a skin, since not all skins use the same listbox style
  (some use {oddeven}, some do not).

* a new file, browse_timestamp.php now exists. Only needed for e107-efiction
  and eFiction 3 Mod, as the dates are stored using the Unix timestamp instead
  of datetimes like the upstream eFiction releases. If you are using either
  version, replace the original browse.php file with that version.

                                                                   Ami Sapphire
        2026/09/16, 2026/09/19, 2026/09/23, 2026/09/25, 2026/09/28, 2026/10/30,
                                                                     2026/11/02
