VB4 Table of Contents links broken

If anyone still maintains this… the TOC links are broken. Any chance that can be fixed?

Example thread: http://www.sitepoint.com/forums/showthread.php?393445-XHTML-vs-HTML-FAQ

Unfortunately it looks like one of the, ahem, features of vB4 is that the “jumpto” function from vB3 no longer works, which means that the only way to get the TOC links working (as far as I can see) is to hard-code the entire URL into the link, which isn’t a very sensible or robust solution. The matter was raised with the vB team a couple of years ago, and their response was, in a nutshell, “Yeah, and what do you want us to do about it?”, so unless @HAWK knows anyone who can hack the vB installation to fix this system bug, I’m not sure it’s going to be possible to fix the TOC links.

In that case, maybe it’s better to remove the links altogether? Since they don’t work anyway, and won’t work for the foreseeable future.

It’s possible that @TimIgoe; may have an idea. I certainly don’t. :frowning:

They don’t work because of the <base href=“http://www.sitepoint.com/forums/”> element in the page. There seem to be four possible solutions (1) remove that element; (2) hard-code the links to include the missing part of the URL, which in this case is “showthread.php?393445-XHTML-vs-HTML-FAQ&p=5141516”; (3) modify the PHP code to automatically do that; or (4) add a JavaScript script to fix it. What I don’t know is what relies on the <base> element to function, how complicated it would be to modify vB, and how many users might be browsing without JS enabled.

Thoughts?

P.S. Perhaps this should be split and moved to “Forum Support & Feedback”?

Good idea, Kravvitz … and done. :slight_smile:

Some interesting solutions you proposed there, too. Option 2 might be viable in the short term, at least. I’ll give it a go. :slight_smile:

+1