Customizing SMF > Theme Site Themes

Meridian

<< < (4/23) > >>

Old Fossil:

--- Quote from: kroose on May 02, 2012, 01:09:18 PM ---Thanks for the topic, but I have a small question.
How can I put in the subject header two references, as in the standard topic:
"Show unread posts since last visit.
Show new replies to your posts. "

And then I obviously lacks this feature)


--- End quote ---
Translated using google.

Thanks for the topic, but I have a small question.
How can I put in the subject header two references, as in the standard topic:
"Show unread posts since last visit.
Show new replies to your posts. "

And then I obviously lacks this feature)

@kroose

Please type in English in the English speaking boards if possible.  :)

Adren:
subject header? What is this? ;)))
@telinf
i will reply in next weekend

kroose:
Old Fossil, would be good to know English as a Russian, would at once on my own writing. ;) And so, I use Google, alas.

Adren, well, where is the logo of the site, there is little to the right of the text or place in this area links.
That is, as in the standard:
Welcome, user.
and so on.

TelInf:

--- Quote from: Adren on May 02, 2012, 01:42:04 PM ---subject header? What is this? ;)))
@telinf
i will reply in next weekend

--- End quote ---

Thx  ;)

Adren:

--- Quote from: TelInf on May 01, 2012, 03:49:54 PM ---Thank you for this wonderful theme.

Is it possible to remove the blue band (with time and login), the forum starts from the logo?

--- End quote ---
open themes/meridian/index.template.php
find and delete this(stroke 201)

--- Code: ---   <div class="user_block">';

if ($context['user']['is_logged'])
{
   if ($settings['enable_unread_replies'])
    echo '
<div class="floatleft">&bull; <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> | <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></div>';
    else
echo '
    <div class="floatleft"> &bull; ', $context['current_time'], '</div>';
}
else
    echo '
    <div class="floatleft"> &bull; ', $context['current_time'], '</div>';

if ($context['user']['is_logged'])
{
echo '
    <a href="', $scripturl , '?action=logout;', $context['session_var'], '=', $context['session_id'] ,'"><img class="logout_image" src="', $settings['images_url'], '/logout.png" title="', $txt['logout'] ,'" alt="" /></a>';
echo '
<div class="floatright">
&bull; ', $txt['hello_member_ndt'], ' <a href="', $scripturl, '?action=profile"><span>', $context['user']['name'], '</span></a>';
if($context['allow_admin']) {
echo '
<a class="admin_href" href="', $scripturl, '?action=admin">' ,$txt['admin'], '</a>';
}
        if($context['allow_moderation_center']) {
echo '
<a class="moder_href" href="', $scripturl, '?action=moderate">' ,$txt['moderate'], '</a>';
}

echo '
</div>';

}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
    {
echo '
<div class="floatright">&bull;  ', sprintf($txt['welcome_guest'], $txt['guest_title']), '</div>';
    }
echo '
    <div class="clear"></div>
  </div>
--- End code ---
open css/index.css
find:

--- Code: ---background: #cee1ea url(../images/theme/logo_bg.png) top repeat-x;
--- End code ---
replace this

--- Code: ---background: #cee1ea url(../images/theme/logo_bg.png) 100% -67px repeat-x;
--- End code ---


--- Quote from: kroose on May 02, 2012, 01:54:17 PM ---Old Fossil, would be good to know English as a Russian, would at once on my own writing. ;) And so, I use Google, alas.

Adren, well, where is the logo of the site, there is little to the right of the text or place in this area links.
That is, as in the standard:
Welcome, user.
and so on.

--- End quote ---
open themes/meridian/index.template.php
find and delete (stroke 203)

--- Code: --- if ($context['user']['is_logged'])
{
   if ($settings['enable_unread_replies'])
    echo '
<div class="floatleft">&bull; <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> | <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></div>';
    else
echo '
    <div class="floatleft"> &bull; ', $context['current_time'], '</div>';
}
else
--- End code ---
find

--- Code: --- // Show the navigation tree.
theme_linktree();
--- End code ---
and add after

--- Code: --- if ($context['user']['is_logged'])
    echo '
<div class="padding"><strong><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></strong></div>';
--- End code ---
Thanks all!  ;) and happy may holidays!!! =)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version