Advertisement:

Author Topic: [Theme] SMFone  (Read 411055 times)

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #60 on: April 22, 2005, 12:33:26 PM »
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 :)

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #61 on: April 22, 2005, 07:15:40 PM »
NayNay
Could you try this, in Boardindex.template.php look for:
Code: [Select]
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);replace it with:
Code: [Select]
', $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 :)

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #62 on: April 22, 2005, 07:18:06 PM »
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 :)

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: [Theme] SMFone
« Reply #63 on: April 22, 2005, 09:19:10 PM »
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

Offline Randall

  • Semi-Newbie
  • *
  • Posts: 29
    • Tarheel East
Re: [Theme] SMFone
« Reply #64 on: April 23, 2005, 12:08:19 PM »
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.

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #65 on: April 23, 2005, 05:37:13 PM »
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:
Code: [Select]
// 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:
Code: [Select]
// 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 :)

Offline Saleh

  • Sophist Member
  • *****
  • Posts: 1,326
  • Gender: Male
  • Claymore Fan
    • PHP Simplicity
Re: [Theme] SMFone
« Reply #66 on: April 24, 2005, 07:03:35 AM »

was that made intentionally? :(

We don't need a reason to help people

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #67 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.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline Burpee

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,298
  • Gender: Male
    • Mafan.nl
Re: [Theme] SMFone
« Reply #68 on: April 24, 2005, 08:52:01 AM »
I personally just removed the entire style - it's not really necessary imho.

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: [Theme] SMFone
« Reply #69 on: April 24, 2005, 05:48:29 PM »
This bar does not stretch from one end of the screen to the other.  How can I fix that?



-Dan The Man

Offline Burpee

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,298
  • Gender: Male
    • Mafan.nl
Re: [Theme] SMFone
« Reply #70 on: April 24, 2005, 05:50:50 PM »
Find:
Code: [Select]
<table width="62%" cellspacing="1" cellpadding="4" class="bordercolor">Replace with:
Code: [Select]
<table width="100%" cellspacing="1" cellpadding="4" class="bordercolor">

Offline scottb

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
  • Honor is Earned
    • Rupertgrint.org (official site for Rupert)
Re: [Theme] SMFone
« Reply #71 on: April 24, 2005, 06:01:51 PM »
Wow! this is a fantastic theme. Great job there!

Offline Neol

  • Full Member
  • ***
  • Posts: 472
  • Gender: Male
  • ##########
Re: [Theme] SMFone
« Reply #72 on: April 24, 2005, 07:06:14 PM »
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?

Offline Burpee

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,298
  • Gender: Male
    • Mafan.nl
Re: [Theme] SMFone
« Reply #73 on: April 24, 2005, 07:32:49 PM »

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: [Theme] SMFone
« Reply #74 on: April 24, 2005, 09:26:29 PM »
Find:
Code: [Select]
<table width="62%" cellspacing="1" cellpadding="4" class="bordercolor">Replace with:
Code: [Select]
<table width="100%" cellspacing="1" cellpadding="4" class="bordercolor">

Thank you, that worked :).

-Dan The Man

Offline HoTmetal

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,952
Re: [Theme] SMFone
« Reply #75 on: April 25, 2005, 12:24:09 AM »
Great theme. I think I have a new favorite...

Offline Carsten

  • Newbie
  • *
  • Posts: 1
Re: [Theme] SMFone
« Reply #76 on: April 25, 2005, 01:50:01 PM »
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?
« Last Edit: April 25, 2005, 02:25:07 PM by Carsten »

Offline Saleh

  • Sophist Member
  • *****
  • Posts: 1,326
  • Gender: Male
  • Claymore Fan
    • PHP Simplicity
Re: [Theme] SMFone
« Reply #77 on: April 25, 2005, 02:39:41 PM »
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:
Code: [Select]
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:
Code: [Select]
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 :-\
« Last Edit: April 26, 2005, 05:37:57 AM by Saleh »

We don't need a reason to help people

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #78 on: April 25, 2005, 03:00:52 PM »
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.
« Last Edit: April 25, 2005, 03:14:30 PM by A.M.A »
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline Omar Bazavilvazo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,619
  • Gender: Male
  • Minna no nihongo...
    • HablaJapones
Re: [Theme] SMFone
« Reply #79 on: April 25, 2005, 04:24:15 PM »
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...