Dein Menü

Willkommen Gast. Bitte einloggen oder registrieren.
11. Februar 2012, 00:22:15

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: Button für den Chat im Menü einbauen  (Gelesen 1073 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Horseman

  • Administrator
  • Held Mitglied
  • *
  • Beiträge: 2545
  • Karma: 0
  • Geschlecht: Männlich
  • 'MAS VALE CABALLO QUE CAUDAL!'
    • H-H-C - die große Reitercommunity
Button für den Chat im Menü einbauen
« am: 22. Oktober 2009, 11:52:31 »
Hier mal eine Beschreibung für den Einbau eines Button im Forum Menü

1. Öffne die modification.LANGUAGE.php (Template  default/languages/)
Füge dort am Ende ein:
//POC
$txt['chat'] = 'Chat';

2. Öffne die Datei subs.php (forum/Sources/)
Suche nach:
'login' => array(
                'title' => $txt['login'],
                'href' => $scripturl . '?action=login',
                'show' => $user_info['is_guest'],
                'sub_buttons' => array(
                ),
            ),
darüber füge ein:
//POC start
            'chat' => array(
            'title' => $chatButton,
            'href' => $chatLink,
            'show' => true,
            'sub_buttons' => array(
            ),
        ),
//POC end
Suche nach:
$context['allow_pm'] = allowedTo('pm_read');darunter füge ein:
$chatButton = $txt['chat'];
$chatLink = str_replace("index.php", "chatraum/index.php", $scripturl);
Hinweis: Du musst Chatraum durch den Namen des Ordners ersetzen in welchem du den Chat installiert hast!

Demnächst Poste ich noch eine andere Lösung wo neben dem Chat Button die Anzahl der Chatter angezeigt wird die im Chat sind.
« Letzte Änderung: 25. Oktober 2009, 18:26:07 von 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.