Re: Shoutbox im Portal?
Verfasst: 17.01.2009 09:56
Danke;) welche shoutbox brauche ich dann wenn ich es installiert habe?
Wers für die 'AJAX Chat' Version 2.0.0B8 von Handyman habe möchte:
Aus der install.xml
Open: index.php
Find
Code: Alles auswählen
$user->setup('viewforum');
Add after
Code: Alles auswählen
include($phpbb_root_path . 'shout.' . $phpEx);
Für das Portal muß da noch die portal.php abgeändert werden:
Open: portal.php
Find
Code: Alles auswählen
// Start session management
$user->session_begin();
$auth->acl($user->data);
Add after
Code: Alles auswählen
include($phpbb_root_path . 'shout.' . $phpEx);
Dann noch z.B für prosilver:
Open:styles\prosilver\template\portal\portal_body.html
Find
Code: Alles auswählen
<!-- IF S_DISPLAY_ANNOUNCEMENTS -->
<!-- IF S_ANNOUNCE_COMPACT -->
<!-- INCLUDE portal/block/announcements_compact.html -->
<!-- ELSE -->
<!-- INCLUDE portal/block/announcements.html -->
<!-- ENDIF -->
<!-- ENDIF -->
Add after
Code: Alles auswählen
<!-- INCLUDE chat_body.html -->
als letztes noch
Copy: root/styles/prosilver/template/chat_body.html
To: styles/prosilver/template/portal/block/chat_body.html