Hello,
Just released a new Version of Shoutbox
Changelog:v1.5 Apr 06, 2008
- added support for edit CSS functions of WB 2.7
- added ` quotes for all DB queries table names and fields to prevent issues with MySQL special chars like -
- changed mechanism to prevent files from beeing accessed directly (redirect instead off displaying an error message)
Download:You can download the new version on our addons Page.
ShoutIt_v1.5Requirements:- To get the css files displayed in the head section of your template and not in the body section, add the following code to the head section of the index.php from your template:
<?php
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
if(function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('js');
} ?>
This code only works in WB 2.6.7 and WB 2.7, if you use a lower version of WB, you don't need to make changes in your template. The css will be displayed in the body tag as it was in previous versions.
- The latest release uses the integrated edit module CSS functions of the WB 2.7 core (introduced with WB 2.7 RC3). To add this feature to WB 2.6.x, one needs to copy the files
/framework/module.functions.php and
edit_module_files.php from a WB 2.7 (RC3 or higher) to the WB 2.6.x installation. In addition one needs to define 3 language variables in the WB language files:
$TEXT['CAP_EDIT_CSS'] = 'Edit CSS';
$TEXT['HEADING_CSS_FILE'] = 'Actual module file: ';
$TEXT['TXT_EDIT_CSS_FILE'] = 'Edit the CSS definitions in the textarea below.';
How to update?:- First make a copy of modul stylesheets and if you have already 1.4 installed from your frontend.css.
- Then simply install the new version over the old one
- Copy now the stored stylesheets in the frontend.css by using the Edit Css funktion.
!!!Please remember, that this is only a shoutbox and no chat modul!!
Hope you like it.
Matthias