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

clickbouyow

Yes.  The ones in Helios_multi11_RC1.  Does nothing.

kimncris

#861
totally wierd- I don't know why that is...





I also adjusted the left margin a little in the Display.template.php file

basically I just changed the 15% and 85% and then the 16% and 85% to 10% and 90% on each of the 2 sets of code below.  Does anyone see any problems arising from these 2 changes?  Or is there anywhere else I might need to change it too?  (look for the arrows)

Quote<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
        <tr class="titlebg">
-------->   <td valign="middle" align="left" width="10%" style="padding-left: 6px;">
                        <img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" alt="" align="middle" /> ', $txt[29], '
                </td>
-------->   <td valign="middle" align="left" width="90%" style="padding-left: 6px;">
                        ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
                </td>
        </tr>
</table>';




and




    // Show information about the poster of this message.
                echo '
                                <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
                                        <tr>
--------------------------------->              <td valign="top" width="10%" rowspan="2" style="overflow: hidden;">
                                                        <b>', $message['member']['link'], '</b>
                                                        <div class="smalltext">';

                // Show the member's custom title, if they have one.
                if (isset($message['member']['title']) && $message['member']['title'] != '')
                        echo '
                                                                ', $message['member']['title'], '<br />';

                // Show the member's primary group (like 'Administrator') if they have one.
                if (isset($message['member']['group']) && $message['member']['group'] != '')
                        echo '
                                                                ', $message['member']['group'], '<br />';

                // Don't show these things for guests.
                if (!$message['member']['is_guest'])
                {
                        // Show the post group if and only if they have no other group or the option is on, and they are in a post group.
                        if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
                                echo '
                                                                ', $message['member']['post_group'], '<br />';
                        echo '
                                                                ', $message['member']['group_stars'], '<br />';

                        // Is karma display enabled?  Total or +/-?
                        if ($modSettings['karmaMode'] == '1')
                                echo '
                                                                <br />
                                                                ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
                        elseif ($modSettings['karmaMode'] == '2')
                                echo '
                                                                <br />
                                                                ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';

                        // Is this user allowed to modify this member's karma?
                        if ($message['member']['karma']['allow'])
                                echo '
                                                                <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], '">', $modSettings['karmaApplaudLabel'], '</a>
                                                                <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';

                        // Show online and offline buttons?
                        if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
                                echo '
                                                                ', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" align="middle" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message['member']['online']['text'] . '</span>' : '', '<br /><br />';

                        // Show the member's gender icon?
                        if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
                                echo '
                                                                ', $txt[231], ': ', $message['member']['gender']['image'], '<br />';

                        // Show how many posts they have made.
                        echo '
                                                                ', $txt[26], ': ', $message['member']['posts'], '<br />
                                                                <br />';

                        // Show avatars, images, etc.?
                        if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
                                echo '
                                                                <div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';

                        // Show their personal text?
                        if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
                                echo '
                                                                ', $message['member']['blurb'], '<br />
                                                                <br />';

                        // This shows the popular messaging icons.
                        echo '
                                                                ', $message['member']['icq']['link'], '
                                                                ', $message['member']['msn']['link'], '
                                                                ', $message['member']['aim']['link'], '
                                                                ', $message['member']['yim']['link'], '<br />';

                        // Show the profile, website, email address, and personal message buttons.
                        if ($settings['show_profile_buttons'])
                        {
                                // Don't show the profile button if you're not allowed to view the profile.
                                if ($message['member']['can_view_profile'])
                                        echo '
                                                                <a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';

                                // Don't show an icon if they haven't specified a website.
                                if ($message['member']['website']['url'] != '')
                                        echo '
                                                                <a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';

                                 // Don't show the email address if they want it hidden.
                                if (empty($message['member']['hide_email']))
                                        echo '
                                                                <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';

                                // Since we know this person is a guest, you *can* message them.
                                if ($context['can_send_pm'])
                                        echo '
                                                                <a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a>';
                        }
                }
                // Otherwise, show the guest's email.
                else
                        echo '
                                                                <br />
                                                                <br />
                                                                <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';

                // Done with the information about the poster... on to the post itself.
                echo '
                                                        </div>
                                                </td>
------------------------------------->          <td valign="top" width="90%" height="100%">
                                                        <table width="100%" border="0"><tr>
                                                                <td align="left" valign="middle"><a href="', $message['href'], '"><img src="', $settings['images_url'], '/post/' . $message['icon'] . '.gif" alt="" border="0" /></a></td>
                                                                <td align="left" valign="middle">
                                                                        <b><a href="', $message['href'], '">', $message['subject'], '</a></b>';

(obviously I did not add those arrows to the actual code)

and I added a little box around the poster info section

Quote// Show information about the poster of this message.
                echo '
                                <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
                                        <tr>
                                                <td valign="top" width="10%" rowspan="2" style="overflow: hidden;" style="border: solid 1px #000000;">
                                                        <b>', $message['member']['link'], '</b>
                                                        <div class="smalltext">';

after the change....






everything still OK- or am I in dangerous territory with all of these edits??

-cris

clickbouyow

Ok.  I figured out how to turn off part of it.  The above turns off only time logged in.  The avatar and the personal messages are still there.

kimncris

yeah- just turning off the one thing fixed my alignment issue as shown in the screen caps.

but you could use the same technique to remove it all...

-cris

kimncris

well, I thought you'd like to know that I have gotten tons of compliments on your theme and someone even said they though it was the best one they've seen on the internet!

anyway, thanks again and after using my "edits" to the code for about a week, I see no real problems except that on smaller displays the avatars have little scroll boxes around them.

I suppose I could fix this be making that poster info box a set pixel width... no to figure out just how to do that....

-cris

bloc

#865
Thank you. Best on the net..? wow. :)

The avatars gaining scrollbars can be cured...but that will allow the column to expand for big avatars, it may be not what you want perhaps?

btw. love your avatar. 5th element is one of my favourite movies, right up there with Bladerunner and LOTR. ;D

kimncris

he heee. :)  Thanks, Bloc.  It's one of our favorites too.  I always think mul-teee-pass  in my head when I see that picture.

So if I mod the code to allow for bigger avatars, will that also allow for bigger screen names?  I noticed that long screen names just extend past the margin (into the ether apparantly) in my currently modified version. I already set the size limit of avatars to 75x75 to minimize the effect on my top banner picture.

We are also eagerly awaiting the release of tiny portal!

thanks again,


-cris

bloc

#867
Yes, it will. in fact, its the value "overflow: hidden;" that makes it like that. take it way, and both avatar and name will show in full.

kimncris


Brad

I installed this theme but none of the new toggle functions in the Active Theme section showed up?

Any reason why?  The theme seemed to install properly but I can't choose between the different colors and what not?

J. Williams

The toggle functions only work when you're using the theme

The color selector is top right
Joshua Jon Williams
Back in Action.

Katiroth

I sincerely apologize if this has already been brought up. I just went through all 58 pages of this, and after page 30 or so, things started blurring together.

Anyway, the banner for my anime club's forum doesn't fit in the box for the logo. I've since moved it to the header, but it would be quite nice to allow it to be in the box. The other admins think it looks better in there..Except then the user stuff like the avatar gets all bunched up.

Is there a way to wrap that text around? Or should we just make a smaller banner? :)

( Here's an example of what it does- hxxp:jade-angel.net/images/nowraparound.jpg [nonactive]

And off that topic, this is my favorite theme ever. And I've used a lot. :)
So tell me, what's the price to pay for glory?

bloc

Thanks. :)

Unfortunelately its the table used that does this..so you would need to make the banner smaller. Since you are using it on the top now? you could instead render the same metal border around it, that might look better.

SingingCrane

Hello, I am a fairly new admin to the SMF forum program, and I must say first that this theme kicks a$$!

I am having trouble trying to find / figure out how to insert my own logo into the top-box (as I have seen others do with some screen-shots). I have looked through a majority of the posts, and I am all confused about what to do. If someone could give me a detailed explanation of how to go about adding my logo, I would be the happiest admin here! Ok...maybe not....but man I would greatly appreciate the knowledge!

Thanks again for a wonderful Theme....now if I can only get it customized how I want..... :P

BlueTicona

was wondering if its possible to change the default theme for the multi? I've been lookin' at the php and can't seem to find the place :\

[now that there's a bar @ the top of the screen rather then uploading the various colors]

bloc

uhm, not sure what you mean..changing the default color scheme of Helios?

There are 2 settings in "current theme settings" that will help: setting a default color and setting the chooser on/off.

draysniro

Ok, I don't know if this has been asked yet, I don't want to search through 59 pages (the search feature is down)...

Will there be any updates for RC1? I would like to use this theme, but it doesn't show the buttons for my arcade  :( .

bloc

Helios_multi is made for several versions of SMF, including 1.1RC1..but the one with bulit-in support for arcade is only at 1.0.5.

Then again ist not difficult to copy over the 2 things to a 1.1RC1 that the arcade mod needs: look after "arcade" in index.template.php and Display.template.php. Then just copy over those 2 code-blocks to the RC1 version in the same spots.

draysniro

#878
Awesome, thanks. Sounds easy enough. Also, is there a way to set the blue as the default instead of the brown?

Ok, I've looked into the scripts. Is it just the following?

Display.template.php:

Quoteif(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
                            foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
                                //print_r($tmp);
                                if($tmp['thumbnail'] != ''){
                                     echo '
                                                                <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
                                }
                                else
                                    echo '
                                                                ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
                            }
                        }

Index.template.php:

Quote// arcade?
        if(isset($modSettings['arcade_version']))
                echo '<td><a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin:  0;" border="0" /></a></td>';


That's what I copied, but the button isn't showing up.

bloc

it needs a button called games.gif placed in images/english folder(for example), do you have that?

The blue version can be permanent by going to "admin / current theme settings" and setting blue as "default" and turning color chooser "off".

Advertisement: