Code: Selecteer alles
###############################################################################################
## MOD Title: New Years Wish + Merry Christmas
## MOD Author: Xanland < xanland@chello.nl > (Xander Hoogland) N/A
## MOD Description: Will add a popup that wishes your guests and members a merry christmas and a happy new year
## MOD Version: 0.1.0
## MOD Testpage: http://www.xanland.nl.tt/futuredance
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit: overall_header.tpl
## Included Files: popup.html
## newyear-christmas.jpg
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This is my first mod I build.
##
##############################################################
## MOD History:
##
## 2005-12-23 - Version 0.1.0
## -
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
{L_LOGIN_LOGOUT}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_logged_out -->
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=350,left = 387,top = 259');");
}
// End -->
</script>
<BODY onLoad="javascript:popUp('popup.html')">
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=350,left = 387,top = 259');");
}
// End -->
</script>
<BODY onLoad="javascript:popUp('popup.html')">
<!-- END switch_user_logged_in -->
#
#-----[ OPEN ]------------------------------------------
# popup.html (included)
[EDIT]
Edit the file to your own liking!
!!!-(Don't forget to change the Path's and the Title and Optional you can change the Color's)-!!!
#
#-----[ COPY ]------------------------------------------------
#
/popup.html to forumroot/popup.html
/newyear-christmas.jpg to forumroot/newyear-christmas.jpg
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM