Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.40 veröffentlicht (28.05.26)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Shoutboxtemplates änderungen
#1
Find ich schöner:
Templates-Global-Shoutbox:
PHP-Code:
<html> <head> <title> {$mybb->settings['bbname']} - {$lang->shoutbox} </title> {$headerinclude} {$refresh} </head> <body> {$add_shout} <table align="left" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="100%"> <tr> <td> {$shouts} </td> </tr> </table> </body> </html>

templates-global-shoutbox_add_shout:
PHP-Code:
<br /> <form method="post" action="shoutbox.php"> <input type="hidden" name="action" value="do_add"> {$lang->shout} <input type="text" name="message" size="60" maxlength="{$mybb->settings['sb_max_length']}"> <input type="submit" name="submit" value="{$lang->add_shout}"> <br /> <span class="smalltext"><a href="shoutbox.php"> {$lang->refresh} </a> </span> </form>

und für die indexpage:
bei templates-"DEIN TEMPLATE"-index page templates-index
unter
<body>
{$header}
{$forums}
das einfügen:
PHP-Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="98%"> <tbody style="$collapsed[shoutbox_e]" id="shoutbox_e"> <tr> <td class="trow1"> <iframe scrolling="no" src="shoutbox.php" width="100%" height="300" frameborder="0" name="Shoutbox" marginwidth="0" marginheight="0" align="top"></iframe> </td> </tr> </tbody> </table> <br />

Sieht dann so aus:


Angehängte Dateien Thumbnail(s)
   
Zitieren