RSS
News
The Display Word and ePubVersion modules are functional

Last Updated: 2026/11/16


Module Status


Display Word: Fully Functional

Download - PHP 5.x to 8.x: http://cwcyrix.nsupdate.info/efiction-info/downloads/modules/3.x/displayword-2.0.zip

Notes: Needed some patching for PHP 8.x and for somewhat broken co-authors data retrieval. As a result, I got the co-authors in filename behavior working along with the co-authors behavior in the document itself! Version 1.6 should be definitive now.

Update 2026/09/19: Version 1.7 released: the storyblock link only yanks one chapter when linked at the table of contents. This is a very old oversight. Discovered that when modding it to make it more prominent on the site.

Update 2026/09/23: Version 1.8 released: Properly fixed the table of contents/storyindex discrepancy.

Update 2026/09/28: Version 1.9 released: Fixed uninstall.php Uncaught TypeError due to nonexistent constant.

Update 2026/10/30: Version 2.0 released: It now actually supports PHP 5 again, so it supports PHP 5.x to 8.x. Also fixed 'current' variable oversight titled as 'challenges' in uninstall.php.

Update 2026/10/31: Version number unchanged, but the .zip file is updated to patch security issues with install.php, update.php, and uninstall.php - regarding admin check.


ePubVersion: Near Fully Functional

Download - PHP 5.x to 8.x: http://cwcyrix.nsupdate.info/efiction-info/downloads/modules/3.x/epubversion-1.3u1-working-20261116.zip

Notes: Needed patching for PHP 8.x. Installer needed to use Version 1.2 behavior. Fixed the Array to string conversion warning in epubversion.php and Undefined property warning in EPub.php. The cover_img.php and image_support.php files had deprecated strtolower() use, so patched as well. The manage.php file was broken, but caught this one early! The dynban.php file was the very first one fully fixed... or so I thought. [Such dynamic banner use does not work in the .epub file, so the image remains broken. The file itself does render font and background, however.] Also upgraded the ePub class to last known 2.x version as a test, and it works there as well. Cover art, when enabled, is generated twice in the document. A blank page is inserted at the end of the document. The cover art one may be a bug (found out not), but the blank page one may be intentional.

Added a recent ePub logo to this module, which is now deployed to this testing archive CMS. Found out the Epub.php class file uses deprecated each(), but the code still functions in PHP 8... Fixed story link oversight, which also plagued Display Word. Properly fixed story link oversight on 2026/09/23. Fixed generating ePub books when no cover image is chosen or no image support is even enabled on 2026/09/25, meaning all earlier releases are obsolete. Fixed uninstall.php Uncaught TypeError due to not including its own language file path on 2026/09/28.

Bugfixes on 2026/10/30: epubread in fanfiction_stories will error out past 127 due to TINYINT(1) oversight; that was fixed. Module was converted to support PHP 5.x again. update.php script was (mostly) fixed, but not likely needed in most cases.

Security and bug fixes on 2026/10/31: security issues with install.php, update.php, and uninstall.php - regarding admin check. Bugfixes include a nonexistent penname would show every story instead of none. (I actually triggered this by accident by using %%%.)

Update 2026/11/02: default_tpls have been fixed and there are additional tpl files other than the original one. A chosen tpl should be renamed to epubs.tpl and be placed in your skin's directory (NOT /skins/). The fixed one goes into the default_tpls directory and renamed to epubs.tpl. Also, a Unix timestamp version of browse.php, called browse_timestamp.php now exists for installations of e107-efiction versions 3.5.6 and later, and eFiction 3 Mod (diverged future e107-efiction 3.5.9 fork). Just replace the original browse.php with that one if you see the date added dates are all today's date, lol.

Update 2026/11/11: libs/HTMLPurifier.standalone.php needed a deprecation notice patch regarding ReturnTypeWillChange for PHP 8.x users. One of two real fixes should happen: upgrade HTMLPurifier from 4.3.0 to 4.8.0, or use some of the patches from 4.8.0 onto 4.3.0. The EPub+Zip class can also be upgraded; was done as an experiment about two months ago. Doing so will bump the release version, however.

Update 2026/11/15: dynban.php and dyncover.php have PHP 8.x deprecation notice fixes re: passing null to stripslashes.

Update 2026/11/16: Definitive fixes to libs/HTMLPurifier.standalone.php regarding ReturnTypeWillChange for PHP 8.x users. Found out HTMLPurifier 4.8.0 didn't have this fixed, only merely referenced it in comments, so it had to be patched by specifying :bool and :mixed in the affected functions within their classes in both versions.



Ami Sapphire on 2026/09/14 • 12:42
[ 0 Comments ]