for the shoutbox:
The shoutbox is a great instant messenger on some site, yet for others, it adds queries, auto refreshes and has a limited level of control for some forums. The block is hard coded into the templates folders at templates/your_template/index_body.tpl
When I remove the shoutbox I go a little wider of the actual MOD and take out a little either side to line it up with the calendar.
FIND
- Code: Select all
<tr><td><BEGIN><Start>
DELETE
- Code: Select all
<tr><td><BEGIN><Start><table> <tr> <td><span><a>{L_SHOUTBOX}</a></span></td> </tr> <tr><td> <iframe></iframe> </td> </tr> </table><table><tr><td><img></td><td><img></td><td><img></td></tr></table><End><END></td></tr><BEGIN><tr><td> </td></tr><tr><td>
In addittion to this Tekime suggested Removing this from the template
will reduce the number of queries, because the shoutbox is an iframe element which is loading shoutbox_view.php, which is in turn running at least two queries. It also includes a number of other scripts (extension.inc, common.php, lang files, bbcode, template, database classes, etc.).
Basically with the shoutbox enabled you're getting two hits for every one. If your shoutbox is busy I imagine the queries could get noticeable over time.
To remove completely I did the following]Open templates/your_template/index_body.tpl[/b]
Find, and remove:
- Code: Select all
<tr><td><BEGIN><Start><table> <tr> <td><span><a>{L_SHOUTBOX}</a></span></td> </tr> <tr><td> <iframe></iframe> </td> </tr> </table><table><tr><td><img></td><td><img></td><td><img></td></tr></table><End><END></td></tr>
Open index.phpFind, and remove]// Start add - Fully integrated shoutbox MOD 'U_SHOUTBOX' => append_sid("shoutbox.$phpEx"), 'L_SHOUTBOX' => $lang['Shoutbox'], 'U_SHOUTBOX_MAX' => append_sid("shoutbox_max.$phpEx"),// End add - Fully integrated shoutbox MOD[/code]
A