Hallo,
ich möchte nicht, dass GÃÆ'Ã,¤sten in der Userbox die Module angezeigt werden. Wie erreiche ich das?
Du meinst Download etc. ?
Dafür gibt's meines wissens keine extra Einstellung.
Einzige möglichkeit (so mache ich es auch) den GÃÆ'Ã,¤sten keine Userbox anzuzeigen.
Ich werde mir mal die neuesten Sourcen ansehen, denke sowas sollte man einbauen ...
Fel
Ja, genau das meine ich. Na, dann werde ich mal abwarten und noch 'nen Kaffee (oder 2 oder 3...) trinken gehen. ;)
ÃÆ'ââ,¬Å¾ndere das TPortalBlocks.template.php an Zeile 364 wie folgt ...
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo '
', $txt['welcome_guest'], '<br />
', $context['current_time'], '<br />
<form action="', $scripturl, '?action=login2" method="post" >
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="302400">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
', $txt['smf52'], '
</form>';
/* --- start removed by Feline (guest do not show modules)
// module links
echo '<hr /><p style="margin: 4px 0 5px 0;"><img src="'.$settings['images_url'].'/tpmodule.gif" style="margin: 0;" align="absbottom" alt="" />
<b>'.$txt['tp-admin4'].'</b></p>';
if($context['TPortal']['show_download']=='1')
echo $bullet2.'<a href="'.$scripturl.'?action=tpmod;dl=0">'.$txt['tp-dldownloads'].'</a><br />';
}
echo '<br /></td></tr></table>';
--- end remove by Feline */
// --- start mod by Feline
}
echo '</td></tr></table>';
// --- end mod by Feline
Fel