MultiHook 4.5 - v4.5
Author: Landseer
PostNuke Version: PostNuke Phoenix .760
Category: Hook
pnAPI Compliancy:
Yes
pnRender Compliancy:
Yes
Description:
MultiHook scans texts for links, abbreviations and acronyms and replaces them with correct a, abbr and acronym tags. It can also be used to censor words or phrases (since v4.5).
All data can be displayed in a glossary.
You can add new links etc. by marking a word with your mouse on every page inside PN using Ajax popups.
Since 4.0 MultiHook supports a feature called Needles. This is taken from Oivind Skau's PagEd module (where it is called needlesets) and allows anyone to simply add links to other modules:
e.g. PNFORUMF-1 creates a link to the forum with id=1 showing the forum name as link text.
e.g. PHOTOSHARET-4 shows a thumbnail of image 4 as link to the fullsize image
e.g. PHOTOSHAREP-4-300-150 shows image 4 with width=300 and height=150
Needles for Downloads (1.31 and 2.0), htmlpages, pnForum, PagEd, Pagesetter, Photoshare and Web_Links are included.
See the pndocs/install.txt for more about this and how to add your own needles
If you want to support the MultiHook development, visit my Amazon list
System Requirements:
.760+ required
.764 recommended
Support Information:
support forums at http://support.pn-cms.de, english forums will follow
Supported Languages:
German, English, French
Change Log:
Version 4.5
- implemented censor functions
- fixed [#3462] Link to "more-modules" is wrong
- fixed [#3461] Link for Needle: DOWNLOADD is wrong
Version 4.0
- added PagEd-like needles
- removed prototype.js from distribution, you need to install the AjaxSupportPackage
from http://noc.postnuke.com/frs/?group_id=8 to get full Ajax support in MultiHook now
Version 3.0
*** important: prototype.js must now be copied to /javascript/ajax!!!!!
*** please read the install.txt for more information!
- prototype.js updated to 1.5.0_rc0
- xhtml/wcag fixes
- fixed encoding of strings in javascript to enable usage of special chars in urls etc.
- fixed _MODARGSERROR in pnuserapi.php when editing an item (same as bug #2957)
- fixed bug in templates (IE....)
- fixed bug: class for external links
- fixed bug #2676 multiple autolinks possible
- fixed bug #2947 XHTML validation of new/modify/modifyconfig templates
- fixed bug #3007 preg_replace error in Multihook at community.postnuke.com
- added FR #2677 copy paste damaged - using CTRL now as modifier to show the popup when selecting text
- added FR #2971 Don't link to current URL

4 Comments so far
(Latest comments
)
1. MrGer wrote on Oct 12, 2006 at 06:58 PM
Congratulations.
2. daddysupa wrote on Oct 13, 2006 at 01:44 PM
Hi Landseer,Thanks for the module. I installed the module but there were a couple things I needed to change to get it working correctly, and also there is still one outstanding item.
1. The links in the admin area for the module had incorrect links for "Activate Multihook for more modules". The URL in there was calling "Module" instead of "Modules". I tidied that up for both active modules, and to add additional modules.
2. The global.php lang file for English, needed to be updated for "Activate Multihook for more modules", as it read "Activate Multihook fur more modules" before.
3. My website is XHTML 1.1 compliant. As such, the acronym "lang=en" is deprecated for XHTML 1.1. I have commented out the line from common.php that does this. It might be nice to do a detect on which header is being called and tweak common.php to suit.
4. The biggest problem for me is that I do not get the multihook plugin to work correctly. When I add the plugin call to my Xanthia theme just before , all that happens is that the webpage appears longer than it should be. The code for the plugin is applied, but for some reason it is not really "hidden".
5. If I enable Edit Links in the module configuration, then the square box is shown, but there is no active link when clicking on it. Might be a bug.
Just providing some feedback.
Thanks
supa
3. daddysupa wrote on Oct 18, 2006 at 03:50 AM
Sorry guys, I will move this to NOC.wish i could delete comments posted by me
supa
4. Sorak wrote on May 25, 2007 at 02:54 AM
Does not seem to work for blocks module