Seite 1 von 1

gast pop-up geht nicht

Verfasst: 01.09.2004 11:24
von austrian-i
hey eine frage:

ich hab versucht das gast-pop-up von http://www.phpbbhacks.com/download.php?id=700

zu installieren dort steht

Code: Alles auswählen

########################################################################################### 
### Mod Title: Guest Register Pop-Up
### Mod Version: Alfa 1a
### Phpbb Version: 2.02
### Created: Sept 2002
### Author: Jamer (webmaster@jamer.co.uk)
### 
###########################################################################################
### Author Notes:  This Will add a popup, suggesting to your guests, that they register for 
### your forums.
###
### Demo:  http://www.jamer.co.uk/scripts/phpbb2
### Installation Level: 	Easy 
### Installation Time:  	3-4 Minutes
### Files To Edit:       1      overall_header.tpl
###                      	
### Included Files:             popup.tpl                    
###
###########################################################################################
### Before Adding This MOD To Your Forum, You Should Back Up All Files Related To this mod ###########################################################################################
# 
#-----[ OPEN FILE: ]------------------------------------------ 
# templates/xxx/overall_header.tpl

[FIND:]
{L_LOGIN_LOGOUT}</a>&nbsp;

[ADD AFTER:]
<!-- BEGIN switch_user_logged_out --> 
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
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.tpl')">

<!-- END switch_user_logged_out -->

# 
#-----[ OPEN FILE: ]------------------------------------------ 
# popup.tpl (included)

[EDIT]

You can edit this file to how you want it to look!
(Remembert to change the Path's and the Title & you can also change the Colour's, if you prefer a different look, or to match your forum colour scheme) ENJOY...

# 
#-----[ UPLOAD FILES: ]------------------------------------------ 
# 
templates/xxx/overall_header.tpl
/popup.tpl



##########################################################################################
und das

Code: Alles auswählen

{L_LOGIN_LOGOUT}</a>&nbsp;
find ich aber nirgends in meinem template (habe nicht subsilver), daher hab ich den code, er hinzugefügt werden soll ganz unten im overall_header eingebaut aber da tut sich nichts, kein pop-up, nichts.

wo müsste man das im overall_header einbauen?

Verfasst: 01.09.2004 13:07
von austrian-i
kennt jemand vielleicht einen anderen guest-pop-up, der funktioniert?