Seite 1 von 2

So ich hab da ma ne frage

Verfasst: 25.10.2004 15:46
von DarkOmen
Abgetrennt von http://www.phpbb.de/viewtopic.php?t=65215

Wie funzt das eigentlich ich hab das ales gemacht aber es kommt immer das hir

function Chat() { Chat = window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... =undefined", "Chat", "width=635,height=430,scrollbars=no"); Chat.focus(); } //-->

kann mir da geholfen werden wie geht das oder brauch ich nen irc chan wenn ja das kann ich net were dan nett wen das jaman für mich macht

Verfasst: 28.10.2004 15:48
von sommer
Sieht ja gut aus!
Kann man den wo antesten?

Verfasst: 31.10.2004 02:02
von beshig
Bei dem Mod kann man doch bestimmt jeden beliebigen IRC-Server nehmen, oder? Hab nämlich schon ein Channel auf nem Server.

Verfasst: 23.11.2004 13:34
von Berilon
Also ich habe das gleiche Problem wie DarkOmen ;)

function Chat() { Chat = window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... hannel=WOW Gilde ohne Namen&nick=Berilon&info=undefined", "Chat", "width=635,height=430,scrollbars=no"); Chat.focus(); } //-->

Weiß jemand was ich falsch gemacht habe ?

Verfasst: 23.11.2004 18:36
von BZebra
sommer hat geschrieben: Kann man den wo antesten?
Demo
beshig hat geschrieben:Bei dem Mod kann man doch bestimmt jeden beliebigen IRC-Server nehmen, oder? Hab nämlich schon ein Channel auf nem Server.
Ja, der Mod öffnet einfach per Javascript einen externen Chat in einem entsprechend großen Fenster.

Die Größe und Art des Fensters wird definiert über "width=635,height=430,scrollbars=no"

{SITENAME} und {L_OWNUSERNAME} setzen jeweils den Namen des Forums und den Namen des eingeloggten Users ein; können auch ersetzt werden bzw. ganz weggelassen werden.
Berilon hat geschrieben:Also ich habe das gleiche Problem wie DarkOmen ;)

function Chat() { Chat = window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... hannel=WOW Gilde ohne Namen&nick=Berilon&info=undefined", "Chat", "width=635,height=430,scrollbars=no"); Chat.focus(); } //-->
Zu dem Prob kann ich nichts sagen. Vielleicht liegts an Javascript? Am Browser?

Re: So ich hab da ma ne frage

Verfasst: 03.12.2004 19:05
von FarChris
DarkOmen hat geschrieben:function Chat() { Chat = window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... =undefined", "Chat", "width=635,height=430,scrollbars=no"); Chat.focus(); } //-->
Das gleiche Problem habe ich auch !

Re: So ich hab da ma ne frage

Verfasst: 04.12.2004 02:45
von BZebra
DarkOmen hat geschrieben:function Chat() { Chat = window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... =undefined", "Chat", "width=635,height=430,scrollbars=no"); Chat.focus(); } //-->
Wahrscheinlich habt ihr

Code: Alles auswählen

<script type="text/javascript">
function Chat() {
 Chat =
 window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircqnet.pl5?x=635&y=440&channel={SITENAME}&nick={L_OWNUSERNAME}&info=undefined", "Chat", "width=635,height=430,scrollbars=no");
 Chat.focus();
}
//-->
</script>
in der selben Zeile hinter

Code: Alles auswählen

<!-- END switch_enable_pm_popup -->
eingefügt, und nicht in der nächsten Zeile.

Wenn in einer Installationsanleitung "AFTER ADD" steht, dann bedeuted das immer in der NÄCHSTEN Zeile einfügen.
Wenn die selbe Zeile gemeint ist, dann steht da "IN LINE, AFTER ADD".

Verfasst: 04.12.2004 17:16
von BZebra
Habe den MOD jetzt auch EasyMod kompatinbel gemacht.
Da passiert sowas dann nicht mehr. :wink:

Verfasst: 10.12.2004 20:09
von Leon2005
Kann mir einer helfen den code einzusetzten???

Ich benutzte die version 2.0.11 + Solaris Style und ich finde paar sachen nicht so wie sie in der anleitung stehen sollten.Habe auch schon die fehlenden sachen hinzugefügt aber es klapt trozdem nicht :( . Das Problem ist nach meiner meinung in der overall_header datei.

BITTE UM HILFE

Hier das was ich bis jetzt geleistet hab.


OVERALL_HEADER datei

<!-- END switch_enable_pm_popup -->

<script type="text/javascript">
function Chat() {
Chat =
window.open("http://cgi.icq.com/cgi-bin/ircqnet/ircq ... annel={The unbashable Furians}&nick={Leon}&info=undefined", "Chat", "width=635,height=430,scrollbars=no");
Chat.focus();
}
//-->
</script>

</head>
<body>
<table width="750" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td valign="top" class="maintable">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top"><a href="{U_INDEX}" class="nav"><img src="templates/Solaris/images/forumlogo.jpg" width="253" height="98" border="0" /></a></td>
<td width="50%" valign="top">

<table border="0" align="right" cellpadding="0" cellspacing="1">
<tr>
<td></td>
<td></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="9" /></td>
</tr>
<tr>
<td><a href="{U_FAQ}" name="topnavurl0"><img src="templates/Solaris/images/lang_english/topimg_faq-e.jpg" alt="{L_FAQ}" name="topnavimg0" border="0" /></a></td>
<td><a href="{U_LOGIN_LOGOUT}" name="topnavurl1"><img src="templates/Solaris/images/lang_english/topimg_login-logout-e" alt="{L_LOGIN_LOGOUT}" name="topnavimg1" border="0" /></a></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="10" /></td>
</tr>
<tr>
<td><a href="{U_SEARCH}" name="topnavurl2"><img src="templates/Solaris/images/lang_english/topimg_search-e.jpg" width="80" height="15" alt="{L_SEARCH}" name="topnavimg2" border="0" /></a></td>
<td><a href="{U_PROFILE}" name="topnavurl3"><img src="templates/Solaris/images/lang_english/topimg_profile-d.jpg" width="80" height="15" alt="{L_PROFILE}" name="topnavimg3" border="0" /></a></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="10" /></td>
</tr>
<tr>
<td><a href="{U_MEMBERLIST}" name="topnavurl4"><img src="templates/Solaris/images/lang_english/topimg_members-d.jpg" width="80" height="15" alt="{L_MEMBERLIST}" name="topnavimg4" border="0" /></a></td> <!-- onLoad="this.src=topnavimg_4;" -->
<td><a href="{U_GROUP_CP}" name="topnavurl5"><img src="templates/Solaris/images/lang_english/topimg_groups-e.jpg" width="80" height="15" alt="{L_USERGROUPS}" name="topnavimg5" border="0" /></a></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="10" /></td>
</tr>
<tr>
<td colspan="2"><a href="{U_PRIVATEMSGS}" name="topnavurl6"><img src="templates/Solaris/images/lang_english/topimg_pms-d.jpg" width="161" height="15" alt="{PRIVATE_MESSAGE_INFO}" name="topnavimg6" border="0" /></a></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="15" /></td>
</tr>
<tr>
<td colspan="2"><a href="{U_REGISTER}" name="topnavurl7"><img src="templates/Solaris/images/topimg_register.jpg" width="161" height="15" name="topnavimg7" alt="{L_REGISTER}" border="0" /></a></td>
<td><img src="templates/Solaris/images/spacer.gif" width="10" height="8" /></td>
</tr>
</table>

<script language="Javascript" type="text/javascript">
<!--
//declaring variables and arrays
var privmsg_image_path = "{PRIVMSG_IMG}", current_lang = "";

//extract the current language string
current_lang = privmsg_image_path.match(/lang_[a-z]*/);

if (current_lang != ""){

<!-- BEGIN switch_user_logged_out -->

&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/Solaris/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;

//assign image paths
document.images["topnavimg0"].src = "templates/Solaris/images/" + current_lang + "/topimg_faq-e.jpg"; //faq
document.images["topnavimg1"].src = "templates/Solaris/images/" + current_lang + "/topimg_login-e.jpg"; //login/logout
document.images["topnavimg2"].src = "templates/Solaris/images/" + current_lang + "/topimg_search-e.jpg"; //search
document.images["topnavimg3"].src = "templates/Solaris/images/" + current_lang + "/topimg_profile-d.jpg"; //profile
document.images["topnavimg4"].src = "templates/Solaris/images/" + current_lang + "/topimg_members-e.jpg"; //memberlist
document.images["topnavimg5"].src = "templates/Solaris/images/" + current_lang + "/topimg_groups-e.jpg"; //usergroups
document.images["topnavimg6"].src = "templates/Solaris/images/" + current_lang + "/topimg_pms-d.jpg"; //private messages/new private messages
document.images["topnavimg7"].src = "templates/Solaris/images/" + current_lang + "/topimg_register-e.jpg"; //register

<!-- END switch_user_logged_out -->

<!-- BEGIN switch_user_logged_in -->

&nbsp;<a href="javascript:Chat()" class="mainmenu"><img src="templates/Solaris/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="Chat" hspace="3" />Chat</a>

//parse strings
loginlogout = "{U_LOGIN_LOGOUT}";
stringIndex = loginlogout.indexOf("amp");
loginlogout2 = loginlogout.slice(0,stringIndex);
loginlogout2 += loginlogout.slice(stringIndex+4);

//assign image paths
document.images["topnavimg0"].src = "templates/Solaris/images/" + current_lang + "/topimg_faq-e.jpg"; //faq
document.images["topnavimg1"].src = "templates/Solaris/images/" + current_lang + "/topimg_logout-e.jpg"; //login/logout
document.images["topnavimg2"].src = "templates/Solaris/images/" + current_lang + "/topimg_search-e.jpg"; //search
document.images["topnavimg3"].src = "templates/Solaris/images/" + current_lang + "/topimg_profile-e.jpg"; //profile
document.images["topnavimg4"].src = "templates/Solaris/images/" + current_lang + "/topimg_members-e.jpg"; //memberlist
document.images["topnavimg5"].src = "templates/Solaris/images/" + current_lang + "/topimg_groups-e.jpg"; //usergroups
document.images["topnavimg6"].src = "{PRIVMSG_IMG}"; //private messages/new private messages
document.images["topnavimg7"].src = "templates/Solaris/images/" + current_lang + "/topimg_register-d.jpg"; //register


<!-- END switch_user_logged_in -->




Bei der page_header.php datei hab ich alles so gemacht wie es in der anleutung stand.
Bitte wirklich um hilfe

cu Leon

Verfasst: 11.12.2004 20:40
von Venkman
Hallo,
würde gerne wissen, wo ich genau meinen Channel eintrage, damit der User automatisch joint.
Kann mir bitte jemand dabei helfen?

Danke