Information sur les auteurs & la licence
Retour à la page principale des auteursAide pour pnMessages version 1.5
Installation notices:
================================================================================
Upgrade:
--------------------------------------------------------------------------------
!!!! Users of the CVS version should delete the column
!!!! "pn_msg_image" in the table "*_pnmessages".
!!!! The column is obsolete.
--------------------------------------------------------------------------------
Ajax: !!!!
--------------------------------------------------------------------------------
To use the several ajax-features, please copy the
modules/pnMessages/pnjavascript/ajax folder to your PostNuke javascript folder.
The ajax-scripts exits additionally exists in the pnForum NOC-project as "AjaxSupportPackage"
http://noc.postnuke.com/projects/pnforum/
But please do not forget to copy the following directories of pnMessages
into your ajax-directories, because they are not included in "AjaxSupportPackage".
modules/pnMessages/pnjavascript/ajax/stylesheets
modules/pnMessages/pnjavascript/ajax/themes
Plugin pnmdisplaygreeting created by Lindbergh
(modules/pnMessages/pntemplates/plugins/function.pnmdisplaygreeting.php)
--------------------------------------------------------------------------------
If you want to replace your displaygreeting plugin, copy the file
function.pnmdisplaygreeting.php from modules/pnMessages/pntemplates/plugins
to modules/xanthia/plugins or your xanthia-theme-directory.
Replace the plugin call in your theme to <!--[pnmdisplaygreeting]-->
Other calls are described in the plugin.
Plugin ajaxmessageinfo_pnm created by sven schomacker aka hilope
(modules/pnMessages/pntemplates/plugins/function.ajaxmessageinfo_pnm.php)
--------------------------------------------------------------------------------
Plugin call already exists in the block-templates "pnmessages_block_messages.htm":
<!--[ ajaxmessageinfo_pnm]-->
Other calls are described in the plugin.
Using pnMessages in pnRender-Templates
--------------------------------------------------------------------------------
If you want to use pnMessages in pnRender-Templates, perhaps in combination
with displaygreeting, please use the following pnmodapifunction:
<!--[pnmodapifunc modname="pnMessages" type="user" func="getmessagecount" assign="messages"]-->
Now you can use the $messages-array with following fields:
<!--[$messages.unread]-->
<!--[$messages.unread]-->
<!--[$messages.totalin]-->
<!--[$messages.totalout]-->
<!--[$messages.totalarchive]-->
<!--[$messages.limitin]-->
<!--[$messages.limitout]-->
<!--[$messages.limitarchive]-->
<!--[$messages.inboxlimitreached]-->
<!--[$messages.outboxlimitreached]-->
<!--[$messages.archivelimitreached]-->
<!--[$messages.indicatorbarin]-->
<!--[$messages.indicatorbarout]-->
<!--[$messages.indicatorbararchive]-->
--------------------------------------------------------------------------------
Prototype License:
Prototype is freely distributable under the terms of an MIT-style license.
For details, see the Prototype web site: http://prototype.conio.net/
Prototype Window Class License:
licensed under the terms of the MIT License, see the included MIT-LICENSE file.
for more details: http://prototype-window.xilinus.com
================================================================================
Upgrade:
--------------------------------------------------------------------------------
!!!! Users of the CVS version should delete the column
!!!! "pn_msg_image" in the table "*_pnmessages".
!!!! The column is obsolete.
--------------------------------------------------------------------------------
Ajax: !!!!
--------------------------------------------------------------------------------
To use the several ajax-features, please copy the
modules/pnMessages/pnjavascript/ajax folder to your PostNuke javascript folder.
The ajax-scripts exits additionally exists in the pnForum NOC-project as "AjaxSupportPackage"
http://noc.postnuke.com/projects/pnforum/
But please do not forget to copy the following directories of pnMessages
into your ajax-directories, because they are not included in "AjaxSupportPackage".
modules/pnMessages/pnjavascript/ajax/stylesheets
modules/pnMessages/pnjavascript/ajax/themes
Plugin pnmdisplaygreeting created by Lindbergh
(modules/pnMessages/pntemplates/plugins/function.pnmdisplaygreeting.php)
--------------------------------------------------------------------------------
If you want to replace your displaygreeting plugin, copy the file
function.pnmdisplaygreeting.php from modules/pnMessages/pntemplates/plugins
to modules/xanthia/plugins or your xanthia-theme-directory.
Replace the plugin call in your theme to <!--[pnmdisplaygreeting]-->
Other calls are described in the plugin.
Plugin ajaxmessageinfo_pnm created by sven schomacker aka hilope
(modules/pnMessages/pntemplates/plugins/function.ajaxmessageinfo_pnm.php)
--------------------------------------------------------------------------------
Plugin call already exists in the block-templates "pnmessages_block_messages.htm":
<!--[ ajaxmessageinfo_pnm]-->
Other calls are described in the plugin.
Using pnMessages in pnRender-Templates
--------------------------------------------------------------------------------
If you want to use pnMessages in pnRender-Templates, perhaps in combination
with displaygreeting, please use the following pnmodapifunction:
<!--[pnmodapifunc modname="pnMessages" type="user" func="getmessagecount" assign="messages"]-->
Now you can use the $messages-array with following fields:
<!--[$messages.unread]-->
<!--[$messages.unread]-->
<!--[$messages.totalin]-->
<!--[$messages.totalout]-->
<!--[$messages.totalarchive]-->
<!--[$messages.limitin]-->
<!--[$messages.limitout]-->
<!--[$messages.limitarchive]-->
<!--[$messages.inboxlimitreached]-->
<!--[$messages.outboxlimitreached]-->
<!--[$messages.archivelimitreached]-->
<!--[$messages.indicatorbarin]-->
<!--[$messages.indicatorbarout]-->
<!--[$messages.indicatorbararchive]-->
--------------------------------------------------------------------------------
Prototype License:
Prototype is freely distributable under the terms of an MIT-style license.
For details, see the Prototype web site: http://prototype.conio.net/
Prototype Window Class License:
licensed under the terms of the MIT License, see the included MIT-LICENSE file.
for more details: http://prototype-window.xilinus.com








