5
This occurs now an Errormessage:
Parse error: syntax error, unexpected ';' in /modules/yogurt/blocks/blocks.php on line 42
42 is:
$criteria->add(new Criteria('online_uid', $uid, '<>');
I have a Question for better understanding:
Is it not much easier to leave the blocks.php as it is and to modify the yogurt_block_friends.html like this way:
"if user is online" <a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$block.friends[i].uid}>" title="<{$block.friends[i].uname}>"><{ if $block.friends[i].user_avatar=="blank.gif" }> <img src="<{$xoops_url}>/modules/yogurt/images/noavatar.gif" /> <{else}> <img src="<{$xoops_upload_url}>/<{$block.friends[i].user_avatar}>" /><{/if}><br /><{$block.friends[i].uname}> a> <br /><a href='javascript:openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid}>","pmlite",500,450);'><img src="<{$xoops_url}>/images/icons/pm.gif" />a> div><br /> <{/section}>
"else" <a href="<{$xoops_url}>/modules/yogurt/friends.php"><{$block.lang_allfriends}>a>
Or wouldn`t work this way?