zEvolutions

Normale Version: Facebook_Like_Button
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Moin Moin Leute

Ich hab hier mal nen Code_Schnipsel für euch,
habe es zwar nicht selbst geschrieben, aber damit könnt
Ihr eventuell mehr User/Member/Chatter bekommen.

Geht in eurem Hauptverzeichniss, geht in den Ordner Html
sucht da die Datei login.html.php, wenn Ihr diese gefunden habt
öffnet Ihr sie (am besten mit Notepad++), sucht da die zeile 418,
schiebt den befehl
PHP-Code:
</div
auf zeile 420
nun müsste die zeile 419 leer sein, wenn das so ist
setzt da folgenden code ein.

PHP-Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fhttp:// Hier eure Adresse &amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp" style="width:300px;height:80px;" "color:#FFB90F;" scrolling="no" frameborder="0" allowTransparency="false">by <a href="http://www.trivoo.net" class="fbook">trivoo.net</a></iframe

Ich hoffe ich konnte genau erklären wie es geht, wer denn noch probleme
haben sollte ich stehe euch gern zur verfügung.


Greeez Kay
Also ich habe bei mir nur 305 zeilen

hier das ganze shript

PHP-Code:
<!DOCTYPE html>

<
html>

<
head>
<!--
** 
     This file is part of "ZE Chat v1.0".
**
** 
    "ZE Chat v1.0" is free softworeFeel free to use and/or modify
**    it under the terms of the GNU General Public License as published by
**     the Free Software Foundationeither version 3 of the License, or
** 
   (at your optionany later version.
**
** 
   "ZE Chat v1.0" is distributed in the hope that it will be useful,
** 
   but WITHOUT ANY WARRANTYwithout even the implied warranty of
**    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the
**    GNU General Public License for more details.
**
** 
   You should have received a copy of the GNU General Public License
**    along with this program If notsee http://www.gnu.org/licenses/.
**
** 
   Developed by Alexander Pakusch aka Zion2010-2015
**    You are not allowed to sell this software or remove the Copyrights.
**
** 
   http://www.zevolutions.de/
**    admin@zevolutions.de
-->
 <
meta charset="UTF-8" />
 <
meta http-equiv="X-UA-Compatible" content="IE=edge" />
 <
title><?php if(isset($_GET["loginevent"]) && $_GET["loginevent"] == 13) { echo 'Ausgeloggt! - '.$ZE_SETT->chat_name; } else { echo $ZE_SETT->chat_name; } ?></title>
 <meta name="description" content="Diesen Chat muss man einfach gesehen haben! ZE Chat ZEChat Free Kostenlos">

<link rel="stylesheet" type="text/css" href="./styles/<?=$ZE_SETT->default_design?>/css/stylesheet.css" />

<!--<link rel="stylesheet" type="text/css" href="./styles/evo/css/stylesheet.css" />-->
 <?php //if($ZE_GEN_COLORS == true) {
 
      require_once './inc/gencolors.inc.php';
 
      //}
 
?>

 <script src="./js/jquery.js"></script>
 <script src="./js/jquery-ui.js"></script>
 <script src="./js/jscolor.js"></script>
 <script src="./js/minibox.js"></script>
 <script src="./js/swfobject.js"></script>
 <script src="./js/global.js"></script>
</head>
<!-- BEGIN BODY -->
 <body>
<!-- Begin Page -->
 <div id="colwrapper">
 <?=$log_announce?>
<!-- Header | Logo GO -->
<center><img src="http://riof-notchat.net/image/chat0003.gif" width="auto" height="auto" border="0" alt=""></center>
<!-- Header | Logo END -->

<!-- Begin CONTENT -->
     <main class="clearfix">
<?php if($countl 0) { ?>
<!-- Side_Left GO -->
     <aside id="ltcol">
       <?php for($i=0;$i<$countl;$i++){if($ZE_BOX->ze_box_left[$i]["system"]==0){echo $ZE_BOX->ze_box_left[$i]["data"];}else{require_once $ZE_BOX->ze_box_left[$i]["data"];}}?>
 </aside>
 
<!-- Side_Left END -->

<?php 
if(
$countr 0) { ?>
<!-- Side_Right GO -->
     <aside id="rtcol">
       <?php for($i=0;$i<$countr;$i++){if($ZE_BOX->ze_box_right[$i]["system"]==0){echo $ZE_BOX->ze_box_right[$i]["data"];}else{require_once $ZE_BOX->ze_box_right[$i]["data"];}}?>
     </aside>
<!-- Side_Right END -->
<?php ?>
<!-- Center GO -->
     <section id="ctcol" class="acenter<?php echo $modifier?>">
<!-- News GO -->
<?=$show_news?>
<!-- News END 

<!-- Teamlist GO -->
         <article id="teamlistdiv"  class="ctout main_slide" style="display: none;">
         
         <header class="ctheader">
           <?=$LANG['main_teamlist']?> (<?=$ZE_TL->countTeam()?> User)
         </header>

                   <?=$show_tl?>

         </article>
         
<!-- Teamlist END -->

<!-- Reset Passwort GO -->
       <article id="newpwdiv" class="ctout main_slide" style="display: none;">
         <header class="ctheader">
           <?=$LANG['main_reset_pw_head']?>
         </header>
         <div class="ctin">
           <form action="" method="get" name="register" id="register" onsubmit="return lostPass('./index.php', getFormData(this));" >
             <input id="inc" name="inc" style="display: none;"  maxlength="4" value="ajax" readonly="readonly" />
             <input id="location" name="location" style="display: none;"  maxlength="8" value="login" readonly="readonly" />
             <input id="request" name="request" style="display: none;"  maxlength="8" value="lostpass" readonly="readonly" />
               <fieldset class="norm">
                 <p>
                   <label for="lplogin"><?=$LANG["main_login"]?>:
                     <span class="small"><?=$LANG['main_desc_lost_nick']?></span>
                   </label>
                   <input id="lplogin" name="lplogin" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
                 </p>
                 <p>
                   <label for="lpmail"><?=$LANG["main_emailads"]?>:
                     <span class="small"><?=$LANG['main_desc_lost_mail']?></span>
                   </label>
                   <input id="lpmail" name="lpmail" type="email" maxlength="64" onblur="if (this.value=='') this.value='<?=$LANG['main_email']?>'" onfocus="if (this.value=='<?=$LANG['main_email']?>') this.value='';" value="<?=$LANG['main_email']?>" />
                 </p>
                 <p class="clearfix"></p>
                 <p class="info"><?=$LANG['main_desc_lost_instruction']?></p>
                 <input type="submit" value="<?=$LANG['main_regsm']?>" />
               </fieldset>
           </form>
         </div>
       </article>
<!-- Reset Passwort END -->
<!-- Registration GO -->
       <?php if($ZE_SETT->chat_open!=0):?>
       <article id="regdiv" class="ctout main_slide" style="display: none;">
         <header class="ctheader">
           <?=$LANG['main_register_head']?>
         </header>
         <div class="ctin ctcenter" align="center">
                       <form action="" method="get" name="register" id="register" onsubmit="return createAcc('./index.php', getFormData(this));" >
                           <input id="inc" name="inc" style="display: none;"  maxlength="4" value="ajax" readonly="readonly" />
                           <input id="location" name="location" style="display: none;"  maxlength="8" value="login" readonly="readonly" />
                           <input id="request" name="request" style="display: none;"  maxlength="10" value="createacc" readonly="readonly" />
                           <input id="rbident" name="bident" style="display: none;" maxlength="32" value="None" readonly="readonly" />
                           <table class="form_con" style="margin: 0 auto;">
                               <tr>
                                   <td class="form_tl"><label for="regacc">Accountname:<br /><span class="small"><b>Nicht</b> dein Nickname.</span></label></td>
                                   <td class="form_tr">
                                       <input id="regacc" name="regacc" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='Accountname'" onfocus="if (this.value=='Accountname') this.value='';" value="Accountname" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><label for="reglogin"><?=$LANG["main_login"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_nick"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="reglogin" name="reglogin" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><label for="regcolor"><?=$LANG["main_color"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_color"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="regcolor" name="regcolor" class="color" maxlength="6" value="<?=$ZE_SETT->chat_default_color?>" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl" align="right"><label for="regpass1"><?=$LANG["main_pword"]?>:</label><br /><div id="passwordStrengthDiv" class="is0"></div></td>
                                   <td class="form_tr">
                                       <input id="regpass1" name="regpass1" maxlength="32" type="password" />

                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><label for="regpass2"><?=$LANG["main_pwrepeat"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_pass"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="regpass2" name="regpass2" maxlength="32" type="password" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><label for="regmail"><?=$LANG["main_emailads"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_mail"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="regmail" name="regmail" maxlength="64" onblur="if (this.value=='') this.value='<?=$LANG['main_email']?>'" onfocus="if (this.value=='<?=$LANG['main_email']?>') this.value='';" value="<?=$LANG['main_email']?>" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><?=$LANG['main_birthdate']?>:<br /><span class="small"><?=$LANG["main_desc_reg_bday"]?></span></td>
                                   <td class="form_tr">
                                     <select id="regday" name="regday">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regday']?>'" onfocus="if (this.value=='<?=$LANG['main_regday']?>') this.value='';" value="<?=$LANG['main_regday']?>"><?=$LANG["main_regday"]?></option>
                                         <?=$reg_day?>
                                     </select>
                                     <select id="regmonth" name="regmonth">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regmonth']?>'" onfocus="if (this.value=='<?=$LANG['main_regmonth']?>') this.value='';" value="<?=$LANG['main_regmonth']?>"><?=$LANG["main_regmonth"]?></option>
                                         <?=$reg_month?>
                                     </select>
                                     <select id="regyear" name="regyear">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regyear']?>'" onfocus="if (this.value=='<?=$LANG['main_regyear']?>') this.value='';" value="<?=$LANG['main_regyear']?>"><?=$LANG["main_regyear"]?></option>
                                         <?=$reg_year?>
                                     </select>
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><?=$LANG["main_gender"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_gender"]?></span></td>
                                   <td class="form_tr">
                                       <label><input id="reggender" name="reggender" maxlength="1" type="radio" value="1"/> <?=$LANG["main_gender_male"]?></label><br />
                                       <label><input id="reggender" name="reggender" maxlength="1" type="radio" value="2"/> <?=$LANG["main_gender_female"]?></label><br />
                                       <label><input id="reggender" name="reggender" maxlength="1" type="radio" value="0"/> <?=$LANG["main_gender_secret"]?></label>
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl">
                                       <label for="regrules"><?=$LANG["main_gbt_confirm"]?><br /><span class="small"><?=$LANG["main_desc_reg_info"]?></span>
                                   </td>
                                   <td class="form_tr">
                                        <input id="regrules" name="regrules" type="checkbox" value="1">
                                   </td>
                               </tr>
                               <tr>
                                   <td colspan="2" align="center">
                                       <br />
                                       <button type="submit" class="sebutton" title="<?=$LANG['main_regsm']?>"><?=$LANG["main_regsm"]?></button>
                                   </td>
                               </tr>
                           </table>
                       </form>
         </div>
       </article>
       <?endif;?>
<!-- Registration END -->
<!-- GuestLogin GO -->
<?php if($ZE_SETT->chat_guests==1&&$ZE_SETT->chat_open!=0):?>
           <div id="guestlogin" class="minibox4 center_in" align="center" style="height: auto; width:auto; margin-left:-306px; margin-top:-175px; display:none; opacity: 1;">
                   <header class="minibox3head minibox_crop_top">
                       <?=$LANG["main_guest_head"]?>
                   </header>
                   <div class="main-body scroll_auto" style="border-bottom-right-radius: 7px; border-bottom-left-radius: 7px;">
                       <form action="./index.php" method="post" name="guestform" id="guestform">
                           <input id="inc" name="inc" style="display: none;"  maxlength="7" value="doLogin" readonly="readonly" />
                                                <input id="do" name="do" style="display: none;" maxlength="32" value="guest" readonly="readonly" />
                               <input id="lsid" name="lsid" style="display: none;" maxlength="32" value="<?=$ZE_lsession_id?>" readonly="readonly" />
                                 <input id="gbident" name="bident" style="display: none;" maxlength="32" value="None" readonly="readonly" />
                           <table class="form_con">
                               <tr>
                                   <td class="form_tl"><label for="glogin"><?=$LANG["main_login"]?>:<br /><span class="small"><?=$LANG["main_desc_guest_nick"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="glogin" name="login" maxlength="<?=$ZE_SETT->max_name_length?>" onblur="if (this.value=='') this.value='<?=$LANG['main_username']?>'" onfocus="if (this.value=='<?=$LANG['main_username']?>') this.value='';" value="<?=$LANG['main_username']?>" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><label for="gcolor"><?=$LANG["main_color"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_color"]?></span></label></td>
                                   <td class="form_tr">
                                       <input id="gcolor" name="gcolor" class="color" maxlength="6" value="<?=$ZE_SETT->chat_default_color?>" />
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><?=$LANG['main_birthdate']?>:<br /><span class="small"><?=$LANG["main_desc_reg_bday"]?></span></td>
                                   <td class="form_tr">
                                     <select id="gday" name="gday">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regday']?>'" onfocus="if (this.value=='<?=$LANG['main_regday']?>') this.value='';" value="<?=$LANG['main_regday']?>"><?=$LANG["main_regday"]?></option>
                                         <?=$reg_day?>
                                     </select>
                                     <select id="gmonth" name="gmonth">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regmonth']?>'" onfocus="if (this.value=='<?=$LANG['main_regmonth']?>') this.value='';" value="<?=$LANG['main_regmonth']?>"><?=$LANG["main_regmonth"]?></option>
                                         <?=$reg_month?>
                                     </select>
                                     <select id="gyear" name="gyear">
                                       <option onblur="if (this.value=='') this.value='<?=$LANG['main_regyear']?>'" onfocus="if (this.value=='<?=$LANG['main_regyear']?>') this.value='';" value="<?=$LANG['main_regyear']?>"><?=$LANG["main_regyear"]?></option>
                                         <?=$reg_year?>
                                     </select>
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl"><?=$LANG["main_gender_quest"]?>:<br /><span class="small"><?=$LANG["main_desc_reg_gender"]?></span></td>
                                   <td class="form_tr">
                                       <label><input id="ggender" name="ggender" maxlength="1" type="radio" value="1"/> <?=$LANG["main_gender_male"]?></label><br />
                                       <label><input id="ggender" name="ggender" maxlength="1" type="radio" value="2"/> <?=$LANG["main_gender_female"]?></label><br />
                                       <label><input id="ggender" name="ggender" maxlength="1" type="radio" value="0"/> <?=$LANG["main_gender_secret"]?></label>
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl">
                                       <label for="grules"><?=$LANG["main_gbt_confirm"]?><br /><span class="small"><?=$LANG["main_desc_reg_info"]?></span>
                                   </td>
                                   <td class="form_tr">
                                        <input id="grules" name="grules" type="checkbox" value="1">
                                   </td>
                               </tr>
                               <tr>
                                   <td class="form_tl">
                                       <button type="button" class="sebutton" title="<?=$LANG['main_rules']?>" onclick="toggleGuest();"><?=$LANG["main_abort"]?></button>
                                   </td>
                                   <td class="form_tr">
                                        <button type="submit" class="sebutton" title="<?=$LANG['main_regsm']?>"><?=$LANG["main_regsm"]?></button>
                                   </td>
                               </tr>
                           </table>
                       </form>
                   </div>
               </div>
<?endif;?>
<!-- GuestLogin END -->
       <?=$ZE_LINKCON?>
       </section>
<!-- Center END -->
     </main>
<!-- END CONTENT -->
<!-- Footer GO-->
<?php include ("http://riof-notchat.net/copyright.php"); ?>
<!-- Footer END -->
<!-- END Page -->
   <script type="text/javascript" src="./js/global.js"></script>
   <? require_once './js/login.js.php'?>
 </body>
<!-- END BODY -->
</html> 
ich weiss nicht welche Version vom Chat du benutzt, aber auch meine login.html.php hat 310 Zeilen und nicht über 400.

Ich benutze die aktuelle Version mit allen Erweiterungen
benutze die version 1.0 mit stylewechsel

http://riof-notchat.net

da ist der link dazu
aber was der sever für ne config hat kann ich derzeit nicht sagen
ist nicht meiner bin nur der der den chat betreut und mit auf der hp

http://www.radio-imperium-of-fire.net

rum turnt
also der da auch den webmaster macht
(08.05.2016, 21:24)Schausteller Radio schrieb: [ -> ]ich weiss nicht welche Version vom Chat du benutzt, aber auch meine login.html.php hat 310 Zeilen und nicht über 400.

Ich benutze die aktuelle Version mit allen Erweiterungen


die version1.0 mit stylewechsel hat in der originalform 305 und mit erweiterungen kann es auf 310 zeilen kommen. und nu ma schnell zum thema login.html.php und 400 zeilen. die version 0.9 hat 425 zeilen in der besagten datei.



wenn ihr das  script im der v1.0 nutzen wollt macht folgendes. in der login.html.php die zeile vor 

</body> den code einfügen



<center><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feureseite&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light" style="width:150px;height:45px;" id="lkbtn" scrolling="no" frameborder="0" allowTransparency="true"></iframe> </center>




eureseite mit der adresse eurer webseite ersetzen
besser ist es wenn ihr eine box erstellt in welche ihr den code einfügt.
dann geht das auch in der version1.0



mfg rené