View Full Version : How change style css with php ?
Pcwolfx?
01-19-2009, 12:51 PM
hi vb.org ,
i cant add this codes in vbulletin. how can i do this php switcher in vbulletin ?
Addresess: http://php.about.com/od/finishedphp1/ss/css_switcher.htm
Dismounted
01-20-2009, 03:12 AM
<link rel="stylesheet" type="text/css" href="<if condition="$_COOKIE['style']">$_COOKIE[style]<else />normal</if>" />
You'll most likely have to tweak their code, as they assume you have register_globals on (bad!).
Pcwolfx?
02-01-2009, 06:53 PM
where i add .css file names ? i cant this php switcher. please help.
Dismounted
02-03-2009, 04:40 AM
Did you read the tutorial? It sets the name in a cookie...
Pcwolfx?
06-13-2009, 03:36 PM
<link rel="stylesheet" type="text/css" href="<if condition="$_COOKIE['style']">$_COOKIE[style]<else />normal</if>" />
You'll most likely have to tweak their code, as they assume you have register_globals on (bad!).
its not working. :( please again check the codes.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.