Zitat
-----------------------------------
Suche in der Datei /wbb2/index.php:
-----------------------------------
eval("\$tpl->output(\"".$tpl->get("index")."\");");
-----------------------------------------------------------------
Fügen Sie dadrüber in der Datei ./wbb2/index.php Folgendes ein :
-----------------------------------------------------------------
$require_once = 'shoutbox.php';
require_once($require_once);
----------------------------------------
Suchen Sie im Template "index" nach :
----------------------------------------
<else>
<tr>
<td class="tablea"><table style="width:100%" cellspacing="0" cellpadding="0" border="0">
<tr class="tablea_fc">
<td align="left"><span class="smallfont">{$lang->items['LANG_START_WELCOMEBACK']} <b>$usercbar_username</b> <a href="logout.php?u=$wbbuserdata[userid]{$SID_ARG_2ND}">{$lang->items['LANG_START_LOGOUT']}</a><br /><b><a href="search.php?action=new{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWPOSTS']} $lastvisitdate <span class="time">$lastvisittime</span>.</span></td>
<td align="right"><span class="smallfont">{$lang->items['LANG_START_CURRENTTIME']} <span class="time">$currenttime</span>.<br />{$lang->items['LANG_START_TIMEZONE']}</span></td>
</tr>
</table></td>
</tr>
</else>
</if>
</table><br />
---------------------------------------------------------
Fügen Sie danach in das Templates "index" Folgendes ein :
---------------------------------------------------------
$shoutbox
Zitat
*Optionale Installation im HM Portal*
Support: nur auf wbb4-us.net
Copyright: liegt wie immer beim Hackschreiber,
also Gigafan und Sagem
-------------------------------
Dateien die bearbeitet werden:
PHP:
hmportal.php
Template:
hm_portal_head.tpl
Anleitung:
Öffne die Datei "hmportal.php"
Suche:
eval("\$tpl->output(\"".$tpl->get("hm_portal_head")."\");");
Füge darüber ein:
$inc_global = 'global.php';
include_once('./shoutbox.php');
*Speichern und wieder hochladen*
Im ACP:
Templates bearbeiten -> hm_portal_head
Suche:
$headinclude
Füge darunter ein:
$shoutbox_script
----------------------------
Suche:
<body>
$header
$welcome
</table><br />
Füge darunter ein:
$shoutbox
*Speichern*
*Fertig*
Mfg DJ Yoshi
Zitat
Suche im Template "index" nach :
$headinclude
Füge dadrunter ein :
$shoutbox_script
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »olmatz« (1. April 2009, 21:41)
|
|
PHP-Quelltext |
1 |
case "shoutbox.php":
|
Zitat
Dann wird nur noch die shout als Ort angezeigt, wenn sich jemand die Info-Seite ansieht.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »olmatz« (2. April 2009, 13:11)
Forensoftware: Burning Board® 3.1.7, entwickelt von WoltLab® GmbH