News:

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

Main Menu

Manual mod install URLs

Started by Dannii, September 05, 2009, 08:26:47 AM

Previous topic - Next topic

Dannii

Can you make the mod site link to the full URL for the manual mod install instructions? It's a pain to have to wait (ok it's only 5 seconds, but still!)
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Arantor

You mean have the Parse button's form be method GET rather than POST?
Holder of controversial views, all of which my own.


Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

[SiNaN]

It accepts GET too.

Once you parse the package, second part of huge title ("{Mod Name} - Installation Instructions for {Version}") will have the direct URL to parse the package.
Former SMF Core Developer | My Mods | SimplePortal

Arantor

I think the request was more to promote the GET link rather than parse then snag the link.
Holder of controversial views, all of which my own.


[SiNaN]

Well, how this would help with that?

Quote from: Arantor on September 06, 2009, 06:57:51 AM
You mean have the Parse button's form be method GET rather than POST?

Since there are many versions, I don't see a neat way to provide them in the form of links. Suggestions are welcome though.
Former SMF Core Developer | My Mods | SimplePortal

Arantor

That step wouldn't, I just wanted to be sure we were talking about the same thing at that point.

Hmm, yes I do see what you mean though, since the same mod package can have different install instructions for different versions.
Holder of controversial views, all of which my own.


Dannii

Why wouldn't changing the form to GET work?

Oh and I said link in my first post, but what I really want is for the form to take you to the proper URL, rather than the generic action=parse.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

H

The GET link is already available in the form results after it has been submitted. Changing it to the default want change anything except the URL style. What you've having problems with is the 5 second wait time. This has nothing to do with the type of form that is being submitted. Instead, it is intentionally there to prevent people abusing the server resources.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Dannii

Why can't the form go to the full URL in the first place?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

[SiNaN]

Well, it doesn't need to and it is by design. As I said in my post above, there already is a complete URL to parsing the package, once you parse it.
Former SMF Core Developer | My Mods | SimplePortal

Dannii

Why is it by design? What purpose does it serve?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Oldiesmann

Because it's easier to have a form than to have a separate link for each version of SMF that is supported by the mod. In addition, we would run into problems for the mods which have separate packages for 1.1.x and 2.0. We'd have to add functionality so they could choose the SMF version for each file (rather than for the mod itself), which just gets even more complicated.

Dannii

You don't get what I'm saying. Keep the form, but change it to a GET so that when you submit it you're taking to the specific mod install link!

Also, if they do have different packages for different SMF versions, wouldn't we already have that problem now?

Also, it would be nice if the drop down list didn't list versions which weren't supported by the package.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

H

QuoteAlso, it would be nice if the drop down list didn't list versions which weren't supported by the package.

Often the purpose of doing a manual install is to try and attempt install on versions which aren't claimed to be supported
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Dannii

It doesn't do that though, it says "Sorry, but this modification does not appear to be compatible with the selected version." But t could be useful if the mod has ranges in their package-info.xml file but the mod page hasn't been updated. That's what I'm suggesting, check the package-info.xml file first and only list ones that could work. Alternatively, let it try for other versions. You would need something tricky to correctly predict which <install> is most likely to work.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: