Verfasst: 18.11.2003 18:39
########################################################################
##
## MOD Titel: IrCQ-Net Chat
## MOD Version: 1.00 - 06.07.2003
## MOD Autor: BZebra @ http://BZebra.free.fr
##
########################################################################
##
## Description:
## Adds an IrCQ-Net Chat Room (visit http://www.icq.com/panels/ircqnet)
## to your phpBB2, which can be visible to users (version 1)
## or both to users and guests (version 2). Chat is opened in a
## popup-window.
##
## Beschreibung:
## Fügt Deinem phpBB2 einen IrCQ-Net Chat Room (siehe
## http://www.icq.com/panels/ircqnet) hinzu, der nur für Mitglieder
## sichtbar sein kann (Version 1) oder sowohl für Mitglieder als auch
## für Gäste (Version 2). Der Chat wird in einem Popup-Fenster geöffnet.
##
########################################################################
##
## This mod is for phpBB 2.0.x
##
## Installation Level: Easy
## Installation Time: 4 Minutes
##
## Files To Edit: 2
## includes/page_header.php
## templates/subSilver/overall_header.tpl
##
## Included files: 1
## templates/subSilver/images/icon_mini_chat.gif
##
########################################################################
##
## Before adding this MOD to your forum, you should back up all
## files related to this MOD
##
########################################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
#
#-----[ AFTER ADD ]-------------------------------------
#
$l_ownusername = $userdata['username'];
#
#-----[ FIND ]------------------------------------------
#
'L_LOGIN_LOGOUT' => $l_login_logout,
#
#-----[ AFTER ADD ]-------------------------------------
#
'L_OWNUSERNAME' => $l_ownusername,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_enable_pm_popup -->
#
#-----[ AFTER ADD ]------------------------------------------
#
<script type="text/javascript">
function Chat() {
Chat =
window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... =undefined", "Chat", "width=635,height=430,scrollbars=no");
Chat.focus();
}
//-->
</script>
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>
<!-- END switch_user_logged_out -->
#
#-----[ AFTER ADD - VERSION 1 ]------------------------------------------
#
<!-- BEGIN switch_user_logged_in -->
<a href="javascript:Chat()" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="Chat" hspace="3" />Chat</a>
<!-- END switch_user_logged_in -->
#
#-----[ AFTER ADD / VERSION 2*]------------------------------------------
# *replaces the code of version 1 / ersetzt den Code von Verion 1
#
<a href="javascript:Chat()" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="Chat" hspace="3" />Chat</a>
#
#-----[ SAVE/CLOSE/UPLOAD ALL FILES ]------------------------------------------
#
# EoM
Welche Template? Es heißt, ich soll die overall_header.php editieren...
Die poste ich unten...
##
## MOD Titel: IrCQ-Net Chat
## MOD Version: 1.00 - 06.07.2003
## MOD Autor: BZebra @ http://BZebra.free.fr
##
########################################################################
##
## Description:
## Adds an IrCQ-Net Chat Room (visit http://www.icq.com/panels/ircqnet)
## to your phpBB2, which can be visible to users (version 1)
## or both to users and guests (version 2). Chat is opened in a
## popup-window.
##
## Beschreibung:
## Fügt Deinem phpBB2 einen IrCQ-Net Chat Room (siehe
## http://www.icq.com/panels/ircqnet) hinzu, der nur für Mitglieder
## sichtbar sein kann (Version 1) oder sowohl für Mitglieder als auch
## für Gäste (Version 2). Der Chat wird in einem Popup-Fenster geöffnet.
##
########################################################################
##
## This mod is for phpBB 2.0.x
##
## Installation Level: Easy
## Installation Time: 4 Minutes
##
## Files To Edit: 2
## includes/page_header.php
## templates/subSilver/overall_header.tpl
##
## Included files: 1
## templates/subSilver/images/icon_mini_chat.gif
##
########################################################################
##
## Before adding this MOD to your forum, you should back up all
## files related to this MOD
##
########################################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
#
#-----[ AFTER ADD ]-------------------------------------
#
$l_ownusername = $userdata['username'];
#
#-----[ FIND ]------------------------------------------
#
'L_LOGIN_LOGOUT' => $l_login_logout,
#
#-----[ AFTER ADD ]-------------------------------------
#
'L_OWNUSERNAME' => $l_ownusername,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_enable_pm_popup -->
#
#-----[ AFTER ADD ]------------------------------------------
#
<script type="text/javascript">
function Chat() {
Chat =
window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... =undefined", "Chat", "width=635,height=430,scrollbars=no");
Chat.focus();
}
//-->
</script>
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>
<!-- END switch_user_logged_out -->
#
#-----[ AFTER ADD - VERSION 1 ]------------------------------------------
#
<!-- BEGIN switch_user_logged_in -->
<a href="javascript:Chat()" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="Chat" hspace="3" />Chat</a>
<!-- END switch_user_logged_in -->
#
#-----[ AFTER ADD / VERSION 2*]------------------------------------------
# *replaces the code of version 1 / ersetzt den Code von Verion 1
#
<a href="javascript:Chat()" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="Chat" hspace="3" />Chat</a>
#
#-----[ SAVE/CLOSE/UPLOAD ALL FILES ]------------------------------------------
#
# EoM
Welche Template? Es heißt, ich soll die overall_header.php editieren...
Die poste ich unten...