necris
07-03-2008, 08:15 AM
Anyone knows a simple (or not that simple) way to do this?
What I want to achieve is:
Depending on the style reduce the depth in forum listing in order to improve the usability for the users using certain devices to access the forums.
The solution might be as easy as find the hook and use something like the text below to set the var. If anyone have already done this any clue would be apreciated :)
$counter_aux=preg_match ( '/devicename\.domainname\.com/' , $_SERVER['HTTP_HOST']);
if($counter_aux<>0){
$nasty_var = 1; # Depth....
}
Thx
What I want to achieve is:
Depending on the style reduce the depth in forum listing in order to improve the usability for the users using certain devices to access the forums.
The solution might be as easy as find the hook and use something like the text below to set the var. If anyone have already done this any clue would be apreciated :)
$counter_aux=preg_match ( '/devicename\.domainname\.com/' , $_SERVER['HTTP_HOST']);
if($counter_aux<>0){
$nasty_var = 1; # Depth....
}
Thx