News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

XMas

Started by Xarcell, December 16, 2007, 10:53:38 AM

Previous topic - Next topic

Xarcell

Link to the theme


This is a Christmas theme I created for a TP/SMF theme contest in 11-25-2007.

UPDATE: this theme has been updated for the year 2008(version1.4).



The Basics:
1.| XHTML compliant.
2.| Supports 800x600 and above resolution.
3.| Supports browsers: Firefox, Internet Explorer and more...
4.| Theme already supported only for SMF and TP 1.0+ (not TP .98).
5.| Comes with fullsite PSD uncut. [found in: XMass/images/body/]
6.| Modified: index view, board view, topic view, post view, profile view, and some images and icons.

Important files that it includes:
1.| index.template.php (obliviously)
2.| BoardIndex.template.php
3.| MessageIndex.template.php
4.| Display.template.php
5.| Profile.template.php
6.| style.css (obliviously)
7.| snow.js
8.| languages/Settings.english.php

Things that still need working:
1.| Bottom scrollbar in 800x600 resolution. Don't know the cause yet.
2.| Up/Down tabs have no border on the sides in IE. Don't know the cause yet.
3.| Header upshrink needs work...
4.| Due to my limited coding skills, the countdown script is limited to English, and the date must be updated yearly. If anyone can help with this, please PM me...

Other Options:
1.| If you don't like the board layout, just rename the "BoardIndex.template.php" file, or delete.
2.| If you don't like the message layout, just rename the "MessageIndex.template.php" file, or delete.
3.| If you don't like the topic display layout, just rename the "Display.template.php" file, or delete.
4.| If you don't want the snow effect (sometimes may lag), just rename the "snow.js" file, or delete.
5.| If you don't like the profile layout, just rename the "Profile.template.php" file, or delete.
6.| If you wish to lessen, or increase the amount of snow, changes are made in the snow.js file.
7.| If you wish you change the graphics and such for your "own site", you may. However you may not redistribute your modified version of this theme, or claim it as your own. You may add your own name credit, you can add: "Modified by: YOURNAME", beside of my name credit, for your "own site".

Modifications:
1.| The countdown script will need to be updated to the upcoming Christmas after Christmas day, 2007. As an approval promise to SMF, I will upload an updated theme using the countdown date 12-25-2008. However, you can make the changes yourself by following the structions given.

In the "index.template.php" file of the X-Mas theme,

FIND (around line 269):
// Christmas Countdown Script
echo '
<script type="text/javascript">

today = new Date();

BigDay = new Date("December 25, 2007")
msPerDay = 24 * 60 * 60 * 1000 ;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
document.write("There are only " + daysLeft + " days " + hrsLeft +" hours and " + minsLeft + " minutes left  Until December 25th 2007 (Christmas)");

</script>';


REPLACE WITH:
// Christmas Countdown Script
echo '
<script type="text/javascript">

today = new Date();

BigDay = new Date("December 25, 2008")
msPerDay = 24 * 60 * 60 * 1000 ;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
document.write("There are only " + daysLeft + " days " + hrsLeft +" hours and " + minsLeft + " minutes left  Until December 25th 2008 (Christmas)");

</script>';


jossanaijr

Does counting down use admin's time changes (to local time)?

oaqm

FINALLY! I didn't think this theme was going to make it this year.

Deaks

the theme didnt pass pass the guidlines fully ....


i do admit it is a wonderful theme
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Antechinus

Hey that's great. I was thinking our forum needed a Christmas theme. Thanks Xarcell.

Apllicmz




xyxis_fahim

Have to admit, It is the most professional looking  Xmax SMF theme till this day !!

Antechinus

Ok, got a question. Is it possible to edit the width of this theme in css?
I'd like to see a bit more of the blue background but I can't see any "wrapper" tags that'd adjust the width.

Xarcell

I updated the initial post with some more detailed theme information. Yes, it didn't meet the full SMF approval guidelines because of the countdown script. I hope to find a fix for this in teh future.

I really appreciate all of your kind comments. It's a bit encouraging, and I will consider creating more SMF themes, or try to update and release several that I already have for TP.

Thanks again everyone,

-X


Xarcell

Quote from: antechinus on December 17, 2007, 05:17:34 PM
Ok, got a question. Is it possible to edit the width of this theme in css?
I'd like to see a bit more of the blue background but I can't see any "wrapper" tags that'd adjust the width.

No, you cannot edit the width. I started out designing it that way, but it lead to many problems.

Rumbaar

Fantastic Christmas theme Xarcell.  This was certainly the best looking one in the competition, congrats.  I wondered why the download was ~1mb, then noticed the full .psd file (nice addition).  Maybe include that as a separate file to save on peoples downloads, just a thought.

Also the competition was on 11-25-2007, not 11-25-2008, miner but :P
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Antechinus

Ok, I'm trying a few edits and it's driving me up the wall. Specifically I'm trying to alter the size of quoted text. Normally this would be simply a matter of changing "font-size: xxxx;" in the relevant code block, but this doesn't seem to work. 
I've changed it to normal, then to large. I've tried going 90%, 100% 105%, etc.
Nothing works. What gives?

Rumbaar

The code for that, like most themes on here, is found in the style.css.  Edit the following for the body of the quote.

/* A quote, perhaps from another post. */
.quote
{
color: #000000;
background-color: #D7DAEC;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Antechinus

That's precisely my point. That is the code block I'm editing but it doesn't seem to be having any effect.
Yes, I am saving the changes. This is why I'm confused. I'd expect it to work.

Antechinus

Is there any other code block that would override the one mentioned when it comes to quoted text?

wyrdgirl

Good job Xarcell! I've been anxious to get this theme installed!

One question - is there a way to keep the header expanded, in order to always show the link for unread topics, etc?

Thanks!

xyxis_fahim

Hey . any way to add another login to the top along with the bottom one?

suiko

any way to make it compatible with TinyPortal

Rumbaar

I think that request has been made on the TinyPortal forum as well, you can try and do it yourself via Crip Theme Converter page.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Xarcell

Quote from: suiko on December 19, 2007, 05:22:39 PM
any way to make it compatible with TinyPortal


I expect TinyPortal 1.0 to be released soon, but not before x-mas. When it doesn't, it will not need to be converted.

In the meantime, I will ask crip to convert it for me. As I do not have the time...

Advertisement: