gast pop-up geht nicht

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
austrian-i
Mitglied
Beiträge: 724
Registriert: 28.08.2004 18:01

gast pop-up geht nicht

Beitrag 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?
Zuletzt geändert von austrian-i am 25.09.2004 19:44, insgesamt 1-mal geändert.
Benutzeravatar
austrian-i
Mitglied
Beiträge: 724
Registriert: 28.08.2004 18:01

Beitrag von austrian-i »

kennt jemand vielleicht einen anderen guest-pop-up, der funktioniert?
Antworten

Zurück zu „phpBB 2.0: Mod Support“