Advertisement:

Author Topic: [Theme] Apollo (SMF v1.0.5 - SMF v1.1RC2)  (Read 209066 times)

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,426
  • Gender: Male
Re: [Theme] Apollo for RC1
« Reply #40 on: September 14, 2004, 04:45:56 AM »
Just great! :o

Offline trenchteam

  • Sr. Member
  • ****
  • Posts: 901
  • Gender: Male
    • NO WALLS STANDING
Re: [Theme] Apollo for RC1
« Reply #41 on: September 14, 2004, 06:27:46 AM »
oh yeah! ;D

Offline trenchteam

  • Sr. Member
  • ****
  • Posts: 901
  • Gender: Male
    • NO WALLS STANDING
Re: [Theme] Apollo for RC1
« Reply #42 on: September 25, 2004, 07:31:50 PM »
Great work. GOod to know that there a people like you willing to put in work to benefit everyone!  Thanks again! :D

Offline HEB XI 1

  • Jr. Member
  • **
  • Posts: 199
  • Gender: Female
    • HEB XI 1
Re: [Theme] Apollo for RC1
« Reply #43 on: September 30, 2004, 03:58:26 PM »
Bloc - could you tell me what code to change to put the forum date and time back into the user info box?  Many of my users have been missing that small detail but I'm not sure where to put it :)

Thanks!

bloc

  • Guest
Re: [Theme] Apollo for RC1
« Reply #44 on: September 30, 2004, 06:16:49 PM »
Sure thing. Find this code in index.template.php:

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

        echo '</div>'.$botbox.'</td><td colspan="2" width="50%" align="right" valign="top">' , isset($settings['userlogo']) ? '<a href=""><img src="'.$settings['userlogo'].'" border="0" alt="logo" /></a>' : '' , '</td></tr></table>';

        // news
            echo '
                   </div><div style="margin-top: 5px; padding: 0px; margin-left: 38px; margin-right: 38px; margin-bottom: 0px; text-align: center;">
                 '.$topbox.'<div style="border: solid 1px #c0c0c0; background: #edeeF8; padding: 3px;">'. $context['random_news_line'].'</div>'.$botbox.'</div><br />';

                // Show the menu here, according to the menu sub template.


And on the first line there just change it to:

        echo '<br />'.$context['current_time'].'
                                                </td></tr></table>';


This way it will show date/time for both members and guests.

Come to think of it, I think I will stick with that change - its nice to have the date actually. :)

Offline HEB XI 1

  • Jr. Member
  • **
  • Posts: 199
  • Gender: Female
    • HEB XI 1
Re: [Theme] Apollo for RC1
« Reply #45 on: October 01, 2004, 02:34:28 PM »
perfect - thanks so much!

Offline HEB XI 1

  • Jr. Member
  • **
  • Posts: 199
  • Gender: Female
    • HEB XI 1
Re: [Theme] Apollo for RC1
« Reply #46 on: October 13, 2004, 07:51:00 PM »
hehe - don't mean to be a troll, but a user just pointed this out to me:

Quote
are you aware that on the main index page there are no labels for the numbers to the right of the forum folder?  ie no post/view count labels on the main index

Main link in case it's just my board:  http://www.raven-flight.com/community

I hadn't noticed it personally, and actually kinda like it like this board: http://www.praetorian-guard.com/forum

Can ya point me in the right direction?


bloc

  • Guest
Re: [Theme] Apollo for RC1
« Reply #47 on: October 13, 2004, 08:29:47 PM »
hm. Did not notice that. Find the BoardIndex.template.php and look for this:

        foreach ($context['categories'] as $category)
        {
                echo '
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="5">
        <tr>
                <td colspan="5" class="catbg', $category['new'] ? '2' : '', '" height="18">';

                // If this category even can collapse, show a link to collapse it.
                if ($category['can_collapse'])
                        echo '
                        <a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a>';

                echo '
                        ', $category['link'], '
                </td>
        </tr>';

                // Assuming the category hasn't been collapsed...


and replace with this:

        foreach ($context['categories'] as $category)
        {
                echo '
<div class="tborder"><table border="0" width="100%" cellspacing="1" cellpadding="5">
        <tr>
                <td colspan="2" class="catbg', $category['new'] ? '2' : '', '" height="18">';

                // If this category even can collapse, show a link to collapse it.
                if ($category['can_collapse'])
                        echo '
                        <a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a>';

                echo '
                        ', $category['link'], '
                </td>
                <td width="6%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[330], '</td>
                <td width="6%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[21], '</td>
                <td width="22%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[22], '</td>
        </tr>';

                // Assuming the category hasn't been collapsed...


The changes is in bold text. This will display posts/threads etc. on the same line as the category...a quick fix, but hopefully usable.

And this is not troll-material , rest assured..  ;D

bloc

  • Guest
Re: [Theme] Apollo for SMF RC2 ( and RC1 )
« Reply #48 on: November 06, 2004, 06:47:48 AM »
The theme is updated for use with SMF RC2 + some minor adjustments/enhancements.
See first post for details.

Offline Ride

  • Jr. Member
  • **
  • Posts: 185
  • Gender: Male
    • Southern California Snowboarding Forum
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #49 on: November 11, 2004, 03:01:00 AM »
I think topics and posts got reversed.  Look what happened after I installed the theme.... (great theme otherwise though!!!)


Offline Ride

  • Jr. Member
  • **
  • Posts: 185
  • Gender: Male
    • Southern California Snowboarding Forum
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #50 on: November 11, 2004, 03:34:33 AM »
Fixed it myself in boardindex.template.php under apollo theme

Find this:
Code: [Select]
                </td>
                <td width="6%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[330], '</td>
                <td width="6%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[21], '</td>
                <td width="22%" class="catbg', $category['new'] ? '2' : '', '" align="center">', $txt[22], '</td>        </tr>';


Now just swap $txt[330] and $txt[21] and you'll be all set.

bloc

  • Guest
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #51 on: November 11, 2004, 05:15:43 AM »
Thank you! ...I should have seen that (blush)...updated now though! :)

Offline HEB XI 1

  • Jr. Member
  • **
  • Posts: 199
  • Gender: Female
    • HEB XI 1
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #52 on: November 11, 2004, 03:56:21 PM »
one other small thing ...

Could you give us the code to add to put the inline links and the previous/next buttons at the bottom of the message index?

I could likely find it if I searched around, but I don't want to mess anything up :D

bloc

  • Guest
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #53 on: November 11, 2004, 06:17:34 PM »
Sure. :)

First, look for:

Code: [Select]
        // Finish off the form - again, if Quick Moderation is being done with checkboxes. (1)
        if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
                echo '
                        <input type="hidden" name="sc" value="' . $context['session_id'] . '" />
                </form>';

        echo '
                <table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="margin-top: 1ex;">
                        <tr>
                                <td align="left" class="catbg" width="100%" height="30">
                                        <table cellpadding="3" cellspacing="0" width="100%">
                                                <tr>
                                                        <td><a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], $modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : '', '</td>
                                                        <td align="right" nowrap="nowrap" style="font-size: smaller;">', theme_show_buttons(), '</td>
                                                </tr>
                                        </table>
                                </td>
                        </tr>
                </table>
                '.$botbox;


Then, just add this code right below:

Code: [Select]
        echo '
                <table width="100%" cellpadding="3" cellspacing="0">
                        <tr>
                                <td><a name="top" style="padding-left: 20px"></a>', theme_linktree(), '</td>';
        if (!empty($settings['display_who_viewing']))
        {
                echo '
                                <td class="smalltext" align="right" style="padding-right: 20px;">';
                if ($settings['display_who_viewing'] == 1)
                        echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt[19];
                else
                        echo empty($context['view_members_list']) ? '0 ' . $txt[19] : implode(', ', $context['view_members_list']) . (empty($context['view_num_hidden']) || $context['can_moderate_forum'] ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');
                echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], '</td>';
        }
        echo '
                        </tr>
                </table>';


That should give you the inline links+guests/members viewing both on top and bottom of the messageindex. In fact - it looks really good so I am keeping it altogether. ;) Thanks for the suggestion.

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #54 on: December 17, 2004, 06:06:15 AM »
hi,

i create this 'gnome' buttons for my theme. and publishing here

may be use.

Administrator
Calendar
Chat
Community
Downloads
Home
Login
Logout
Memberlist
News
Polls
Profile
Register
Search
Stats

(Originates from MamboOpenSource, Non-copyrighted items.)

bloc

  • Guest
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #55 on: December 18, 2004, 12:25:51 PM »
If anyone wants more buttons there is a button-generator for Apollo/Mercury(they use the same buttons) at http://www.vennekroken.net/bloc/apollo.php

Offline Fizzy

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,676
  • Gender: Male
  • SMF World Domination
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #56 on: December 18, 2004, 04:53:30 PM »
Hey Bloc,

Nice Gen :)
"Reality is merely an illusion, albeit a very persistent one." - A.E.


Offline ViSioNaRy

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Reach for the stars!
    • DreamQuestor on Facebook
    • DreamQuest Designs
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #57 on: December 19, 2004, 03:29:41 AM »
Man that is sweet! Ya have me wondering whats next.  :D
ViSioNaRy   ;D

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #58 on: December 19, 2004, 06:53:21 AM »
If anyone wants more buttons there is a button-generator for Apollo/Mercury(they use the same buttons) at http://www.vennekroken.net/bloc/apollo.php

Bloc, need a generator Sepia tones? Can you?

bloc

  • Guest
Re: [Theme] Apollo for RC2 ( + RC1 )
« Reply #59 on: December 19, 2004, 06:59:19 AM »
Not sure what you mean? sepia colored buttons for apollo?