Hello.
How can i remove this welcome msg?
* Hello admin
* Show unread posts since last visit.
* Show new replies to your posts.
* September 03, 2010, 03:19:19 AM
Or how i can change its position?
At the upper right corner of the forum you'll see a white "V" (in the default curve theme), just click on it.
no i mean how i can remove that from the template.
so noboday can see it :)
Open : Theme/default/Index_Template.php
Find
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
Replace With
if ($context['user']['is_logged'] && !$context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
can you check if that is good because i got an error if i do that.
thanks
sry. it worked finaly.
Quote from: IceXaos on September 03, 2010, 03:28:20 AM
Open : Theme/default/Index_Template.php
Find
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
Replace With
if ($context['user']['is_logged'] && !$context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
Hi. I did this, but the expansion arrow remains. When you click the arrow, none of the text is there, which is nice, but it's still expandable and you also see the search box when doing so. I'd like to remove the welcome area entirely, and the arrow as well. Thanks.