Topic: AJAX post preview 1.0.1
##
##
## Mod title: AJAX post preview
##
## Mod version: 1.0.1
## Works on PunBB: 1.2, 1.2.10
## Release date: 2005-12-08
## Author: bedroom
##
## Description: This mod uses the xajax library to quickly display the
## preview of a post (or errors in the post)
##
## (see: http://xajax.sourceforge.net)
##
## Nothing fancy, it does what the "Preview" button does,
## only without posting the form and reloading the page.
##
## Note that if javascript is disabled, the "Preview"
## button will still work the usual way (This is called
## graceful degradation, folks :) )
##
## Affected files: header.php
## post.php
## edit.php
##
## Affects DB: No
##
## Notes: Tested with Firefox 1.5, Internet Explorer 6.0,
## Opera 8.51
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
1.0.1 is the version you want !
This version has two bugfixes :
1. Added utf8_decode() and utf8_encode() going in and out of the getpreview() function in post.server.php. Special characters like the french "à" are now displayed correctly in the preview block.
2. Fixed a bug with single- and double-quotes displaying incorrectly when magic_quotes_gpc is enabled.
Furthermore, 7 additional steps were added to the readme, so that the mod is now applied to edit.php as well.
If you have version 1.0 installed and wish to upgrade, simply download the new files, upload the new post.server.php and follow steps 14 to 21 of the readme.
Thank you for using this mod !