Version: 0.02, by Zachery
Developer Last Online: May 2017
Version: 3.5.0 RC1
Rating:
Released: 07-12-2005
Last Update: 07-29-2005
Installs: 145
Template Edits
Is in Beta Stage
No support by the author.
This is a beta version of vBulletin 3.5 lite.
and it is just that. LITE!
There will be updates to this, including better error message support and re-written comon templates.
But for now, its fairly basic, but it gets the job done well
Preview
Added - 5:26 AM 7/30/2005
Alright, looks like I got the bugged niiped in the butt, I had copied code and not replaced it with the proper varibles when releasing.
Should be all good to go now (uploading in a moment and sending an email)
Other notes for version 0.2
- Fixed small lack of phrase (hard coded english)
- Removed the table from the navbar (the breadcrumb)
- Updated for (not really, just downloaded from) RC1
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This is not my work - I asked sometime back and someone posted this. It works under 3.5.4 for me from my PDA.
To make your mobile style automagically selected when a mobile device is detected edit your global.php, search for :
Code:
// #############################################################################
// if user can control panel, allow selection of any style (for testing purposes)
// otherwise only allow styles that are user-selectable
and add the following immediately above it:
Code:
// BROWSER DETECT
$browsers = array(
"Windows CE",
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"Mobile",
"T68",
"Syncalot",
"NetFront",
"Danger",
"Symbian",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"BlackBerry",
"Wireless",
"Handheld"
);
if(preg_match('/('.implode('|', $browsers).')/i', $_SERVER['HTTP_USER_AGENT'], $match))
{
$mobile=1;
}
else if (isset($_SERVER['HTTP_UA_OS']))
{
if (strstr($_SERVER['HTTP_UA_OS'],"POCKET PC") !== false)
{
$mobile=1;
}
}
else
{
$mobile=0;
}
if ($mobile==1)
{
//echo "You are on a mobile device!";
$styleid='9';
}
// END BROWSER DETECT
Change the 3rd last line " $styleid='9'; " to the style number of your mobile/pda Style. You can add user agent strings of other browsers to the list.
**NOTE - YOU CAN NOT OVERRIDE THIS, IF YOU ARE ON A MOBILE DEVICE THIS WILL BE THE ONLY STYLE YOU CAN USE
ON another note, if you need to get to otherwise unavailable screens when in your mobile style - just manually enter in the URL you want to go to...
Be my guest. I've searched for where I got the info form in the first place, but to no avail as yet...
I have been using a modified version of "Alabama" style (which in itself is a modified version of the "Archive" or PDA style) for a while to work with PDAs. This was under 3.0.9, I only ugraded to 3.5.4 yesterday, so am using this style for the moment till I can redo my mobile style for 3.5.4. I'm not a coder, so it's very much a trial and error thing for me.
I'm looking forward to any further mods you make to it. I have a few regular PDA users (320x240 resolution) including myself and would be happy to test for you.
This is not my work - I asked sometime back and someone posted this. It works under 3.5.4 for me from my PDA.
To make your mobile style automagically selected when a mobile device is detected edit your global.php, search for :
Code:
// #############################################################################
// if user can control panel, allow selection of any style (for testing purposes)
// otherwise only allow styles that are user-selectable
and add the following immediately above it:
Code:
// BROWSER DETECT
$browsers = array(
"Windows CE",
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"Mobile",
"T68",
"Syncalot",
"NetFront",
"Danger",
"Symbian",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"BlackBerry",
"Wireless",
"Handheld"
);
if(preg_match('/('.implode('|', $browsers).')/i', $_SERVER['HTTP_USER_AGENT'], $match))
{
$mobile=1;
}
else if (isset($_SERVER['HTTP_UA_OS']))
{
if (strstr($_SERVER['HTTP_UA_OS'],"POCKET PC") !== false)
{
$mobile=1;
}
}
else
{
$mobile=0;
}
if ($mobile==1)
{
//echo "You are on a mobile device!";
$styleid='9';
}
// END BROWSER DETECT
Change the 3rd last line " $styleid='9'; " to the style number of your mobile/pda Style. You can add user agent strings of other browsers to the list.
**NOTE - YOU CAN NOT OVERRIDE THIS, IF YOU ARE ON A MOBILE DEVICE THIS WILL BE THE ONLY STYLE YOU CAN USE
ON another note, if you need to get to otherwise unavailable screens when in your mobile style - just manually enter in the URL you want to go to...
Instead of forcing the styleid, would it be possible to display a different page to a mobile browser? Something like "you have a mobile browser! would you like to see a mobile formatted version or a regular formatted version of the site?" then give them the option to choose which version to use.