
viewtopic.php?f=8&t=826&start=135#p26297
Done ... ohne Erfolg.archivar wrote:Lies noch mal meinen Beitrag-da hat sich was geändert.
Ausgeführt. Nun erhalte ich eine Art Balken mit der Überschrift "Shoutbox" - aber ohne InhaltUnd die shout_body.html sollte in die root/deinstyle/template/portal/block/additional_blocks_center.html und nicht in die root/deinstyle/template/portal/portal_center.html eingebunden werden.
Natürlich !archivar wrote:Hast Du die additional_blocks.php wie beschrieben auch geändert?
Code: Select all
<?php
/**
*
* @package - Board3portal
* @version $Id: additional_blocks.php 523 2009-08-27 21:41:08Z christian_n $
* @copyright (c) kevin / saint ( www.board3.de/ ), (c) Ice, (c) nickvergessen ( www.flying-bits.org/ ), (c) redbull254 ( www.digitalfotografie-foren.de ), (c) Christian_N ( www.phpbb-projekt.de )
* @based on: phpBB3 Portal by Sevdin Filiz, www.phpbb3portal.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
{
exit;
}
// Shoutbox START
if (!function_exists('as_display'))
{
include($phpbb_root_path . 'includes/functions_shoutbox.' . $phpEx);
}
as_display();
// Shoutbox ENDE
?>
Code: Select all
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/shout_body.html -->
<!-- ENDIF -->
User mit Admin-Rechten ?archivar wrote:Gib mir mal nen Test-Zugang.
Code: Select all
<!-- IF S_CAN_VIEW_AS -->
{$C_BLOCK_H_L}{L_SHOUTBOX}{$C_BLOCK_H_R}
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td width="100%" class="row2" valign="middle"><p id="shoutbox"></p></td>
</tr>
</table>
<br />
<script type="text/javascript">
//<![CDATA[
display_shoutbox = true;
load_shout();
//]]>
</script>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
Und warum hast Du das hier noch in der portal_center.html stehen obwohl ich dir was anderes schrieb?:archivar wrote: Und die shout_body.html sollte in die root/deinstyle/template/portal/block/additional_blocks_center.html und nicht in die root/deinstyle/template/portal/portal_center.html eingebunden werden.
Code: Select all
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE shout_body.html -->
<!-- ENDIF -->
Öhm ... hab ich was übersehen ?archivar wrote:Und warum hast Du das hier noch in der portal_center.html stehen obwohl ich dir was anderes schrieb?:archivar wrote: Und die shout_body.html sollte in die root/deinstyle/template/portal/block/additional_blocks_center.html und nicht in die root/deinstyle/template/portal/portal_center.html eingebunden werden.![]()
Code: Select all
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> <!-- INCLUDE shout_body.html --> <!-- ENDIF -->
Gibt es für diese Vermutung einen besonderen Grund ? *Bahnhof*archivar wrote:Lass das mal mit dem Portal und füge die Shoutbox ganz normal in die Forum-Liste ein. Denn ich vermute das Ding geht auch dort nicht.