Topic: qjump doesn't use clean URLs

Hi guys, I've been messing around with 1.3 and have folder-based URLs enabled. When I choose an option from the quickjump at the bottom, it redirects to e.g. viewforum.php?id=3 instead of forum/3/. Are there any plans to fix this? I would like it to be correct for consistency if nothing else.

Re: qjump doesn't use clean URLs

It's a form, so I don't know that it's physically possible to do. If you come up with a way though, we would love to here it. smile

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: qjump doesn't use clean URLs

If that's the case, it's not a big deal. The only solution I can think of is making the qjump redirect to a specific redir page that then redirects to the forum based on the URL options -- but that may or may not be a good idea. What do you think?

Re: qjump doesn't use clean URLs

I guess that's possible, but I don't think that would be a part of the core. Someone could write an extension for it though.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: qjump doesn't use clean URLs

You could have a hidden form element specifying which scheme to use, and use JS to build the correct URL for it.

Re: qjump doesn't use clean URLs

Smells like an extension to me!

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: qjump doesn't use clean URLs

Thanks a lot for your quick replies. smile

Re: qjump doesn't use clean URLs

Isn't the quickjump cached? Why not just recreate the qjump cache also when changing the url scheme?

FluxBB - v1.4.8

Re: qjump doesn't use clean URLs

Because the issue isn't changing the scheme, the issue is forms.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: qjump doesn't use clean URLs

What exactly is the problem with forms???

FluxBB - v1.4.8

Re: qjump doesn't use clean URLs

http://www.w3.org/TR/html401/interact/forms.html
Forms generate URLs like
http://example.org/form.php?first_name= … t_name=bar
Not
http://example.com/form/foo/bar

That's just how they work.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: qjump doesn't use clean URLs

Ah ok, thank you. I was thinking a little bit wrong here... wink

FluxBB - v1.4.8

13

Re: qjump doesn't use clean URLs

IIMarckus wrote:

If that's the case, it's not a big deal. The only solution I can think of is making the qjump redirect to a specific redir page that then redirects to the forum based on the URL options -- but that may or may not be a good idea. What do you think?

I think this is indeed a good solution (and probably the only one).

Smartys wrote:

I guess that's possible, but I don't think that would be a part of the core. Someone could write an extension for it though.

Hmm.. Too bad to leave only ONE part of the "core" (as i can see) not rewritten.
More, even if i'm not fluent with the extension system yet, it seems to me that such a thing would be rather difficult to be made as an extension : it needs to modify the qjump form, create a new "switching" page, adding this page in the url rewritting tab (for consistency)..

Re: qjump doesn't use clean URLs

Nah, that isn't too hard.

Re: qjump doesn't use clean URLs

Actually, there might be another solution: one similar to what Bekko suggested.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize