Dein Menü

Willkommen Gast. Bitte einloggen oder registrieren.
23. Mai 2012, 20:28:00

Einloggen mit Benutzername, Passwort und Sitzungslänge

Sprache wählen:

Spenden

Donate für den POC!
Deine Spende hilft dem Support, der Erhaltung des Chats und diesem Portal.

Anzeige Amazon

* Chartermember

* Bookmark

Bookmark and Share

* Werbung

vodafone.de
Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on OneviewShare this topic on RedditShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz

Autor Thema: Update HHC V1(Free) HHC V1.1.6 (Sponsored) Filter  (Gelesen 955 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Horseman

  • Administrator
  • Held Mitglied
  • *
  • Beiträge: 2552
  • Karma: 0
  • Geschlecht: Männlich
  • 'MAS VALE CABALLO QUE CAUDAL!'
    • H-H-C - die große Reitercommunity
Update HHC V1(Free) HHC V1.1.6 (Sponsored) Filter
« am: 17. Oktober 2009, 11:42:08 »
Die Filter Funktionen, welche Standardmäßig rechts im Inputframe angezeigt werden, zwingen, auch wenn ausgeschaltet, dem Frame eine gewisse Höhe auf.
Ich habe nun eine Datei Filter.php und Filter.tpl erstellt.
Die Filter.php gehört in den Ordner des Chat
Die Filter.tpl in die jeweiligen Templates Ordner der vorhandenen Templates.

Mittels iframe könnte man nun diese Filter in den Frame werbung.tpl einbauen, oder ganz rechts in den Frame welcher die anwesenden Chatter anzeigt.

Die Funktion der Filter in der Input.tpl könnte dann ganz herausgenommen werden. Dies ist dieser Codeabschnitt:
<td  valign="top">
<?php if(FRAME_FILTER){?> <!-- nur anzeigen wenn in der config.inc.php auf true gestellt -->
<form style="margin:0" action="input.php" method="post" name="filter" onsubmit="formPost=1">
<input name="filter_form" type="hidden" value="1" />
<input name="<?PHP echo session_name()?>" type="hidden" value="<?PHP echo session_id()?>" />
<table>
 <tr>
   <th class="title"><?PHP echo $_SESSION['translator']->out('OUTPUT_FILTER')?></th>
 </tr>
    <tr>
            <td>
                <input name="sleep" type="checkbox" onclick="formPost=1;submit();" <?PHP echo $TEMPLATE_OUT['sleep_checked']?> />
                 <?PHP echo $_SESSION['translator']->out('SLEEP')?>
            </td>
    </tr>
    <tr>
            <td>
                <input name="private" type="checkbox" onclick="formPost=1;submit();" <?PHP echo $TEMPLATE_OUT['private_checked']?> />
                <?PHP echo $_SESSION['translator']->out('PRIVATE')?>
            </td>
    </tr>
    <tr>
            <td>
                <input name="bodies" type="checkbox" onclick="formPost=1;submit();" <?PHP echo $TEMPLATE_OUT['bodies_checked']?> />
                <?PHP echo $_SESSION['translator']->out('BODIES')?>
            </td>
    </tr>
    <tr>
            <td>
                <input name="sys_msg" type="checkbox" onclick="formPost=1;submit();" <?PHP echo $TEMPLATE_OUT['sys_msg_checked']?> />
                <?PHP echo $_SESSION['translator']->out('SYSTEM_MESSAGES')?>
            </td>
    </tr>
</table>
          </td>
          </tr>
        </form>
        <?php }?>
        </td>
Das sind die Zeilen 178 bis 216 wenn sonst von euch keine Änderungen an der input.tpl vorgenommen worden sind.

Gruß
Horseman
˙·٠•● █▬█ alloº°"˜¨˙·٠•●.... :: ǝʌıʇʞǝdsɹǝd uǝɹǝpuɐ ɹǝuıǝ snɐ ןɐɯ ǝzuɐƃ sɐp ɹıʍ uǝʇɥɔɐɹʇǝq ::
Offizielles Support Portal
für PhpOpenChat
http://www.phpopenchat.de
Meine Reitercommunity
http://www.h-h-c.de
POC auf Facebook | POC auf Twitter

POC -PhpOpenChat- Portal

« am: »

Tags:
 

Bequem im Web suchen direkt von hier!

Benutzerdefinierte Suche

Anzeige

www.medionshop.de

Unser Server

www.strato.de -> hier klicken

* Domain Frei?

* Anzeige

Multi Suche


Web
www.phpopenchat.de
www.h-h-c.de

* Networks

Follow Phpopenchat on Twitter
Portal Management Extension PortaMx v0.980-1 | PortaMx © 2008-2010 by PortaMx corp.