News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Midnight Sun v2

Started by Antechinus, December 01, 2008, 03:52:30 PM

Previous topic - Next topic

Burke ♞ Knight

antechinus

This is by far, one of the most impressive 2.0 themes I have seen. :)

Way to go!!!!

Antechinus

Thanks. I have some more on the way but I'm being lazy over Christmas.  ;)

frantic

we've been doing some mods and stuff with your theme with BurkeKnight's help of course.  You should check out it Antechinus. see what you help start.

http://www.teamjog.com/forum/index.php

we are all very thankful for your hard work by the way, both of you acutally.

frantic

so i modified that psd logo file for our forums, i guess i'm little clueless to what folder to upload it to.  This theme's main folder?

Burke ♞ Knight

On a site I'm working on, the area for editing your signature is white background, and the text is also white.

How would I change one of the colors, so people can see what they type there?
I looked all over the css files, to no avail...LOL

Antechinus

Not sure offhand. I'd have to dig around a bit.

Burke ♞ Knight

I got it sorted... Took some hunting, and no, do not remember what I did, as did about 20 things...LOL

antechinus,

A Multi-Color version would be very neat. ;)

Antechinus

Were the changes in the style.css or somewhere else? I'd like to know for future reference.

At the moment multi versions aren't going to happen. I tried doing a version of Mystic Multi for 2b4 and couldn't get it to work. Yes, I did read the documentation. Note that so far nobody else has released a multi theme for 2b4 that changes anything more than the catbg images. Just sayin'.

Also, due to the complexity of the multiple css files for even single colour themes in SMF 2 I'm coming to the conclusion that sticking to single themes is really the best solution. However it would be possible to arrange a series of single themes so they could be changed like a multi (ie: change bars across the header or whatever).

Burke ♞ Knight

That would work. With the differences in themes that also could be done in the template files, doing the different colors the way you stated would most likely be the best way to do them.

Besides, from what I have seen on MC themes, most people just leave at the default, anyway. LOL

Antechinus

Found a minor bug in this theme. The category collapse doesn't work properly.

In BoardIndex.template.php find this:

// If this category even can collapse, show a link to collapse it.     

      echo $category['link'];

      echo '
      </h4>';


Replace with:

// If this category even can collapse, show a link to collapse it.     

      if ($category['can_collapse'])
      echo '
         <a href="', $category['collapse_href'], '">', $category['link'], '</a>';
         
      else
        echo'
          ',$category['link'];     

      echo '
      </h4>';


I'll incorporate this fix in the RC1 version of the theme. Sorry about that. Meh. :P

taha116

Ok when you modify it please try to make it work in IE properly
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Antechinus


Dazed

Ante, was wondering if you have had any luck with the IE issue. I use FF but some still use IE and whine a bit.  I have really tweaked the initial colors a lot so it looks fantastic in my eyes.. Great theme!  :)

Antechinus

I haven't had time to play with themes lately but I'll get onto it. I need to do some more ready for RC1 anyway.

Dazed

Not a problem. I love the work you have done so far....  :)

Freakies

#55
Is it me or does the show unread and show replies not work in this theme? I installed it on a website I use and it does not appear to work correctly. It just takes you the the index. How can I fix this?

Edit: I am meaning the one at the top right of the theme.

By the way great theme!

Antechinus

#56
Hmmm. To be honest I haven't tested that. Hang on while I check. I may have made a mistake in that coding.

ETA: Seems to work fine. I'm not sure why it's giving you a problem.

Freakies

It just points to the index.php where it should point to index.php?action=unread & index.php?action=unreadreplies

Antechinus

Have a look in your index.template php and see what your code says. It should look like this:

// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo $txt['msg_alert_you_have'], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase'], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';

echo '
<a href="', $scripturl, '?action=unread">',$txt['showunread2'],'</a>&nbsp;/
<a href="', $scripturl, '?action=unreadreplies">',$txt['showreplies2'],'</a>&nbsp;/
<a href="', $scripturl, '?action=profile;sa=showPosts">',$txt['ownposts2'],'</a><br />
', $context['current_time'],'';

Freakies

#59
UH sorry totally spaced on this one.

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

if ($context['allow_pm'])

echo $txt['msg_alert_you_have'], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase'], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';



echo '

<a href="', $scripturl, '?action=unread">',$txt['showunread2'],'</a>&nbsp;/

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

<a href="', $scripturl, '?action=profile;sa=showPosts">',$txt['ownposts2'],'</a><br />

', $context['current_time'],'';


from "index.template.php" in "Themes/MidnightSun2b4"

Advertisement: