Want to get involved in developing SMF, then why not lend a hand on our github!

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


Quote from: Bloc on September 30, 2004, 04:21:56 AM
That tutorial is excellent, but to answer his question about background - one will have to find in index.template.php the line that begins with : $topbox=

This variable holds the frame aorund the newsbox and userinfo and if you add a bgcolor="yourcolor" in the last <td> of that line, you will change the backgroundcolor in both. BUT there is one problem...the graphics for the frame(and everything else btw) is NOT transparent in order to achieve a smooth transition, so you will have to change the graphics as well if you dont want a abrupt change from your color to black.I designed with black background in mind, and have to change all graphics and a few places the bgcolors in order to get a different background...

Moving the newsbox can be done, but you will have to take out the code for putting a logo on the right, and changing widths in the user-info box as well.

Ok sorry for being a newbie here I'm sure you're busy and all, however although the first bit was nice and straight forward, I can't get the newsbox thing to work ???

I think I've figured out the area that controls the the position of the news and info boxes, but changing them makes know difference. I must have to change that logo placement thing you mentioned. Would you be so good as to tell me where that is and how I change it? Thanks so much!


Well, it is not that much to change anyway so here goes..!  ;)

Find this code in index.template.php :

        echo '

        echo '</div>'.$botbox.'</td>';
        if((isset($settings['userlogo']) && !empty($settings['userlogo'])) && (isset($settings['userlogospot']) && $settings['userlogospot']=='corner')) echo '<td align="right" valign="top"><a href="index.php"><img border="0" src="'.$settings['userlogo'].'" border="0" alt="logo" /></a></td>';
        echo '</tr>';
        if (!empty($settings['enable_news']))
               echo '<tr><td style="padding-right: 10px;" width="50%" align="left" valign="bottom">'. $topbox.'<div style="padding: 6px; text-align: center;">'.$context['random_news_line'].'</div>'.$botbox.'</td></tr>';

        echo '</table>';

..and replace with :

        echo '

        echo '</div>'.$botbox.'</td>';
        if (!empty($settings['enable_news']))
               echo '<td width="50%" style="padding-right: 10px;" width="50%" align="left" valign="bottom">'. $topbox.'<div style="padding: 6px; text-align: center;">'.$context['random_news_line'].'</div>'.$botbox.'</td>';

        echo '</tr></table>';

Hope that helps. :)


hey bloc

a problem arose when i put your theme on my forum

this comes up

"Notice: Undefined index: hello_member in /home/raption/public_html/pbn/SMF/Themes/helios/index.template.php on line 157 raven, you have 0 messages, 0 are new.
Total time logged in: 42 minutes.
Show unread posts since last visit.
Show new replies to your posts. "

thats at the top

could u please help me?


Do you use the latest version of SMF? Helios is done for RC1, not the betas...


Hey, awesome job on this theme Bloc! ^_^ I installed it and it works great right out of the box. My members like it too, but I've found that the theme has limits on the size of the avatars. If the avatar image is wider than about 150px the scrollbar shows up on the bottom of the image. If the image is taller than about 200px, the avatar doesn't show up at all. I know that those seem like large sizes, but I've never wanted to have any restrictions on the images that my members could use .. well within reason of course. ^_^;; Please, any tips on how to cure this would be welcome. Also, I would also like to add by site banner to the top of board index, and I'm afraid that I'll need a little help with that too.


I tested it with a 200x300 avatar on my test-board and I do not have any problems there really...if you mean the userinfo-box. But in the display-view the scrollbar does show up on the bottom , meaning the avatar is bigger than the space allowed for user-info on the left.
This is what you can do:

- open up Display.template.php in your Helios(?) theme folder and find:

                // Show information about the poster of this message.
                echo '
                                <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">

- take out the style="table-layout: fixed;" bit and the avatar will show up in full.

A banner to the top of the boardindex? If you mean on top of everything - userinfo too - you can just go to the admin section , find "current theme setting" and fill in the "logo" box with a link to the banner (picture), then choose "location of logo" to "top".


Much Thankies Bloc-san! The avatars now all look okay. ^_^ The logo settings thing is something new that I haven't seen before and a nice convenience. Did you come up with that yourself or is it a new feature that came out with RC2?


No, that is my idea..who knows maybe rc2 will have it too :)


And a nice idea it is too ;) Although as a tip for future revisions, it would be nice if you could add HTML code to the logo link from within the Admin area, if I tried to do anything like set size, add a hyperlink, add alt text etc it wouldn't work. In the end I had to do it myself manually within the php file. Maybe something to think about for the future!

I launched my customised version of your theme on my site this weekend, and it's proved to be a resounding sucess. Couldn't of done it without you bud ;D! I also notice that you've taken on the idea of having dual info/news type boxes at the top of the page for your site too! ;)


Yes I have. :)

I have tinkered with the idea of having a box for html-code, especially for the Themis theme - where i wanted to have a sidebar with all your extra buttons,links etc. (in html). But a severe limitation is that the variable that holds that in the database is set to a fixed size...

So it was hopeless to put in more than a couple of links+image tags in there. I assume one must do something with the source files in order for it to accept more characters.


Sigh.... I suppose it could be lengthened....

! The value of theme options and theme settings can now be much longer. (smf_1-0.sql, upgrade.php)



:) Excellent. I will certainly put that to good use!


Thanks, dude :D

Exactly what I was looking for.  Good work :)

weekend camper

I could get the logo showing when its on the "top" but not when its on the "right top corner"?

Nice skin btw.


ah...sorry. I changed that, but forgot to update the admin section. Currently it will only show logo on top, and the news on the right-top instead.


Will there be an update to the theme that fixes this problem?

BTW Great theme!  I customized it a little for my site (mainly I just changed the colors) and it looks GREAT!  Thanks Bloc!


You're welcome! The color you used is really "spacey".. ;) Gives a special feeling to the site.

I am planning to add RC2 features to the theme - mainly adding "mark unread" button and other small bits, and will update at the same time the admin panel with option of centering left/right/center the logo + once again get the place to put it working right.

I have been busy starting on a new theme, therefore not doing this at once.... ;)


Bloc.. you rock! I had another forum installed and was just about to bring it live... then I saw this ;D

It fits my website as close as one could get without designing it specifically.

THANK YOU!!!!!!!

I still have some modding to do on the pod graphics so that it mirrors my site, but you got me 90% there!

Thanks again!
Mark (home page) (forum)


Thank you! ;) And I have to say - your site looks very good! Love the graphics and layout.


Updated the theme with german buttonset. See first post for details.