Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: shawnb61 on August 23, 2022, 12:47:24 AM

Title: Starflight
Post by: shawnb61 on August 23, 2022, 12:47:24 AM
Link to the theme (https://custom.simplemachines.org/index.php?theme=3007)
(https://custom.simplemachines.org/index.php?action=download;theme=3007;attach=283079;image;thumb)

Starflight

Overview:
Starflight is a dark theme, with a background animation mimicking interstellar flight.  Maybe helpful for Star Trek, Star Wars, Babylon 5, etc., tv show or movie-oriented sites.  Maybe even NASA, astronomy or even astrology sites.  Or if you just want to zone out & pretend you're flying through space.  Whatever works.  

This theme is built up from the 2.1 Curve2 theme, with several features added for flexibility.

The goal is to provide a single very flexible, usable and feature-rich theme.  A theme that is usable right out of the box - no need to even build a custom banner, it dynamically builds one for you.

This theme is, in part, a demo.  Theme designers should feel free to borrow code & ideas.  It is very straightforward to copy these features over to any theme.

Features:

Requirements:

Limitations:
Releases:
 - v1.4 Initial release
 - v1.5 Enhance flight physics
 - v1.6 Ensure proper defaults used on initial load
 - v1.7 Color enhancements; more user control & fix some contrast issues
 - v1.8 SMF 2.1.4 enhancements
 - v1.9 Improve contrast, consistency, user control
 - v1.10 Fix typo, address console error
 - v1.11 Fix stray checkbox bug
 - v1.12 2.1.5 & 2.1.6 updates; misc tweaks
Title: Re: Starflight
Post by: TwitchisMental on August 23, 2022, 09:25:09 AM
Great work :) .
Title: Re: Starflight
Post by: Steve on August 23, 2022, 02:12:16 PM
Indeed!

Although not my kind of style as is, it looks awesome with the Dark Reader add-on enabled in Firefox and Chrome!
Title: Re: Starflight
Post by: Doug Heffernan on August 23, 2022, 02:54:25 PM
Definitely great work. Well done :)
Title: Re: Starflight
Post by: Antechinus on August 23, 2022, 04:40:29 PM
Interesting coding exercise. Might take a look inside it. :)
Title: Re: Starflight
Post by: shawnb61 on August 23, 2022, 08:50:44 PM
Updated.  Enhanced the flight physics. 

(Improved scaling of star size & speed at various resolutions!)
Title: Re: Starflight
Post by: Steve on August 24, 2022, 09:36:33 AM
Any idea why this shows as a light theme on my forum? (Does it in Firefox and Chrome)

starlightscreenie.jpg

Edit: shows correctly in Edge.
Title: Re: Starflight
Post by: shawnb61 on August 24, 2022, 09:52:40 AM
Quote from: Steve on August 24, 2022, 09:36:33 AMAny idea why this shows as a light theme on my forum? (Does it in Firefox and Chrome)

That's bug.

To fix, go to Admin | Configuration | Current Theme.  Click on the "Reset all to default" link (at the top of the color selectors) & press SAVE.

You only need to do this once.

I have seen this a couple times.  Going from an existing CC theme to a newly installed Starflight, it sometimes retains the old CC colors.  I'm looking into that. 
Title: Re: Starflight
Post by: Steve on August 24, 2022, 12:41:49 PM
I'm sorry Shawn, I'm just not seeing the option you're talking about, or an color selectors for that matter.
Title: Re: Starflight
Post by: Sir Osis of Liver on August 24, 2022, 12:58:17 PM
Nor I.  Today's package in FF102.
Title: Re: Starflight
Post by: TwitchisMental on August 24, 2022, 01:03:07 PM
Did y'all read the read me :P?

Y'all will need to install this mod for it to function properly - https://custom.simplemachines.org/index.php?mod=4231

I am just guessing that this is the reason, if you do have this installed already, ignore me :).
Title: Re: Starflight
Post by: shawnb61 on August 24, 2022, 01:42:08 PM
This is a bug, I can reproduce it.

The link I referred to is here... Click on this & press SAVE:
reset.png
Title: Re: Starflight
Post by: Steve on August 24, 2022, 02:35:22 PM
Awesome! Installing the mod and following your instructions corrected the situation. :D

@TwitchisMental - of course I didn't read the read me file ... men don't read instructions ...  :laugh:
Title: Re: Starflight
Post by: shawnb61 on August 24, 2022, 06:12:14 PM
 New version uploaded that should take care of the default color issue.
Title: Re: Starflight
Post by: Steve on August 25, 2022, 06:01:32 AM
Thanks shawn.  :)
Title: Re: Starflight
Post by: shawnb61 on August 25, 2022, 02:00:53 PM
I think it would be fairly straightforward to add this background animation to other themes, e.g., if you already have a highly customized theme for your forum.

3 steps:
 - Add the canvas & canvas-wrapper div to your template, below the body, just like in this theme.  (Don't forget the closing div.)
 - Copy over the canvas & canvas-wrapper css.  Note that adding the canvas initially disrupted some of the stylings applied to the body, since it changed some sibling & parent-child relationships between elements; this was fixed in this theme by adding the canvas-wrapper and moving those stylings there from the body element in the css.  If your existing theme has a lot of references to the body element, bear this in mind.
 - Copy over the animation code from this theme.js into your theme.js.  Any chunk of code where you see "animation" in the comments.  Same location/sequence.

Enjoy!
Title: Re: Starflight
Post by: shawnb61 on August 26, 2022, 01:33:13 AM
I recently learned that Drake shares my thoughts on using the browser default foreground/background colors for checkboxes & radio buttons...  Ideally, they match the theme.

DrakesThoughtsOnSearchlightCheckboxes.png
Title: Re: Starflight
Post by: shawnb61 on September 03, 2022, 02:02:01 AM
v1.7 uploaded - Color enhancements; more user control & fix some contrast issues
Title: Re: Starflight
Post by: W2NAP on February 23, 2023, 01:09:54 PM
Question, on responsive side of things using a test phone old iphone6 with safari and ff the post text is unreadable (its really dark) but on desktop the same text is white, is there a way to make the post text white across the platforms?
Title: Re: Starflight
Post by: Diego Andrés on February 23, 2023, 02:51:46 PM
Which text, could you attach a screenshot?
Title: Re: Starflight
Post by: W2NAP on February 23, 2023, 04:05:41 PM
Quote from: Diego Andrés on February 23, 2023, 02:51:46 PMWhich text, could you attach a screenshot?

one on desktop the other is iphone6 i use for a test device.

the screenshot of the iphone when actually viewing screen with eyes the text is way darker almost unreadable.
Title: Re: Starflight
Post by: Diego Andrés on February 23, 2023, 08:11:19 PM
The ads or something else might have something to do with it.
I installed the theme and couldn't reproduce the issue.

On your site I can't manually trigger the break points for the responsive view, something is interfering with it.
I visited with a phone and can definitely see the issue from your first attachment.
Title: Re: Starflight
Post by: W2NAP on February 23, 2023, 08:51:57 PM
Quote from: Diego Andrés on February 23, 2023, 08:11:19 PMThe ads or something else might have something to do with it.
I installed the theme and couldn't reproduce the issue.

On your site I can't manually trigger the break points for the responsive view, something is interfering with it.
I visited with a phone and can definitely see the issue from your first attachment.

yeah im not sure its had me scratching head for awhile now. mods i have installed are
EhPortal
Downloads System
Stop Forum Spam
 Contact Page
 Curve2 Color Changer
Optimus

themes/css is a bit outta my league for my brain.
Title: Re: Starflight
Post by: shawnb61 on February 25, 2023, 11:45:31 PM
Hmmm...   I've even installed all of those mods, & cannot reproduce this.  (Though a lot of console errors are introduced, it seems to work anyway!)

And I definitely see the issue on your site.

Starflight heavily uses jquery & .js.  It appears that there is some form of jquery conflict, and it is not updating the colors properly. 

Question - What is your source for the jQuery library under Admin | Configuration | Features and Options | General?

First thing to try...  Go to Admin | Configuration | Current Theme, and press the "Reset All to Default" link (right next to the Color Changer label).  Click on that link & press SAVE.  See if that resolves anything.

Next thing to try...  Try different sources for the jQuery library...  See if that helps...
Title: Re: Starflight
Post by: shawnb61 on February 25, 2023, 11:49:08 PM
If nothing above works... 

Please note that a few of those mods update the themes.  I'd deinstall all & reinstall them, making sure the theme updates are applied.  (Doing the theme first helps with that.)

While doing so, check the site via iPhone after each reinstall to see when it breaks...
Title: Re: Starflight
Post by: W2NAP on February 28, 2023, 01:13:01 PM
Quote from: shawnb61 on February 25, 2023, 11:45:31 PMHmmm...   I've even installed all of those mods, & cannot reproduce this.  (Though a lot of console errors are introduced, it seems to work anyway!)

And I definitely see the issue on your site.

Starflight heavily uses jquery & .js.  It appears that there is some form of jquery conflict, and it is not updating the colors properly. 

Question - What is your source for the jQuery library under Admin | Configuration | Features and Options | General?

First thing to try...  Go to Admin | Configuration | Current Theme, and press the "Reset All to Default" link (right next to the Color Changer label).  Click on that link & press SAVE.  See if that resolves anything.

Next thing to try...  Try different sources for the jQuery library...  See if that helps...
sorry for late reply, work weekends.

jquery lib is google cdn. switching cdn no change.

theme reset to default no change

ah found it, its eh portal. after uninstall everything looks right, but after reinstalling it borks the responsive
Title: Re: Starflight
Post by: W2NAP on February 28, 2023, 01:28:07 PM
ah ha! figured out the cause.

Eh portal has a "responsive display" setting, unchecked the css colors show like they should, however the eh portal parts are not "mobile" compliant. with responsive display checked, all parts show in mobile like they should however css is borked as is shown in the screens.
Title: Re: Starflight
Post by: W2NAP on March 01, 2023, 06:30:40 PM
UPDATE: Found the issue i believe. eh portal has a file that gets put in Themes/default/css/ named portal_responsive.css

I had to run the file into a css format cleaner to pick out exactly what was going on after I did that I noticed in section

body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}

changed color:#212529 to /* color:212529 */ (commenting it out) and it seems to fix the text display issue. Hope this helps someone else who may run into this problem on this theme or any other themes.
Title: Re: Starflight
Post by: shawnb61 on March 01, 2023, 07:57:13 PM
Thanks for sharing!
Title: Re: Starflight
Post by: W2NAP on March 02, 2023, 10:08:23 AM
Quote from: shawnb61 on March 01, 2023, 07:57:13 PMThanks for sharing!

no problem, little more checking on the "hack" everything in portalresponsiveness.css with will need to be changed from (color:#212529 is in several places)

color:#212529
to
/* color:#212529 */

which will cover all created pages, etc. I missed that last night.
Title: Re: Starflight
Post by: shawnb61 on June 10, 2023, 09:42:22 PM
v1.8 released.  Minor tweak to allow control of new SMF 2.1.4 attachment UI colors.
Title: Re: Starflight
Post by: shawnb61 on March 19, 2024, 02:25:10 PM
Latest version uploaded - 1.11 - addresses a couple minor bugs.
Title: Re: Starflight
Post by: Grendor on May 14, 2024, 02:00:31 PM
Hello Shawnb61,

I really like the theme but I am stumped on 1 issue.

How do I get the logo.png to center like your image shows?
My logo.png is being put all the way to the left like its left justified.

Thanks
Grendor

Title: Re: Starflight
Post by: shawnb61 on May 14, 2024, 03:26:20 PM
Quote from: Grendor on May 14, 2024, 02:00:31 PMHow do I get the logo.png to center like your image shows?
My logo.png is being put all the way to the left like its left justified.

If you are entering the logo under Admin | Configuration | Theme Settings, then the simplest way is to just add "text-align: center" to the theme's index.css, ~line 1163, so that section looks like:

h1.forumtitle a {
    color: var(--cc_special_titles_color);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-align: center;
}

Title: Re: Starflight
Post by: Grendor on May 14, 2024, 08:12:03 PM
Quote from: shawnb61 on May 14, 2024, 03:26:20 PM
Quote from: Grendor on May 14, 2024, 02:00:31 PMHow do I get the logo.png to center like your image shows?
My logo.png is being put all the way to the left like its left justified.

If you are entering the logo under Admin | Configuration | Theme Settings, then the simplest way is to just add "text-align: center" to the theme's index.css, ~line 1163, so that section looks like:

h1.forumtitle a {
    color: var(--cc_special_titles_color);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-align: center;
}



Hello,

First thanks for your reply to my issue.

I think issue is because I am using an image in the load image url.
If I leave blank I get an image that is centered but not in style I like.

So if I am going to use a custom image/logo I made I center it with the info you provided?

Thanks
Grendor
Title: Re: Starflight
Post by: shawnb61 on May 14, 2024, 08:58:14 PM
Yup.
Title: Re: Starflight
Post by: Grendor on May 14, 2024, 09:33:37 PM
Hello,

Thanks you very much for the help and hand holding..
It has been a long time since I did anything with php, css or html..

I will give it a shot later or early tomorrow.

Thanks
Grendor
Title: Re: Starflight
Post by: Grendor on May 22, 2024, 11:50:29 PM
Hello,

Got it working it was a 2 issue problem.
First was database pointing to wrong location.
2nd was a file name being wrong.

Thanks
Title: Re: Starflight
Post by: Sir Osis of Liver on August 07, 2024, 10:59:08 PM
Hey, shawn, just found your 2.1 themes couple days ago and have been playing with Starflight.  Made some modifications, it's running here (https://www.thekrashsite.com/forum/).  Haven't installed color changer mod, don't see why that's necessary, nothing bad's happened that I can see.  Don't have a clue how you're doing the animations, looks like it's in theme.js but it's well over my head.  Only problem I've had is if I load forum then quickly go to different site Firefox hangs for several seconds.  Really nice theme.
Title: Re: Starflight
Post by: shawnb61 on August 09, 2024, 01:16:26 PM
Quote from: Sir Osis of Liver on August 07, 2024, 10:59:08 PMOnly problem I've had is if I load forum then quickly go to different site Firefox hangs for several seconds.  Really nice theme.

Thanks! 

I use the theme on personal family/friend sites, & I don't see the hangs.
Title: Re: Starflight
Post by: Sir Osis of Liver on August 09, 2024, 01:20:45 PM
Only happens sometimes, can be as long as 10-15 seconds and locks up the browser.  Just did it now, but mostly doesn't.  Guessing the background cycles, and if it's caught in between it hangs the browser.

Why the color changer mod?
Title: Re: Starflight
Post by: shawnb61 on August 09, 2024, 04:33:50 PM
Quote from: Sir Osis of Liver on August 09, 2024, 01:20:45 PMGuessing the background cycles, and if it's caught in between it hangs the browser.
FYI - Everything it does must be much quicker than it takes to refresh your screen, a tiny fraction of 1/60th of a sec.  Otherwise there would be jitter & display problems all over the place.  Exact same as any site you visit with .js animation on it - including ads.

I suspect you have something else going on, & would look closely at the console.  There should be clues there.

Of course, I'm assuming you're using a current browser.

Quote from: Sir Osis of Liver on August 09, 2024, 01:20:45 PMWhy the color changer mod?
To change colors...

Without it you're missing a bunch of options on the Configuration | Current Theme page, that enable you to make lots of changes in appearance without touching css.  Also, weird things happen with shadows on text, etc., without it, since it controls that.
Title: Re: Starflight
Post by: shawnb61 on August 09, 2024, 05:39:50 PM
@Sir Osis of Liver -
A nit: You introduced some .css syntax errors.  // is not valid css comment syntax.
Title: Re: Starflight
Post by: Sir Osis of Liver on August 09, 2024, 08:48:26 PM
Quote from: shawnb61 on August 09, 2024, 05:39:50 PMA nit: You introduced some .css syntax errors.  // is not valid css comment syntax.

Oops, it's not valid but it works.  Use it for temporary edits then usually remove it.  Must have missed that one (probably more than one).

Am having the hang problem in FF 115.13.  Just saw it again, animation freezes and browser hangs approx. 10 sec. 

Console -


Script terminated by timeout at:
anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:206:13
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
FrameRequestCallback*anim@https://www.thekrashsite.com/forum/Themes/Starflight/scripts/theme.js?smf214_1723250983:200:23
theme.js:206:13
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015. (Reason: CORS request did not succeed). Status code: (null).

None of the "sha512" hashes in the integrity attribute match the content of the subresource. The computed hash is "z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==". community
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js. (Reason: CORS request did not succeed). Status code: (null).

Loading failed for the <script> with source "https://adsystem.simplemachines.org/www/delivery/asyncjs.php". community:44:82
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js. (Reason: CORS request did not succeed). Status code: (null).

<script> source URI is not allowed in this document: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js". community:43:108
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015. (Reason: CORS request did not succeed). Status code: (null).

None of the "sha512" hashes in the integrity attribute match the content of the subresource. The computed hash is "z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==". community
Loading failed for the <script> with source "https://ssl.google-analytics.com/ga.js". community:1:1
Some cookies are misusing the recommended "SameSite" attribute 3


FF is running with max privacy/security settings and Ghostery installed.  Theme appears to be calling scripts from external sources.





Title: Re: Starflight
Post by: Steve on August 10, 2024, 06:57:14 AM
Quote from: Sir Osis of Liver on August 09, 2024, 08:48:26 PMAm having the hang problem in FF 115.13.
Firefox is at 129.0 now if that makes any difference.
Title: Re: Starflight
Post by: shawnb61 on August 10, 2024, 03:27:09 PM
Can you reproduce in other browsers?  Do you see it on your mobile device?  Have you tried the current version of FF?

Does anybody else see the issue?

I have tried to reproduce this but cannot, on your site or mine, using different browsers, including FF & FF clone Pale Moon, desktop & mobile.  I even installed Ghostery and jacked up my security settings in FF to max.  I still cannot replicate.

If this were somehow due to the theme, site, or server, I'd have seen it by now. 

My suspicion is that this is either due to the old version of FF or due to a PC issue.

Quote from: Sir Osis of Liver on August 09, 2024, 08:48:26 PMTheme appears to be calling scripts from external sources.
This is not the case.  The theme was written from scratch, in native .php & .js, no external libraries needed.  You can see for yourself, the animation is the last 70 lines of theme.js.

That particular error (script terminated by timeout) normally happens in while() loops that don't end, but there are no while loops in the code.

The only suggestion I can offer on the theme side is to decrease the # of stars.  Just lower the number in the generateStars() call on line 25.

(The default # of stars is 991.  To try to replicate, I actually bumped up the # of stars on my site to 1,000,000.  The animation was very choppy & forum navigation was unacceptably slow, but no problems navigating to/from site & no errors.  At 30,000 stars, I still see perfectly smooth animation, & it's kinda glorious...)

amillionstars.png
30000stars.png
Title: Re: Starflight
Post by: shawnb61 on August 10, 2024, 05:33:27 PM
Note also that I anticipated that some folks might have issues with .js animation... 

If it's just you, then under your profile, under Look & Layout, there is a checkbox to Disable Animations.
Title: Re: Starflight
Post by: Sir Osis of Liver on August 10, 2024, 11:13:56 PM
FF 115 is the latest version that supports Win 8.1, it's on extended support until Sept.  I'll continue using it until it stops working.  Don't use any other browsers.  Don't see this happening on Samsung tab running android FF, but just taking quick looks.  Just happened again on desktop, it's oddly consistent at around 10 sec.  No one else on that forum has reported any problems (it's not very busy).

And, no, don't want to disable animations, that's what makes this theme shine.

Console shows  blocked links to https://adsystem.simplemachines.org/www/delivery/asyncjs.php, https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js, https://ssl.google-analytics.com/ga.js.  What's that about?


Title: Re: Starflight
Post by: shawnb61 on August 10, 2024, 11:53:54 PM
The Disable Animations option is profile-specific, and applies only to the user who sets it.  All other visitors will see the animation (unless they also set the option...). 

At the moment, it appears there is only one PC with the issue with the animation.  My input is to disable the animation on that one PC. 

I provided other options above also, e.g., to lower the # of stars.  (That would be global.)

The blocked links are on this site, simplemachines.org.  They are not on your site.  They are due to this site using google ads. 

Your site is still clean, AFAICT. 

(Note you will see similar cookies whenever you use media embed tools, e.g., for YouTube videos.  That is due to the script streaming the YT video reaching back to Google...)
Title: Re: Starflight
Post by: Sir Osis of Liver on August 10, 2024, 11:59:06 PM
If I ever boot my new Win 11 desktop again (not anytime soon) will try it there.  Not a big deal, just annoying.  If no one else complains I can live with it.
Title: Re: Starflight
Post by: Sir Osis of Liver on August 26, 2024, 01:32:27 PM
Just installed color changer mod to see if it fixes browser freeze, and had a minor problem.  With Arantor sidebar mod installed, color changer installation display is pushed offscreen right, including install button.  Doesn't happen with other mods.
Title: Re: Starflight
Post by: shawnb61 on August 26, 2024, 05:55:27 PM
That sounds like an incompatibility problem between those two mods.  Would be more approriate to report on the mod support threads (if at all).
Title: Re: Starflight
Post by: Sir Osis of Liver on August 26, 2024, 09:43:10 PM
Yeah, it's not a big deal, unless user can't find install button.  Also happens in Curve2.  Posted in mod topic, maybe they'll fix it.
Title: Re: Starflight
Post by: shawnb61 on July 15, 2025, 03:53:01 PM
Latest version uploaded - 1.12 - Features 2.1.5/2.1.6 support & a couple minor tweaks.
Title: Re: Starflight
Post by: Sir Osis of Liver on July 15, 2025, 04:21:40 PM
FYI, the previously mentioned browser freeze problem is gone running FF 140 in linux.