keine änderung...fabse hat geschrieben:Dann füg den Code mal in die portal.php ein!
yep...Elvis hat geschrieben:@ Rabbit
hast Du das Intro Protal von AWSW ?

keine änderung...fabse hat geschrieben:Dann füg den Code mal in die portal.php ein!
yep...Elvis hat geschrieben:@ Rabbit
hast Du das Intro Protal von AWSW ?
Code: Alles auswählen
<!-- BEGIN switch_lastvisitmod_active -->
<tr>
<td class="row1" align="left"><span class="gensmall"><br />{L_USERS_TODAY}{L_USERS_LASTHOUR}<br /><br />{USERS_TODAY_LIST}<br /><br /></span></td>
</tr>
<!-- END switch_lastvisitmod_active -->
<!-- BEGIN switch_whoisonline_active -->
</table>
<br>
<!-- END switch_whoisonline_active -->
Code: Alles auswählen
<!-- BEGIN switch_lastvisitmod_active -->
<!-- BEGIN switch_user_logged_in -->
<tr>
<td class="row1" align="left"><span class="gensmall"><br />{L_USERS_TODAY}{L_USERS_LASTHOUR}<br /><br />{USERS_TODAY_LIST}<br /><br /></span></td>
</tr>
<!-- END switch_lastvisitmod_active -->
<!-- BEGIN switch_whoisonline_active -->
</table>
<br>
<!-- END switch_user_logged_in -->
<!-- END switch_whoisonline_active -->
ähm, du meinst so, wie ich es schon auf seite 1 gepostet hatte?rabbit hat geschrieben:hi fabse,
aber warum funktioniert es dann im index, während es im portal nicht geht?![]()
auszüge aus der portal_body.tpl:Code: Alles auswählen
<!-- ##### BIRTHDAY START ##### --> <!-- BEGIN switch_birthdaymod_active --> <!-- BEGIN switch_user_logged_in --> <table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline"> <tr> <td class="catHead" colspan="2" height="25"><span class="cattitle"><center>{L_Birthday_Portal}:</center></span></td> </tr> <tr> <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td> </tr> <tr> <td class="row1" align="left"><span class="gensmall"> <br>{L_WHOSBIRTHDAY_TODAY}<br /><br />{L_WHOSBIRTHDAY_WEEK}<br><br> </span></td> </tr> </table> <br> <!-- END switch_user_logged_in --> <!-- END switch_birthdaymod_active --> <!-- ##### BIRTHDAY ENDE ##### -->
hab's für den birthday-mod und last-visit eingesetzt.Code: Alles auswählen
<!-- BEGIN switch_lastvisitmod_active --> <!-- BEGIN switch_user_logged_in --> <tr> <td class="row1" align="left"><span class="gensmall"><br />{L_USERS_TODAY}{L_USERS_LASTHOUR}<br /><br />{USERS_TODAY_LIST}<br /><br /></span></td> </tr> <!-- END switch_user_logged_in --> <!-- END switch_lastvisitmod_active -->
Code: Alles auswählen
// SWITCH LAST VISIT MOD START
if( $introportalmod_config['lastvisitmod_active'] == "1" && $introportalmod_config['whoisonline_active'] == "1" )
{
Code: Alles auswählen
else if (!$userdata['session_logged_in'] )
{
redirect(append_sid("login.$phpEx?redirect=lastvisitmod.$phpEx", true));
exit;
}
Code: Alles auswählen
Parse error: parse error, unexpected T_ELSE in /www/htdocs/v110777/forum/portal.php on line 631