SP-Truncate Board News v1.24

Started by Chen Zhen, May 18, 2018, 02:26:02 PM

Previous topic - Next topic

Chen Zhen

SP-Truncate Board News v1.24

Download: https://web-develop.ca/index.php?action=downloads;area=stable_simple_portal_plugins;file=26

The DOM XHTML/HTML character filter should now be able to handle UTF-8 characters.
Please report any issues.


Version History:
----------------

v1.24
+ added SP config setting to force UTF-8 encoding for Board News
! fixed DOM loadHTML for UTF-8 characters setting

v1.23
! fixed DOM character filter to handle multibyte characters
- removed ability to opt number of recent/posts per board (now separate mod)
- removed ability to opt age of posts/topics per board (now separate mod)
- removed ../Sources/PortalRecent.php
+ changed type of copyright

v1.22
! fixed truncate function to return $context defined character set else UTF-8

v1.21
+ added ../Sources/PortalRecent.php
+ added ability to opt number of recent/posts per board
+ added ability to opt age of posts/topics per board

v 1.1
! "..." display at end of truncated post body always directly after last character
! adjusted the name of this plug-in to reflect its intention/behaviour

v 1.0
+ added ../Sources/Subs-PortalTruncate.php
+ alters code within PortalBlocks.php to use newer routines for truncating Board News


Glossary:
---------

v : Version
! : Bug/error fix
- : Removal of option/function
+ : Additional option/function
# : notation