News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Levertine.com

Started by Arantor, January 11, 2015, 01:43:57 AM

Previous topic - Next topic

Antechinus

Yeah true, but a ******load of mods depend on it anyway, and it's hard to get a really good menu system without js. Pure CSS menus are still a bit half-arsed.

Arantor

To a point, sure, I was just trying to keep the bandwidth down for my typical userbase.
Holder of controversial views, all of which my own.


Antechinus

Incidentally, the things I've been noticing about mods lately are that most of them don't check to see if jQ is already loaded, and/or they'll frequently load an outdated version. Then they'll often call half a dozen js files after that, which could easily be rolled into one and thereby save a truckload of http requests every page  load. That's without even getting into minification.

The CSS files are usually in a similar state.

Arantor

I try to be a bit smarter about that, though in my case I have several different cases where I need jQuery (and jQuery UI) so I don't get completely into the combining/minification deal as thoroughly as I could.

But as a general thing, yes, it's kind of sad that attention isn't really paid to this.
Holder of controversial views, all of which my own.


Antechinus

I'm going to try that bananascript thing on all the Apocalypse js. Obviously will keep expanded copies, and test before sending the squished ones into the wild, but the reductions possible are very impressive.

Gwenwyfar

Quote from: Antechinus on January 17, 2015, 02:04:06 PM
Incidentally, the things I've been noticing about mods lately are that most of them don't check to see if jQ is already loaded, and/or they'll frequently load an outdated version. Then they'll often call half a dozen js files after that, which could easily be rolled into one and thereby save a truckload of http requests every page  load. That's without even getting into minification.

The CSS files are usually in a similar state.
I see a lot of sites that do that... Tons of css and js files. I don't get it. Its even easier to edit if they're all in one place.

Bloc

Quote from: Antechinus on January 17, 2015, 02:33:34 PM
I'm going to try that bananascript thing on all the Apocalypse js. Obviously will keep expanded copies, and test before sending the squished ones into the wild, but the reductions possible are very impressive.
Keep the source lol. I usually do, but one time I did not - had to add all the tidbits into it again, and write the custom code from there on. It was especially tricky since it was Mootools 1.3, but remooz and menumatic needed different versions of the library, so i had to modify it sligtly to fit both.

But generally its better to mash it all togheter and get one request only, no doubt about that.

Antechinus

Oh yeah I'll definitely keep the originals. I do not fancy trying to decompress squashed bananas. That way lies madness.

Antechinus

Oh hey while you're here, I adopted that idea of yours for doing theme updates via package manager. Great idea. It makes beta testing of a theme a lot easier for everyone.

Arantor

Holder of controversial views, all of which my own.


Antechinus

Of course, hardly anyone downloads the patches. The theme has been grabbed 8 times, the first patch 4 times, and the second patch 2 times. At this rate, nobody will install the third patch. :D

Bloc

Quote from: Antechinus on January 17, 2015, 08:02:22 PM
Of course, hardly anyone downloads the patches. The theme has been grabbed 8 times, the first patch 4 times, and the second patch 2 times. At this rate, nobody will install the third patch. :D
Not to hijack Arantors topic further(feel free to split, moderators/Arantor)..but people want it so easy now its ridicoulous. Patches? bah, too much work. :P My themes at my site have been downloaded a whopping 80+ times spread out on 4 themes over 3-4 months. Maybe that number would be bigger is they were placed in the themesite here...but I doubt more than 5 times that figure anyway. And its not half the fun NOT being on my own server then, with support,demosite etc. all centrally located..

Def. the time is out for doing SMF theme work. You certainly won't get any satisfaction out of people actually using them. :P

Which is why I've simply gone back to the roots this year, kept my own ideas and just wrote my own darn blog-script, with theme support and no forum features in sight. 8) NOW I can finally focus on the theme stuff without worrying if it fits anything else. => http://www.bjornhkristiansen.com

[/end rant]

Antechinus

#32
Well at the moment I'm getting satisfaction out of making it. If I decide other forms of satisfaction are required, I'll arrange something suitable.

Nice looking blog. :)

ETA: Just went and grabbed a bunch of your themes. Been focused on my one, and other stuff, so hadn't been keeping an eye on yours.

I do like the way you rewrote GenericList.template.php. I was thinking of doing something similar myself, since it's an obvious step for responsive (not sure if I'll actually do it though, what with everything else).

I also like the neat little logo upload code. I'd love to nick that for Apocalypse, since it'd go well with the banner rotation option I'm going to implement.

Bloc

Feel free to use the code :)

Biology Forums

I thought Protendo was brilliant, btw.

Sorry for the hijack also, had to throw that out there.

420Connect.co.uk

Would anyone using "LevGal" happen to have tweaked it so that videos are responsive?  O:)
www.420Connect.co.uk ~ A Social Network For The #CannabisCommunity ~ Come say "High" ;)

Advertisement: