Jump to content
SAU Community

Recommended Posts

Hi Christian,

You may well be aware of this but I thought I would mention it anyway as others might find it useful.

I've been having a bit of a fiddle trying to get SAU forum links in posts before the switch to work.

vB uses a syntax like so:

http://www.skylinesaustralia.com/forums/showthread.php?t=

Invision uses a syntax like so:

http://www.skylinesaustralia.com/forums/index.php?showtopic=

So if I wanted to follow a link for the old forum like this one:

http://www.skylinesaustralia.com/forums/sh...ead.php?t=39145

I would just change it to:

http://www.skylinesaustralia.com/forums/in...showtopic=39145.

I would suggest running a SQL query to just replace all old vB references using the new syntax.

Unfortunately I haven't worked out how to get links to individual posts working yet. vB uses a syntax that only includes the post number, like so:

http://www.skylinesaustralia.com/forums/showthread.php?p=<postid>

Invision seems to use a syntax that calls the thread number and then the post number, like so:

http://www.skylinesaustralia.com/forums/index.php?showtopic=<topicid>&p=<postid>entry<postid>

Since you can't get the topic ID from the vB URL I can't see an easy fix.

Cheers

Lucien.

Link to comment
https://www.sau.com.au/forums/topic/83049-getting-old-vb-forum-links-to-work/
Share on other sites

The old thread linking is most likely an easy solution.

If this is hosted on a linux system then just symlink showthread.php -> index.php and edit index.php to contain something like

if($t) {
  $showtopic = $t;
}

Near the top of the index.php file. (Obviously that assumes that register_globals is on).

As for the individual posts, the solution should follow the same idea, but basically if $p then do a lookup through the database to find the thread # linked to that post id, then do a http redirect to index.php?showtopic=<topic_id>&view=findpost&p=<post_id>

Should work - And I agree that making this forum backwards compatible with the old forums links would be a great thing to do! :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Latest Posts

    • That's not a transistor --- it's marked ZD1 which makes it a zener diode. As to what the breakdown voltage is, not enough there to divine.
    • Hi all, Long time since I've posted here. Looking for some advice on what I can remove to further identify the cause of my issues.  I can move the passenger seat forward and back but the knob used to adjust the seat angle is pretty much free spinning, there's very little resistance.  Removing the side cover I can see that the chain is intact but the shaft for the adjustment spins without the gear attached to it moving.  What's my next step for disassembly here? Is this a common fault? Just being a little cautious as I didn't want to start removing bolts for a spring to fly out or something equally as stupid.  Cheers
    • The incentives are mostly the same, yes. Ethanol is cheap compared to the cost of doing 98-100 RON with crude oil alone. 87 to 93-94 AKI all with E10. In 2020 Canada mandated E10 as a part of their "renewable fuel standard" and is supposedly going to go to E15 in 2030. In California where there are only 8 refineries with two threatening to shut down next year it's been over 20 years now of E10 and 91 AKI maximum because there's just not enough refinery capacity or crude oil supply relative to the demand for premium unleaded fuel. And CARB's low carbon fuel standard means functionally none of the diesel available at the pump is made from crude oil anymore. It's almost all entirely 20% biodiesel blended with 80% renewable diesel (hydrotreated vegetable oil) now. The number of gasoline vehicles that support E15 or higher ethanol concentrations is surprisingly low, I can't imagine it being wise to play tricks like this without flex fuel sensors in most of the fleet.
    • It's almost certainly the same as the one next to it. Have a fish around amongst these hits https://www.google.com/search?q=surface+mount+transistor+m33&sca_esv=9cb49794e0b2005d&source=hp&ei=2vJ5aNjTB7Kw0PEPldnS8QM&iflsig=AOw8s4IAAAAAaHoA6qkfmF6XcygtrZ4Vu9f92NXF_RFd&ved=0ahUKEwjYqIPP7MWOAxUyGDQIHZWsND4Q4dUDCA8&uact=5&oq=surface+mount+transistor+m33&gs_lp=Egdnd3Mtd2l6IhxzdXJmYWNlIG1vdW50IHRyYW5zaXN0b3IgbTMzMgUQIRigATIFECEYoAEyBRAhGKABMgUQIRigAUjKCFAAWABwAHgAkAEAmAHfAaAB3wGqAQMyLTG4AQPIAQD4AQL4AQGYAgGgAuYBmAMAkgcDMi0xoAfMBLIHAzItMbgH5gHCBwMyLTHIBwU&sclient=gws-wiz
    • South Australia, which is hardly as far behind as the rest pf Oz makes out, and who is also not a paragon of progressiveness (read that as over-legislation) in the area of vehicle standards, has this to say on the subject: Adjustable coil-over suspension Aftermarket adjustable coil-over suspension components are suspension units that incorporate an external thread on the main body and corresponding threaded spring saddle that allows the vehicle's suspension height to be varied. If fitting aftermarket or coil-over suspension components you must submit an Application to modify a light motor vehicle form and a report from a light vehicle engineering signatory (LVES).
×
×
  • Create New...