Basically what I had on a vBulletin 3 skin was:
PHP Code:
href="$_SERVER[PHP_SELF]?<vb:if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&</vb:if>styleid=1
and it was a quick link that would return you to the default skin.
Problem is none of the $_SERVER bit's work in vBulletin 4 templates. I'm wondering if their's a variable like {vb:raw url} or something that I could use to get the current page url address.
That or any other suggestion on how to do it from just editing the template would be great.
--------------- Added [DATE]1272257252[/DATE] at [TIME]1272257252[/TIME] ---------------
I stumbled across {vb:raw relpath} while working in who's online where it's used to refresh the page your on. I managed to get something to work with this for anyone who comes across this in Google with a similar problem