Hide Shoutbox ?
Geplaatst: 24 feb 2006, 15:35
is er een mod die de shoutbox verbergt voor gasten ?
dus asl je je inlogt dan pas de shoutbox ziet ? :thumb:
dus asl je je inlogt dan pas de shoutbox ziet ? :thumb:
Code: Selecteer alles
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
Mickroz schreef:het gedeelte wat je in je index_body.tpl zet tussenCode: Selecteer alles
<!-- BEGIN switch_user_logged_in --> <!-- END switch_user_logged_in -->
Code: Selecteer alles
<!-- BEGIN switch_user_logged_in -->
Code: Selecteer alles
<!-- END switch_user_logged_in -->
Code: Selecteer alles
<!-- END switch_user_logged_in -->
Luuk schreef:Uhum, op het einde moet natuurlijk ookFoutje moet kunnenCode: Selecteer alles
<!-- END switch_user_logged_in -->
![]()
Code: Selecteer alles
<!-- BEGIN switch_user_logged_in -->
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
<!-- End add - Fully integrated shoutbox MOD -->
<!-- END switch_user_logged_in -->
Code: Selecteer alles
<!-- Start add - Fully integrated shoutbox MOD -->
<!-- BEGIN switch_user_logged_in -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
</tr>
<tr>
<td>
<iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
<br/>
<!-- END switch_user_logged_in -->
<!-- End add - Fully integrated shoutbox MOD -->
Code: Selecteer alles
if ( !$userdata['session_logged_in'] )
{
redirect(append_sid("login.$phpEx?redirect=cash.$phpEx", true));
}
Code: Selecteer alles
//
// End session management
//