News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Theme] Helios Multi (SMF v1.0.5 - 1.1RC2)

Started by bloc, September 22, 2004, 05:55:46 AM

Previous topic - Next topic

Deaks

im afraid I could not tell you off hand I dont know the code for this theme.

align="center" is all i can say its the code to make it centered,
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

unrelenting

Quote from: sloopz on April 29, 2006, 07:58:40 PM
im afraid I could not tell you off hand I dont know the code for this theme.

align="center" is all i can say its the code to make it centered,

Here is the area that would need the change. How many times would I need to add the align="center"?


</head>

<body><div><table cellpadding="0" align="center" cellspacing="0" style="width: ' , (isset($settings['forum_width']) && !empty($settings['forum_width'])) ? $settings['forum_width'] : '100%' ,  ';"><tr><td>';

        $topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); ">&nbsp;</td><td valign="top">';

        $botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); ">&nbsp;</td></tr><tr><td valign="top" style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); ">&nbsp;</td><td valign="top" style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



        $leftbox='<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td valign="top" style="height: 44px; width: 124px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-left.gif" style="height: 44px; width: 124px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 44px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-mid.gif); ">';

        $rightbox='</td><td valign="top" style="height: 44px; width: 135px;"><img alt="*" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-right.gif" style="height: 44px; width: 135px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



        if(isset($settings['topbar']) && !empty($settings['topbar']))

               echo '<div style="text-align: center; width: 99%">'.$settings['topbar'].'</div>';





    if(!isset($settings['color_change_off']) || (isset($settings['color_change_off']) && $settings['color_change_off']==0))

      echo '

      <form action="', $scripturl, '" style="text-align: right; margin-right: 30px; margin-bottom: 2px; margin-top: 2px;" method="post" class="smalltext">

         <input style="border: solid 1px #808080; background-color: #503000; color: #503000; font-size: 6px;" type="submit" value="brown" name="options[theme_color]">

         <input style="border: solid 1px #808080; background-color: #600000; color: #600000; font-size: 6px;" type="submit" value="red" name="options[theme_color]">

         <input style="border: solid 1px #808080; background-color: #908000; color: #908000; font-size: 6px;" type="submit" value="golden" name="options[theme_color]">

         <input style="border: solid 1px #808080; background-color: #005000; color: #005000; font-size: 6px;" type="submit" value="green" name="options[theme_color]">

         <input style="border: solid 1px #808080; background-color: #000040; color: #000040; font-size: 6px;" type="submit" value="blue" name="options[theme_color]">

         <input style="border: solid 1px #808080; background-color: #606060; color: #606060; font-size: 6px;" type="submit" value="silver" name="options[theme_color]">

       </form>';



        echo '<div id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '><div style="padding-right: 10px;">'.$topbox.'<table width="100%" cellpadding="0" cellspacing="0" border="0">';

         echo '<tr><td width="45%" valign="bottom" style="padding-right: 10px;"><div style="padding-right: 0px;">';



        echo '<table width="99%" cellpadding="4" cellspacing="5" border="0" style="margin-left: 2px;"><tr>';



        if (!empty($context['user']['avatar']))

                echo '<td valign="top">', $context['user']['avatar']['image'], '</td>';



        echo '<td width="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">

        ';



        // If the user is logged in, display stuff like their name, new messages, etc.

        if ($context['user']['is_logged'])

        {

                echo '

                                                        ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>';



                // Only tell them about their messages if they can read their messages!

                if ($context['allow_pm'])

                        echo ', ', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];

                echo '.';



                // Is the forum in maintenance mode?

                if ($context['in_maintenance'] && $context['user']['is_admin'])

                        echo '<br />

                                                        <b>', $txt[616], '</b>';



                // Are there any members waiting for approval?

                if (!empty($context['unapproved_members']))

                        echo '<br />

', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';



                // Show the total time logged in?

                if (!empty($context['user']['total_time_logged_in']))

                {

                        echo '

                                                        <br />', $txt['totalTimeLogged1'];



                        // If days is just zero, don't bother to show it.

                        if ($context['user']['total_time_logged_in']['days'] > 0)

                                echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];



                        // Same with hours - only show it if it's above zero.

                        if ($context['user']['total_time_logged_in']['hours'] > 0)

                                echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];



                        // But, let's always show minutes - Time wasted here: 0 minutes ;).

                        echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'];

                }



                echo '<br />

                                                        <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />

                                                        <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>';



        }

        // Otherwise they're a guest - so politely ask them to register or login.

        else

        {

                echo '

                                                        ', $txt['welcome_guest'], '<br />

Deaks

#1102
<td width="45%" valign="bottom" style="padding-right: 10px;"><div style="padding-right: 0px;">';



        echo '<table width="99%" cellpadding="4" cellspacing="5" border="0" style="margin-left: 2px;"><tr>';



        if (!empty($context['user']['avatar']))

                echo '<td valign="top">', $context['user']['avatar']['image'], '</td>';


look for that and change valign="??" to valign="middle"

make a back-up just in case the valign is the code that needs to change in that section to middle
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

unrelenting

Quote from: sloopz on April 29, 2006, 08:06:36 PM
<td width="45%" valign="bottom" style="padding-right: 10px;"><div style="padding-right: 0px;">';



        echo '<table width="99%" cellpadding="4" cellspacing="5" border="0" style="margin-left: 2px;"><tr>';



        if (!empty($context['user']['avatar']))

                echo '<td valign="top">', $context['user']['avatar']['image'], '</td>';


look for that and change valign="??" to valign="middle"

make a back-up just in case the valign is the code that needs to change in that section to middle

That centered it perfectly. Thanks a lot. I was looking to add <center> somewhere.  :-[

Thanks, again.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Xaneth

Hey Bloc, great theme as everyone has mentioned.  I've read through the first 10 pages or so, and I'm having a hard time seeing at this point, switching between tabbed websites messing with my forum all the while http://forum.mirrorstonemusic.com  I noticed a couple of sites that have the menu bar left justified and I would like to do the same.  One thing I notice is that the header shrinker icon is different in my version 05.02.2006 vs the other sites I have visited, maybe an older version?  Can this be adjusted in the index template file?  Sorry if it's been posted earlier in the thread, great reading though!

bloc

Yes, it was changed to just a button like the rest. Moving over to left should be easy though, just find this in index.template.php:

echo '<td style="width: 39%; background-color: black;">
and change to:
echo '<td style="background-color: black;">

That should move it left I assume. Let me know if it works.

Xaneth

That certainly did it, and that was the area in the index that I was looking to make changes, just wasn't sure what the changes consisted of.  Thanks a million, just a small preference.  I noticed earlier in the post that some people were having a hard time finding the font you used to make buttons for the menu, are you still doing custom ones?  I need "Mirrorstone Home" (without quotes), "Tour Dates", "Discography" and "Contact".  I may have more later, still under development.

Xaneth

Never mind, found the button generator!


Xaneth

Installed TinyPortal so it looks better centered now, but nice to know how to move it around.  TP rocks BTW.  I've been messing with forum software since about 2001, and it was of course, phpBB back then.  I installed the first version of SMF when it came out as well.  I'm running a site now that supports cPanel and Fantastico, it's very kewl how easy they've made it to get SMF up and running.  My hosting company only supports 1.07 however, so I had to go back and do it the old fashioned way to get the board itself up and running, but loving all the new features!

JoshA5691

This is by far, the best template that I've ever seen. Only one question, how do you get those extra side bars on your left? Would that be a mod, and if so, which one?

Xaneth

www.tinyportal.com  It has a menu on the right as well, I just chose to hide it.  It turns your forum into a functional website as well.  Pretty sweet deal and very customizable.  One word of caution, I had to tear down SMF 1.07, since I had a lot of trouble getting TP up and running on it, it's possible, but it was easier to simply rip it out and start fresh with 1.1RC2.  If you use TP, and are planning on using Helios Multi, make sure to use the TP version of Helios over the SMF Helios.  It's all on their download site.  Also, you need to sign up for the forum on TP's site in order to see all the downloads available.  TP also supports other themes as well.  Have fun with it, I am!

WoraZ

i have uploaded the Helios theme but i can not see it on the theme list :(
what can i do?

Xaneth

Quote from: WoraZ on May 07, 2006, 01:38:03 PM
i have uploaded the Helios theme but i can not see it on the theme list :(
what can i do?

If you uploaded via FTP, you still need to install it.  Go into administration, themes and layout.  Give it the path to your theme and install it.  You can also upload the zipped theme and install that way too.

Satsh

While I am considering to upgrade from Helios 1.1 to 1.1rc2 finally, I had hopes that an old problem would have finally been fixed - but it hasn't. Which leads me to the possibility that it might be a mistake on my side.

Following scenario:

I am using helios-german and all checkboxes are severely screwed, as in not having an kind of background or anything. I changed back to english for the snapshot, so you get an idea where it comes from. The problem persists with both the old helios and helios1.1rc2



As you can see it is rather hard to pin down the actual location of the checkboxes. If I remember correctly this problem popped up when I switched from Apache1.3 to Apache2.0 a few months ago. Ever since that I wasn't able to fix it, without making manual changes to the css - but I am not really into that css stuff ;)

Any insight would be appreciated.

Thanks in advance
Sascha

bloc

Really strange..which browser did you use for that screenshot?

Satsh

I'm using Opera 8.54 and since it seems you suspected it to be a browser issue, I tried IE6 and it showed perfect results for the checkboxes - white background with shades at the border it seemed.

Would it be possible for you to check into the reasons why Opera isn't displaying it properly? Maybe IE6 isn't interpreting the CSS like it should, but corrects some kind of missing definition by itself - making it unnoticable for IE users. I really wouldn't make me wonder... as I usually expect Opera to show the real results and IE just making use of some proprietary definitions noone else uses in that way.

Aimless Hexes

Hiya!  I upgraded to version 1.1 RC2 and now I see a lot of errors in my log where it cannot find this:


...Themes/helios_multi/images/icons/normal_post_sticky.gif


Does anyone have this image that I can copy and upload?  For some reason its not in the 1.1 RC1 nor the upgraded version unless I missed it.

Much appreciated, and looove this template.  I've been using it for ages now and its the best IMO.   ;D

bloc

It should be in the RC2 of Helios? If not, simply copy it from classic theme, I think it was those that was used for it.

Advertisement: