View previous topic :: View next topic |
Author |
Message |
Nightmare EasyPHPBB Expert
Joined: 26 Mar 2005 Posts: 378 Location: Canada
|
Posted: Sun Oct 16, 2005 2:53 am Post subject: Save Bandwidth MOD |
|
|
Code: |
##############################################################
## MOD Title: Save Bandwidth MOD
## MOD Author: yoshi15 < yoshi_15h@hotmail.com > (Nick Woronekin) http://www.yoshiuniverse.com
## MOD Description: This mod will save you 166 bytes of bandwidth per page if you do not get a popup for a new private message.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: ~1 Minute
## Files To Edit:
## includes/page_header.php
## Included Files: N/A
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: Can save alot of bandwidth if you get alot of visitors ;)
##
##############################################################
## MOD History:
##
## 2004-05-15 - Version 1.0.0
## - Mod first started & completed
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($userdata['user_popup_pm']) )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !empty($userdata['user_popup_pm']) && $s_privmsg_new != 0 )
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
|
Notes:
This MOD saves a tiny bit of bandwidth on each page of your forum when it is loaded. It doesn't save a whole lot.
but it does save a little bit of bandwidth. _________________ EasyPHPBB Support Mod from 07/07/05 to 01/14/07.
If you need help please contact EasyPHPBB with your problem. |
|
Back to top |
|
|
EasyPHPBB EasyPHPPB Owner
Joined: 27 Feb 2005 Posts: 408
|
Posted: Sun Oct 16, 2005 3:14 am Post subject: |
|
|
Thanks, I will add it shortly.
Everything little bit helps.
EasyPHPBB.com |
|
Back to top |
|
|
Jesse EasyPHPBB Addict
Joined: 07 Oct 2005 Posts: 173 Location: Australia-Brisbane
|
Posted: Sun Oct 16, 2005 3:49 am Post subject: |
|
|
cool that will make my forum faster wont it? _________________ My Forum:
http://www.krypton.co.nr |
|
Back to top |
|
|
EasyPHPBB EasyPHPPB Owner
Joined: 27 Feb 2005 Posts: 408
|
Posted: Sun Oct 16, 2005 4:01 am Post subject: |
|
|
Not really lol. 166 bytes isn't a lot. If I want it to load faster I need to cut down on SQL querys or images heh.
EasyPHPBB.com |
|
Back to top |
|
|
Jesse EasyPHPBB Addict
Joined: 07 Oct 2005 Posts: 173 Location: Australia-Brisbane
|
|
Back to top |
|
|
|