• Welcome to Simple Machines Community Forum. Please login or sign up.
September 21, 2021, 12:26:54 PM

News:

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


Add a switch to turn off the "Latest Packages"

Started by NanoSector, April 10, 2012, 10:32:36 AM

Previous topic - Next topic

NanoSector

Okay, this thing is annoying me to the damn hell.
Everytime I open the Package Manager, and specifically the Browse Packages section, that box keeps bugging me. It takes like forever to load up, and I'm not even interested in it. I'm only interested in the packages.

Either move it to the bottom so it loads after the packages or create a switch for it (and other fetching elements in SMF like latest version, news, etc.), but this thing is bugging me like hell as it is.

Thanks
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Matthew K.

I do believe it's cached...you could remove it though if you want :P

NanoSector

Quote from: Labradoodle-360 on April 10, 2012, 10:35:21 AM
I do believe it's cached...you could remove it though if you want :P
Point is that it's not only bugging me. There's lots of users who are waiting impatiently for that box to load without using it.

I think writing a mod for this is useless since something like this should be in the core by default. It's a core feature/bugature after all.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Robert.

I agree and I also think other useless boxes should be removed. Smileys for example. It also has a huge impact on the performance of simplemachines.org, especially because there are so many SMF forums.

Antechinus

YESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Totally agree with these suggestions. I mean sure I can hack the template to remove them myself, but a lot of users don't have those skills. Those boxes have been annoying me for ages, cached or not. Usually what happens is that you don't go into admin every day once your site is properly set up, which means that whenever you do visit those pages you're stuck with waiting for that crap to load.

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Antechinus

Hell, this would be such an easy mod to write. Just replace the silly boxes with basic links to the themes and smileys sections of the Customize Site, including a pre-configured search option so it links to themes and smiley packs that are compatible with that version of SMF. So you'd use something like: Get yer 2.0.2 smileys here!

Hmm. Ok, who gets there first? ;D

IchBin™

IchBin™        TinyPortal

kat

Quote from: Yoshi2889 on April 10, 2012, 10:32:36 AM
Okay, this thing is annoying me to the damn hell.
Everytime I open the Package Manager, and specifically the Browse Packages section, that box keeps bugging me. It takes like forever to load up, and I'm not even interested in it. I'm only interested in the packages.

Either move it to the bottom so it loads after the packages or create a switch for it (and other fetching elements in SMF like latest version, news, etc.), but this thing is bugging me like hell as it is.


Matthew K.

If it was written as a modification...the question is, would it actually be used? If so, heck, I'd write it.

Antechinus

Well I was thinking I'd use it myself. :D Those pages have been annoying me for ages, but I don't visit them enough for me to have bothered doing anything about it so far. It's so easy to write though.

Also, I just checked those images that SMF is serving on those two pages. That's bonkers. They should be in the default theme's images folder. It'd cut a lot of requests to the smf.org servers. I just downloaded the two png's and ran them through PNGGauntlet to see if I could get better compression. Check the screenshot results for the Smileys image. :D

I'll write the thing if you like.

Matthew K.


kat

I sure would, Lab.

I'd need it for v1.1.6 as well, though. ;)

Matthew K.

Looks like Antechinus is going to write it, which is completely fine with me. Let me know if you decide not to though, Ant, then I can squeeze it in my schedule and throw it out :P

NanoSector

Yeah, while I don't mind you guys writing a mod, I'd rather see this as a core switch in a next version.

You see, not only the users that know much about mods have issues with this box. There's lots of websites that don't even use mods, or don't want to use them.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Antechinus

Why have a switch? Why not just link to the smileys and themes section of our site? They have to come here anyway if they want to install anything.

NanoSector

Quote from: Antechinus on April 11, 2012, 08:53:56 AM
Why have a switch? Why not just link to the smileys and themes section of our site? They have to come here anyway if they want to install anything.
Why not have a switch to have links or the fetching?

Really, I couldn't care less how you do it, just create a switch or something. I'm not interested in anything other then the packages when I click "Browse Packages".
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat

Yep.

Just replace the whole thing with a link to the mod site, perhaps?

NanoSector

Quote from: K@ on April 11, 2012, 09:26:51 AM
Yep.

Just replace the whole thing with a link to the mod site, perhaps?
Or remove it altogether, move it to a different section (Latest Packages, perhaps?), ...
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

emanuele

Quote from: Yoshi2889 on April 11, 2012, 09:06:22 AM
Why not have a switch to have links or the fetching?
It *is* fetched daily with a scheduled task.
Do you want to get rid of it?
Open {db_prefix}admin_info_files and delete the row latest-packages.js. Gone and it will never return.
In the page you'll the "fetching" message and that's all.

Quote from: Yoshi2889 on April 11, 2012, 08:51:39 AM
You see, not only the users that know much about mods have issues with this box. There's lots of websites that don't even use mods, or don't want to use them.
Then why are they going in the package manager? :P


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: