Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: TwitchisMental on October 21, 2022, 06:05:09 PM

Title: Christmas
Post by: TwitchisMental on October 21, 2022, 06:05:09 PM
Link to the theme (https://custom.simplemachines.org/index.php?theme=3019)
(https://custom.simplemachines.org/index.php?action=download;theme=3019;attach=284028;image;thumb)

Christmas Theme
A Christmas Theme for SMF 2.1

This is a simple responsive Christmas Theme that only makes CSS changes.

Credits :
Shout out to Antechinus for the Alternative Admin CP Layout that is used in this theme.
Tutorial found here - https://www.simplemachines.org/community/index.php?topic=582354.

License:
(https://img.shields.io/badge/license-MIT-blue)

SMF Version:
(https://img.shields.io/badge/SMF-2.1-blue)

Patch Notes:
1.0 : Initial Release
1.0.1 :
Bug Fix : Fixed an issue where the breadcrumb arrows were not always the same size.
Bug Fix : Fixed a script error related to missing scripts folder.

1.0.2 :
Update: Updated for SMF 2.1.3
Bug Fix : Fixed a bug with the collapse not displaying properly for attachments.

1.0.3
Updated for SMF 2.1.4 and the Attachment UI changes.
Adjustment: Adjusted the background colors for various moderation specific styles.
Adjustment: Adjusted the breadcrumb to display properly on both Chrome and Firefox.
Title: Re: Christmas
Post by: Steve on October 22, 2022, 06:04:05 AM
Cool beans and thanks as always Twitch.  :)
Title: Re: Christmas
Post by: Steve on October 22, 2022, 06:27:55 AM
On the main page, why in some boards is there no link to the last post? e.g.

Capture-1.jpg

The second and fifth have a link but the others don't.
Title: Re: Christmas
Post by: TwitchisMental on October 22, 2022, 11:10:19 AM
Quote from: Steve on October 22, 2022, 06:27:55 AMOn the main page, why in some boards is there no link to the last post? e.g.

Capture-1.jpg

The second and fifth have a link but the others don't.
Ha looks like I left something I was testing in there.

My bad.

Go to line 478 and remove this -

.lastpost > p > span.postby a:first-child {
  display: none;
}


I will upload the fixed package aswell.
Title: Re: Christmas
Post by: Steve on October 22, 2022, 04:28:24 PM
Mucho betterer.  ;D
Title: Re: Christmas
Post by: Steve on October 23, 2022, 03:25:38 PM
Been testing this for a few days now and haven't found any other problems. Nice job Twitch!  ;D
Title: Re: Christmas
Post by: TwitchisMental on October 25, 2022, 02:01:43 PM
Quote from: Steve on October 23, 2022, 03:25:38 PMBeen testing this for a few days now and haven't found any other problems. Nice job Twitch!  ;D
Good to hear :).
Title: Re: Christmas
Post by: Dave J on October 30, 2022, 04:40:27 AM
Thank you Twitch...I knew you could do it ;)

Now just Happy New Year & Valentines :)
Title: Re: Christmas
Post by: Dave J on October 30, 2022, 04:53:23 AM
I have just installed this on my test site and I get this error.. I have removed the beginning of the error

Quotetesting/Themes/Christmas/scripts/minified_5b876b9899ffbb9f7114a9e99893f0e9.js" could not be created. Please make sure the parent directory has the appropriate permissions.

It hasn't created a 'scripts' directory and there isn't one in the package I downloaded.

I have now created the directory and the error has gone.

Any ideas Twitch?

Title: Re: Christmas
Post by: TwitchisMental on October 30, 2022, 12:54:08 PM
Quote from: Dave J on October 30, 2022, 04:53:23 AMI have just installed this on my test site and I get this error.. I have removed the beginning of the error

Quotetesting/Themes/Christmas/scripts/minified_5b876b9899ffbb9f7114a9e99893f0e9.js" could not be created. Please make sure the parent directory has the appropriate permissions.

It hasn't created a 'scripts' directory and there isn't one in the package I downloaded.

I have now created the directory and the error has gone.

Any ideas Twitch?


Humm seems that it is trying to create a minified version of what I assume to be the theme.js. This one does not have one as I was told it is not needed if unmodified.

@Diego Andrés maybe this is why a new theme package still creates the theme.js perhaps?
Title: Re: Christmas
Post by: Shades. on October 30, 2022, 02:38:27 PM
Quote from: TwitchisMental on October 30, 2022, 12:54:08 PM@Diego Andrés maybe this is why a new theme package still creates the theme.js perhaps?
I was having the same problem with my themes but once I started including the empty "scripts" folder in my theme packages the errors went away.
Title: Re: Christmas
Post by: Diego Andrés on October 30, 2022, 03:25:14 PM
Oh yea you do need at least the folder because it expects it  :P
Title: Re: Christmas
Post by: Diego Andrés on October 30, 2022, 07:55:01 PM
Quote from: Shades. on October 30, 2022, 02:38:27 PMI started including the empty "scripts" folder in my theme packages the errors went away.

To avoid any confusion, I added the folders bit as a note on all the relevant topics related to theme guidelines and such  :)
Title: Re: Christmas
Post by: TwitchisMental on October 30, 2022, 08:58:53 PM
New Version uploaded.
Title: Re: Christmas
Post by: TwitchisMental on November 08, 2022, 06:00:45 PM
New Version Uploaded -

1.0.1:
Bug Fix : Fixed an issue where the breadcrumb arrows were not always the same size.
Bug Fix : Fixed a script error related to missing scripts folder.
Title: Re: Christmas
Post by: Steve on November 09, 2022, 06:41:13 AM
Don't know how I missed this yesterday but thanks Twitch!

And it looks so cool with Dark Reader for those of you who prefer a darker theme (the breadcrumbs will look a little odd but nothing major).
Title: Re: Christmas
Post by: TwitchisMental on December 03, 2022, 07:27:01 PM
New Version Uploaded :

1.0.2 :
Update: Updated for SMF 2.1.3
Bug Fix : Fixed a bug with the collapse not displaying properly for attachments.
Title: Re: Christmas
Post by: Steve on December 04, 2022, 06:53:40 AM
Thanks for the update, Twitch.  :)
Title: Re: Christmas
Post by: searchgr on December 22, 2022, 03:37:09 PM
How can i change the left and right borders not to be so wide?
Title: Re: Christmas
Post by: TwitchisMental on December 22, 2022, 04:59:52 PM
Quote from: searchgr on December 22, 2022, 03:37:09 PMHow can i change the left and right borders not to be so wide?

Do you mean the left and right borders on the wrapper/container?

If so you would just go to the index.css

Find
#wrapper {
  clear: both;
  background: var(--white);
  border: 1px solid var(--border_color);
  border-top: none;
}

Replace with

#wrapper {
  clear: both;
  background: var(--white);
  border: 1px solid var(--border_color);
  border-top: none;
  border-left: none;
  border-right: none;
}
Title: Re: Christmas
Post by: Steve on December 23, 2022, 08:52:29 AM
Or does he mean changing the width in the admin theme settings?
Title: Re: Christmas
Post by: searchgr on December 27, 2022, 03:46:50 PM
Thank you!
Title: Re: Christmas
Post by: TwitchisMental on June 11, 2023, 03:49:59 PM
New Version Uploaded:

1.0.3
Updated for SMF 2.1.4 and the Attachment UI changes.
Adjustment: Adjusted the background colors for various moderation specific styles.
Adjustment: Adjusted the breadcrumb to display properly on both Chrome and Firefox.
Title: Re: Christmas
Post by: stoo23 on December 14, 2024, 05:29:01 AM
Hi there,
I was wondering if it was easy to make the Section Collapse/Expand Arrow buttons always appear at the far Right hand end of the Section Header bar, instead of moving to the Left next to the Section Title, when collapsed ??

Christmas_1.PNG

Christmas_2.PNG

Thanks in advance  :)
Title: Re: Christmas
Post by: TwitchisMental on December 14, 2024, 05:13:02 PM
I'll take a look when I get home.  I thought I had fixed this in the past . 
Title: Re: Christmas
Post by: stoo23 on December 14, 2024, 05:55:54 PM
QuoteI'll take a look when I get home

Thanks,... I just have some 'Bahhh Humbug' Old Curmudgeon members that will probably Whinge about that small detail,.... sad really but thought I'd ask, (to avoid the Pain), prior to installing it as the Xmas default.

I just thought it would be a bit of fun,... for a change  :)

Thanks
Title: Re: Christmas
Post by: sudoku on December 14, 2024, 11:18:56 PM
Bah, humbug!  ;D
Was fun, but just briefly.  :P
Title: Re: Christmas
Post by: TwitchisMental on December 15, 2024, 01:00:21 AM
Alright the solution -

open index.css

Find :

/* Toggle for attachments */
#postMoreExpandLink .toggle_up::before, .toggle_down::before {
    position: static;
}


Replace:

/* Toggle for attachments */
#postMoreExpandLink .toggle_up::before, #postMoreExpandLink .toggle_down::before {
    position: static;
}
Title: Re: Christmas
Post by: stoo23 on December 15, 2024, 09:47:06 AM
Thanks for that  :)
Much appreciated  8)

..... and may I wish you a Merry Christmas and a Happy & Prosperous New Year  ;)  :)