Topic: Search Results Highlighting MOD
##
## Mod title: Admin CP Localization
##
## Mod version: 1.0.3
## Works on PunBB: 1.2.4
## Based on latest 1.2.4 SVN (153)
## Release date: 2005-03-23
## Author: Sakis (aka SSB) (ssb@in.gr)
##
## Description: Searching keywords highlighting mod
##
## Affected files: search.php
## vewtopic.php
## your stylesheet
##
## Affects DB: No
##
## Notes: Coded with minimum changes to the original PunBB-files.
## It highlights all found keywords after a successful searching.
## Mod recognizes wildcard and highlights the whole maching words.
## It works fine with quoted text and code.
##
## 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.
##
##
## Installation: Follow next steps to enable admin CP localization.
##
## Replace PunBB search.php, viewtopic.php files with those in mod archive
## Append the following line in \imports\Oxygen_cs.css or your own color scheme stylesheet
##
## SPAN.hlight {font-weight: bold; COLOR: #FF0000}
##
## That's all...
##
## If you want to apply this mod manually, there are two diff files included in archive.
##
This mod highlights all found keywords after a successful searching.
It recognizes wildcard (*), highlighting the whole maching words and works in quoted / code text too.
Highlighting color depends on a CSS entry, you can append in your own color scheme stylesheet.
For example, the next entry appended to style/imports/Oxygen_cs.css diplays keywords bold-red
SPAN.hlight {font-weight: bold; COLOR: #FF0000}
Thia mod has been tested with English amd foreign iso-8859-xx encodings and seems to work just fine.
It was not test extensively with UTF-8 though. If you find any bugs, please post me a note.
This mod works with latest PunBB (1.2.4) but it can be easily adapted to any previous and/or future version.
BTW i'd like to see this mod or any other similar, included in PunBB official code. IMHO searching results highlighting, is a must.
Regards