News:

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

Main Menu

Skm Night

Started by zutzu, January 19, 2011, 10:56:11 AM

Previous topic - Next topic

zutzu

Link to the theme


Skm Night dark theme for the smf 2rc4, rc5 by Skinmod.

Live demo | Support | Donate to my work



rtl.css added

Tested in:
IE7, Mozilla, Opera, Chrome, Safari



impreza

Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

FFSFFS

Awesome theme; just one issue, on the board index where it displays "new post by user in topic on date", when the post is from that day, the statistics spread out over more lines then it should, fattening up the board index.

for example,

Last post
by The[Knight]
in Re: Forum Looks
on
Today
at 10:00:24 PM

compared to;
Last post
by kEv
in Re: Lax?
on May 01, 2010, 08:37:56 AM


Not sure if I can edit this myself, if I can, please tell me how. Otherwise amazing theme.

[Lucien]

This theme is AMAZING!!!  :D :D :D
Thank you very much, mods also work very good with this theme  :)

I have one question, can you please tell me how i get Adsense Search instead of Smf search in the right corner above?
That would be great, thnx again.

I'm using SMF 2.0.2 and SimplePortal 2.3.4

Crip

I like this ! .. good work! ;)
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

busterone

Good looking theme, gonna try it out.  :)

zutzu

Thank you  guys  ;)



@FFSFFS

you want this?


@soMzE
you want to replace the search for smf, for the search of google?
sorry, I do not speak English


[Lucien]

Quote from: zutzu on January 24, 2011, 11:16:27 AM

@soMzE
you want to replace the search for smf, for the search of google?
sorry, I do not speak English


Yes please  :D

And can please te ll me how to disable the time and date on top of the header, so that it´s always disappeared?

Thank you very much  :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

rdaruszka

I've found an issue with this theme, I've been digging through the source trying to fix it but can't for the life of me figure it out.

When you click the link that is supposed to take you to a specific post or the newest post in a thread it doesn't work properly in IE, Chrome or Firefox.  It instead takes you to the first post on the page you are supposed to go to.

Opera properly takes you to the correct post.

rdaruszka

After much digging I finally found it.

The layout engine for some reason (not saying this is bad just that I don't know why it's true) relies on the <span class="botslice"><span></span></span>

Unfortunately throwing this back in changes the visual look of the theme.  After a bit of hacking about I got it changed to work though.

In the Skm_Night/Display.template.php change the following:

                                                        </div><div class="clear"></div>
                                                </div>
                                        </div>
                                </div>
                                <hr class="post_separator" />';


to this:


                                                        </div><div class="clear"></div>
                                                </div>
                                        </div>
                                        <span class="botslice"><span style="height: 0px;"></span></span>
                                </div>
                                <hr class="post_separator" />';


The height: 0px keeps it from visually changing the theme, but makes the links pop into the right spots.

There may be a better way to fix this but this one works at least.  I prefer changing it this way instead of changing the css file to 0px because that may be used elsewhere in the theme I am not aware of.

zutzu

thanks for report..  ;)



For the fix error, find and remove  in Display.templat.php

// Show the message anchor and a "new" anchor if this message is new.
if ($message['id'] != $context['first_message'])
echo '
<a id="msg', $message['id'], '"></a>', $message['first_new'] ? '<a id="new"></a>' : '';


find:
<div class="date_post"><div>', $message['time'], '</div><span>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', '</span> </div>';

and add after:
// Show the message anchor and a "new" anchor if this message is new.
if ($message['id'] != $context['first_message'])
echo '
<a id="msg', $message['id'], '"></a>', $message['first_new'] ? '<a id="new"></a>' : '';





the packages has been updated, thank you  :)



rdaruszka

Your fix looks to be better than mine, but seeing as I already got mine working and have started mucking about with other things, I'll probably just keep mine the way it is :D

-=[Vyorel]=-

It's compatible whit SMF 2.0 RC5?
My mods for SMF - [6].


ScottyTooHotty

#14
Quote from: FFSFFS on January 19, 2011, 11:08:22 PM
Awesome theme; just one issue, on the board index where it displays "new post by user in topic on date", when the post is from that day, the statistics spread out over more lines then it should, fattening up the board index.

for example,

Last post
by The[Knight]
in Re: Forum Looks
on
Today
at 10:00:24 PM

compared to;
Last post
by kEv
in Re: Lax?
on May 01, 2010, 08:37:56 AM


Not sure if I can edit this myself, if I can, please tell me how. Otherwise amazing theme.

This is the same problem I have. The date seems to spread itself out over 3 lines instead of just the one if the last post was yesterday or today. I have attached a screenshot showing both the normal way (the top one) and the way it looks when the posts say today or yesterday (the bottom one).

Am happy to fix this myself if you could let me know where to locate this

arkayn

Is there going to be an update for this grand theme, the new post link is not working with 2.0.2.

Advertisement: