Save Bandwidth MOD EasyPHPBB
PHPBB the quick and easy way.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages    Log inLog in 
  GamesGames   

Refi

Bookmark this site!
Save Bandwidth MOD

 
Post new topic   Reply to topic    EasyPHPBB Forum Index -> Mods and Mod Requests
View previous topic :: View next topic  
Author Message
Nightmare
EasyPHPBB Expert
EasyPHPBB Expert


Joined: 26 Mar 2005
Posts: 378
Location: Canada

PostPosted: Sun Oct 16, 2005 2:53 am    Post subject: Save Bandwidth MOD Reply with quote

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
View user's profile Send private message
EasyPHPBB
EasyPHPPB Owner
EasyPHPPB Owner


Joined: 27 Feb 2005
Posts: 407

PostPosted: Sun Oct 16, 2005 3:14 am    Post subject: Reply with quote

Thanks, I will add it shortly.
Everything little bit helps.

EasyPHPBB.com
Back to top
View user's profile Send private message Send e-mail
Jesse
EasyPHPBB Addict
EasyPHPBB Addict


Joined: 07 Oct 2005
Posts: 173
Location: Australia-Brisbane

PostPosted: Sun Oct 16, 2005 3:49 am    Post subject: Reply with quote

cool that will make my forum faster wont it?
_________________
My Forum:

http://www.krypton.co.nr
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
EasyPHPBB
EasyPHPPB Owner
EasyPHPPB Owner


Joined: 27 Feb 2005
Posts: 407

PostPosted: Sun Oct 16, 2005 4:01 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Jesse
EasyPHPBB Addict
EasyPHPBB Addict


Joined: 07 Oct 2005
Posts: 173
Location: Australia-Brisbane

PostPosted: Sun Oct 16, 2005 4:10 am    Post subject: Reply with quote

OK!
_________________
My Forum:

http://www.krypton.co.nr
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger

Display posts from previous:   
Post new topic   Reply to topic    EasyPHPBB Forum Index -> Mods and Mod Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Create your own free forum now!
Terms of Service Purchase Ad Removal Forum Archive Report Abuse