The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Hi all Im working on a small customhack for my site and so far have the follwing code so that a user hits an optimize link with the url "?styleid=$userstyle"
Anyways ive been at this all day sadly with no ftp access and am now trying to get my variable $mystyle back out in the navbar template so I can apply it works with the above stated style link Ive added this to my php_include_start template Code:
<script language="Javascript"> if ((screen.width>=1024) && (screen.height>=768)) { <? $userstyle ="22"; ?> } else { <? $userstyle ="21"; ?> } </script> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|