News:

Wondering if this will always be free?  See why free is better.

Main Menu

[Theme] SMFone

Started by A.M.A, April 15, 2005, 07:01:21 PM

Previous topic - Next topic

A.M.A

xentar
Yes .. it only occurs when a guest is browsing the Calendar. Me bad! guest do not have this option. I'll post a fix for it later. Thnaks for finding this.

NayNay
The info center is no more the same :) I'll post a modified version of the template.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

A.M.A

NayNay
Could you try this, in Boardindex.template.php look for:
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);
replace it with:
', $txt[140], ':<br />', implode(', ', $context['list_users_online']),'
<br />
<hr />
', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )<br />
', $context['user_today'];
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

A.M.A

Updated
various XHTML corrections, avatars are now shown on the left of the author information, fixed the Calendar.template.php which was causing error messages in the error log, and new templates added.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

codenaught

Thanks for the update A.M.A.  :)

I like the new avatar location and what you did with the arrow next to each of the child boards listed on the forum index.

Theme is even better now.  ;D
Dev Consultant
Former SMF Doc Coordinator

Randall

Love this theme, and want to make it my board's default theme.  However, I'm not quite sure how to add buttons for the arcade, chat and donation manager mods I've installed.

Any suggestions would be helpful.

A.M.A

akabugeyes
thanks .. I'm glad you like the new changes.

Randall
This theme is using icon with text in the menu. So you need to make icons for the buttons you need and upload them to /Themes/SMFone/images/english/, after that you have to edit index.template.php and look for:
// Show the [home] and [help] buttons.
echo '
<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" /><a class="menub" href="', $scripturl, '">' , $txt[103], '</a>', $context['menu_separator'], '
<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" /><a class="menub" href="', $scripturl, '?action=help" target="_blank">' , $txt[119], '</a>', $context['menu_separator'];

replace it with:
// Show the [home] and [help] buttons.
echo '
<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" /><a class="menub" href="', $scripturl, '">' , $txt[103], '</a>', $context['menu_separator'], '
<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" /><a class="menub" href="', $scripturl, '?action=help" target="_blank">' , $txt[119], '</a>', $context['menu_separator'], '

<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/myButton.gif" alt="my alt" /><a class="menub" href="my heref">myText</a>', $context['menu_separator'], '
<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/myButton.gif" alt="my alt" /><a class="menub" href="my heref">myText</a>', $context['menu_separator'];

Where myButton.gif is the icon you are going to use, my alt is your button alterative text, my heref is your button URL and myText is the button text.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Saleh


was that made intentionally? :(

We don't need a reason to help people

A.M.A

Yes .. is it too small!

in Display.template.php
Quote<div style="overflow: auto; width: 65px; height: 65px;">
change to the size you prefer.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Burpee

I personally just removed the entire style - it's not really necessary imho.

dtm.exe

This bar does not stretch from one end of the screen to the other.  How can I fix that?



-Dan The Man

Burpee

Find:
<table width="62%" cellspacing="1" cellpadding="4" class="bordercolor">
Replace with:
<table width="100%" cellspacing="1" cellpadding="4" class="bordercolor">

scottb

Wow! this is a fantastic theme. Great job there!

Neol

Me too need to translate the buttons of this theme. A.M.A would you provide me the blank buttons, or something else that allows me to translate them?

Burpee


dtm.exe

Quote from: Burpee on April 24, 2005, 05:50:50 PM
Find:
<table width="62%" cellspacing="1" cellpadding="4" class="bordercolor">
Replace with:
<table width="100%" cellspacing="1" cellpadding="4" class="bordercolor">

Thank you, that worked :).

-Dan The Man

HoTmetal

Great theme. I think I have a new favorite...

Carsten

#76
great work :D

if anyone needs the buttons in german language:
hxxp:farfaraway.special-forces.net/SMFone_buttons_german.zip [nonactive]

oh, and is there a similar theme for coppermine aviable?
or how much work will it be to make coppermine work with this theme?

Saleh

#77
Quote from: A.M.A on April 24, 2005, 08:27:39 AM
Yes .. is it too small!

in Display.template.php
Quote<div style="overflow: auto; width: 65px; height: 65px;">
change to the size you prefer.
I thought about making it automated. meaning if admin wanted avatar with max width/height limited, this would be applied! otherwise, just put the avatar as it is..

I made this nasty fix:
Display.template.php
look for:

if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<td valign="top" style="overflow: hidden;" class="smalltext">
<div style="overflow: auto; width: 65px; height: 65px;">, $message['member']['avatar']['image'], '</div>
</td>';


replace:

if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image'])) {
echo '
<td valign="top" style="overflow: hidden;" class="smalltext">';
            if (!empty($modSettings['avatar_max_width_external']) && !empty($modSettings['avatar_max_height_external']))
           echo '
           <div style="overflow: auto; width:', $modSettings['avatar_max_width_external'], 'px; height:', $modSettings['avatar_max_height_external'],'px;">', $message['member']['avatar']['image'], '</div>';
                else
                   echo '<div>', $message['member']['avatar']['image'], '</div>';
        echo'
    </td>';
  }


edit: spacing is messed up :-\

We don't need a reason to help people

A.M.A

#78
Thanks Burpee for the support.

rickc
thanks .. glad you like it.

Carsten
Thanks for making those .. appreciate the effort. I've hosted them in my site and updated the first post.

Saleh
That's even better Saleh .. wonderful solution.


Updated with red color.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Omar Bazavilvazo

Yup, thanks for the red color theme :)

I love it :)




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

Advertisement: