News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

Onsite

Quote from: Bloc on March 30, 2005, 03:38:06 AM
What kind of message do you get?

Simply, one file version doesn't match the default theme's...

Screen shot attached


bloc

I see. It seems the Display.template version number has changed, I will check what need updating.

Kindred

bloc...   the only change to Display.template.php was a switch:


<search for>
<input type="hidden" name="icon" value="xx" />
<input type="hidden" name="notify" value="', $context['is_marked_notify'] || empty($options['auto_notify']) ? '0' : '1', '" />
<input type="hidden" name="goback" value="', empty($options['return_to_post']) ? '0' : '1', '" />
</search for>

<replace>
<input type="hidden" name="icon" value="xx" />
<input type="hidden" name="notify" value="', $context['is_marked_notify'] || !empty($options['auto_notify']) ? '1' : '0', '" />
<input type="hidden" name="goback" value="', empty($options['return_to_post']) ? '0' : '1', '" />
</replace>
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

katziex

#423
whoah! awesome templates  :)

btw... how do you add links to the template ( probably some affilaite links at the bottom/top)
  • hxxp:kawaiiheavens.net/forums/index.php?topic=235 [nonactive]
  • hxxp:kawaiiheavens.net/forums/index.php?topic=1654.msg32056#new [nonactive] - VOTE NOW~!
hxxp:kawaiiheavens.net [nonactive]

davy19



Here is my forums

http://www.thebandalliance.org


I am using Bloc Helios theme...which btw I love thank you very much.

As you can see I have it running with mambo and want to shorten the forums.  I want to get ridof stats, and the time..time is redundant since i Have that on the top menu of mambo.  I also would like to move where it shows how many private messages to maybe the bottom or something.  I really would like to get rid of the header is that possible?  Thanks

A.M.A

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

bloc

Quote from: davy19 on April 14, 2005, 09:47:38 AM


Here is my forums

http://www.thebandalliance.org


I am using Bloc Helios theme...which btw I love thank you very much.

As you can see I have it running with mambo and want to shorten the forums.  I want to get ridof stats, and the time..time is redundant since i Have that on the top menu of mambo.  I also would like to move where it shows how many private messages to maybe the bottom or something.  I really would like to get rid of the header is that possible?  Thanks

Yes, its possible. Although some code has to be removed. If you open up index.template.php and remove this:
        if(isset($settings['topbar']) && !empty($settings['topbar']))
               echo '<div style="text-align: center; width: 99%">'.$settings['topbar'].'</div>';

        if((isset($settings['userlogo']) && !empty($settings['userlogo'])) && (isset($settings['userlogospot']) && $settings['userlogospot']=='top'))
               echo '<div style="text-align: center; width: 99%"><a href="index.php"><img  src="'.$settings['userlogo'].'" border="0" alt="logo" /></a></div>';

        echo '<div id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '><table width="100%" cellpadding="0" cellspacing="0" border="0">';
         echo '<tr><td width="45%" valign="bottom" style="padding-right: 10px;">'.$topbox.'<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=regcenter">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'];

                // 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 />


                                                        <form action="', $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0; text-align:left;">
                                                                <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
                                                                <select name="cookielength">
                                                                        <option value="60">', $txt['smf53'], '</option>
                                                                        <option value="1440">', $txt['smf47'], '</option>
                                                                        <option value="10080">', $txt['smf48'], '</option>
                                                                        <option value="302400">', $txt['smf49'], '</option>
                                                                        <option value="-1" selected="selected">', $txt['smf50'], '</option>
                                                                </select>
                                                                <input type="submit" value="', $txt[34], '" /><br />
                                                                ', $txt['smf52'], '
                                                        </form>';
        }

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

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

        if (!empty($settings['enable_news']) && (isset($settings['userlogo']) && !empty($settings['userlogo']) && isset($settings['userlogospot']) && $settings['userlogospot']=='top'))
               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>';

        if (!empty($settings['enable_news']) && (isset($settings['userlogo']) && !empty($settings['userlogo']) && isset($settings['userlogospot']) && $settings['userlogospot']=='corner'))
               echo '<div style="padding-right: 10px;">'. $topbox.'<div style="padding: 6px; text-align: center;">'.$context['random_news_line'].'</div>'.$botbox.'</div>';

        // news
            echo '
                   </div>';
        // stats
            echo '<div style="padding-left: 0px;">'.$leftbox.'<table width="99%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" style="color: #88908a; font-size: 8pt; font-family: tahoma, helvetica, serif;"><b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>
                      ', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b>
                      ',  $txt[19], '
                      - ', $txt[656], ': <b> <a style="color: #b0b0b0" href="', $scripturl , '?action=profile;u=' , $modSettings['latestMember'] , '">' , $modSettings['latestRealName'] , '</a></b>
                      </td><td align="right" style="color: #b0b0b0; font-size: 8pt; font-family: tahoma, helvetica, serif;">'.$context['current_time'].'</td></tr></table>'.$rightbox.'</div>';



That will get rid of the whole header. But you probably don't want the upshrink button anymore, so remove this line too:
echo '<td><a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 0px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank-upshrink.gif" alt="" style="margin: 0px 0;" /></td>';


You want the PM section available somewhere...present on all pages , or just on the forums start page?

ivobrown

Thanks, i will use these Themes, but are the following Themes also in german possibility?

Green Plastic?
Silver
Gold
Red
Blue-Grey


While these Themes i want to take for Alternative Themes...

Thanks

bloc

Yes, you install Helios several times, and then overwrite the "pod" folder with the color version you want in each. The one language + buttons is placed in all the Helios installations.

3fifty

I love these themes!  Thank you for taking the time to do these and sharing them.

The question I have is...

if you go here:
http://www.dirtyjeeps.com/nctuners/forum/ssi_examples.php

and look at the menubar function.  It has part of the bar graphic attached to it.  How do I get that off of there so I can use the menubar on the main page?

Thank you.

davy19

QuoteYou want the PM section available somewhere...present on all pages , or just on the forums start page?


Thanks Bloc!  I just woke up so have not had a chance to try it, but yes I still need PM somewhere, i dont know where.  I would love in the upper right next to my logo but i doubt that possible because that is part of mambo.


Kindred

Davy...

Why do you need PM somewhere??

If you ar eon Mambo, then PMs are listed in the login form...  alternatively or additionally, you can add a link in the usermenu to index.php?option=com_smf&Itemid=##&action=pm
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

davy19

Quote from: kindred on April 15, 2005, 09:51:00 AM
Davy...

Why do you need PM somewhere??

If you ar eon Mambo, then PMs are listed in the login form...  alternatively or additionally, you can add a link in the usermenu to index.php?option=com_smf&Itemid=##&action=pm


Hi kindred, thanks for reply.

I dont have mambo and SMF bridged, in fact at this point users dont even login to mambo at all i disabled that feature only because I dont know if i really have a need at this point.  I do have coppermine and smf bridged though.  That really came in handy.

I will try that other option...thanks

jazz

This is a great theme!

What do I need to do to add a banner inside this box to the right?



Thanks!

sandra

Salut,

Je sais pas se qui manque j ai tout installer mais ca me donne ca:



bloc

I am sorry - I do not speak french(?).

gamekiller

I really want the red one. I am a total noob at this type of forum. I am used to proboards.  ::)

Will someone help me get it working? I have the gold one but I want the red one. Please help!  :)

jazz

Quote from: gamekiller on April 19, 2005, 10:53:59 PM
I really want the red one. I am a total noob at this type of forum. I am used to proboards.  ::)

Will someone help me get it working? I have the gold one but I want the red one. Please help!  :)

It's very simple.  All you need to do is download the red pod package.  Extract the files and upload them to your /Themes/helios/images/pod directory.  It's something someone could do for you in just a few minutes, but it would require access to your server.

gamekiller

Quote from: jazz on April 20, 2005, 02:53:53 AM
Quote from: gamekiller on April 19, 2005, 10:53:59 PM
I really want the red one. I am a total noob at this type of forum. I am used to proboards.  ::)

Will someone help me get it working? I have the gold one but I want the red one. Please help!  :)

It's very simple.  All you need to do is download the red pod package.  Extract the files and upload them to your /Themes/helios/images/pod directory.  It's something someone could do for you in just a few minutes, but it would require access to your server.
I tryed to do it myself but I missed a few I guess.

http://gamekiller.globalhangout.com/tutorials2/index.php

gamekiller

Quote from: gamekiller on April 20, 2005, 08:18:58 AM
Quote from: jazz on April 20, 2005, 02:53:53 AM
Quote from: gamekiller on April 19, 2005, 10:53:59 PM
I really want the red one. I am a total noob at this type of forum. I am used to proboards.  ::)

Will someone help me get it working? I have the gold one but I want the red one. Please help!  :)

It's very simple.  All you need to do is download the red pod package.  Extract the files and upload them to your /Themes/helios/images/pod directory.  It's something someone could do for you in just a few minutes, but it would require access to your server.
I tryed to do it myself but I missed a few I guess.

http://gamekiller.globalhangout.com/tutorials2/index.php
Anyone?

Advertisement: