![]() |
Hi, I have a problem (excuse me for bad english...)... I have installed this plugin and relative style... If I go on my forum.hdblog.it from my iphone i visualized the desktop template... :( If i login in the forum is visualized correctly the mobile version... why is visualized the desktop version if I not logged in?
Thanks |
I would like this to work for iPod and iPhone, but I do not want the iPad to automacally go to the mobile site. If I put iPad in the box at the bottom of this modification, will that solve that issue? I don't own an iPad, but a user emailed and said that s/he really hates that my site assigns the mobile style to the iPad when it used to be the regular PC version with more features.
Thanks for this! Kether |
Quote:
|
Quote:
|
Any ETA on an update for this to work with 4.1+?
|
I have also tried this on my vB 4.1.2 pre-release site and it doesn't auto-detect any longer on my Blackberry 6 OS. It works great on vB 4.0.8. I suspect part of the problem is the built-in browser detection in vB4.1.2 for the new Mobile style. I suspect it is over-riding this hack.
I tried the new Mobile style that is released with vB 4.1.2 but ran into problems. Apparently it does not play well with mods and hacks. In my case, it shows up on the mobile device or the desktop fine, but I cannot navigate to any forums because the links are not working. I can navigate to the options and other settings, but not within the forums themselves. It looks like I will have to abandon mobile style detection for my site if I choose to upgrade to vB 4.1.2 to resolve other security and database searching issues. |
Newly installed and having a slight problem with only Android devices, which was mentioned earlier in the forum, but never resolved. The device I use for testing runs Froyo.
Basically after the first page visit you get the mobile style but then all secondary pages get set to the default style. The only way to prevent that is to enable your new "Enable Over-riding of Styles" option. That's nice that it fixes the other issue but that option prevents users from switching to the Desktop version. So it fixes a bug but removes a feature from the plugin to allow users to use the regular view. Any thoughts or ideas? |
This is working as it is meant to on my site from my phone.
Now that vBulletin has built in mobile device detection, you should probably use that over this if you wish to allow overriding of the mobile detection, they also have to support you if/when you run into issues. |
Quote:
Well anyone else interested, this plugin has a glitch when certain Android devices visit. Here is how you can fix it to work for them: You have to Disable the Enable Over-riding of Styles option. Mobile Users now will be forced into the mobile theme, but wont be able to switch to the regular site anymore. SO if you are also using dartho's Lightweight Style and Options theme/plugin system you need to disable the Add a link to the default style? option in Lightweight Style Options as the user will not be able to switch styles anymore. It's a bad experience for all mobile users to be forced into the mobile theme, but it's the only way I could get this plugin to work for the various types of users navigating to our site. Also here are some additional useragents I check for that allow Android and HP/Palm webOS phones to be detected properly. It also detects the iPhone Simulator so those of you with the iPhone SDK can test the iPhone layout easily on your Mac. Quote:
|
I didnt say I wasn't supporting it, I just made a suggestion. My next (based on you not using version 4.1.2) would be to download version 4.1.2 and take their detection code out and put it in a plugin to test if it is effective on your device.
I've done this for you. Edit the Detect Mobile Device and Assign Style plugin Comment out the existing code (by putting a /* at the very start, and a */ at the very end of it) Paste in the following code at the start PHP Code:
Whilst this is vBulletin's code (although it is near identical to code readily available 'out there' for mobile detection), I modified it ever so slightly to use the options from my add-on for Mobile Style and iPod Style - so enable detection of these and configure which style to disaply accordingly. When using this code, other options (such as override (which is on by default with teh above code), custom agents, etc ) are ignored. Test and let us know how it goes. Don't try this if you're on vb4.1.2 or higher, it's already there. This is just put here as a test and is incomplete. |
I am migrating soon to a new server and havent redirected my url yet. The force mobie that comes with 4.1.3 does not work for my win 5.5 mobile phone and I can't test other phones until I go live with my new server.
Once I pick the lightweight style Dartho's light style works great unless I have a forum with a forced style. Can this add on work with 4.1.3, or is forced already working for everyone but me? here is my beta http://69.64.89.197 |
Hello dartho,
I may have come across a problem: new posts -> last page -> redirects to forum index rather than last page of thread? |
Does this also work on iPods?
|
this mod use mobile skin in google chrome can you fix it please
|
not detecting mobile style in vbulletin 4.1.5 pl1
|
vbulletin 4.1.2 and above has it's own mobile detection, use that instead.
|
I dunno what to do with this. It didn't work when I tried to open my forum by a cell phone. Is there anything I missed ?
|
Does this addon require that the setting "Allow Users To Change Styles" be set to YES in the admin control panel?
I prefer to maintain a single style for the site (so I don't let the style be changed); however, I would love to be able to offer mobile (small screens) a different style. |
No - no need to allow users to change styles, but the style must be user selectable (ie. have a tick in teh checkbox next to it in admincp, Style Manager)
|
Quote:
Here is the agent string for my Samsung Charge: Code:
xxxxx.myvzw.com - - [24/Nov/2011:14:18:14 -0800] "GET /forums/cpstyles/darkvision/statusicon/forum_old-48.png HTTP/1.1" 200 3940 "http://www.isxgames.com/forums/" "Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; SCH-I510 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" |
You need to be aware that since vb 4.12 (I think) vBulletin have had their own mobile detection script built in - you should check this in your settings to make sure there are no conflicts. It may even suit your purposes in which case you can disable this one (worth doing as part of your testing anyway)
And All android devices should be detected without need for custom useragent strings |
Firefox 10 is being detected as a Mobile device.
|
Have you enabled custom useragent detection with the term "firefox" in thje custom useragents? If so, disable it, or remove "firefox".
ALso double check vBulletins detection settings |
Installed, didn't detect my Dolphin Browser HD browser on my HTC Desire HD mobile. Still used the default forum style.
|
vbuletin has it's own detection system in place - this is no longer required. That being said, I use Dolphn - I will check
|
Quote:
|
There is a bug with the vbiulletin detection which is to be fixed in 4.1.11 - I'm not sure how this affects this detection script. What I suggest you try is:
Configure the vB detection to 'none' in AdminCP Apply this fix for 4.1.10 as detailed here: https://vborg.vbsupport.ru/showthrea...99#post2289299 then try again and see how it goes. I just check UA generated by Dilphin - and it uses the word "Android" so should be detected a a mobile device. |
dartho, this plugin is VERY IMPORTANT than the inbuilt vBulletin's detection script.
Can you consider making it compatible with vB Version: 4.2.x? Thanks |
Anybody able to get this to work with vb 4.2?
|
i would also like to see this work with vb 4.2
|
What exactly doesn't work?
|
Quote:
Code:
http://www.yourdomain.com/admincp/misc.php?do=clear_cache Code:
http://www.jamiiforums.com/admincp/vboptimise.php?do=flush |
It also changes my forum skin on PC tooo :(
|
Quote:
When I used to go to mobile site from a pc it would assign the mobile skin and now it doesn't same with some phones and new post for some reason. |
Hi,
Thanks for this great modification! It's sad that vBulletin doesn't have a good build-in functionality for this, but hey... it's vBulletin! I only found 3 mobile phones/browsers not being detected as mobile, and these are the user agent strings:
I think the first 2 can be defined as "Opera Mobi", and someone told me it was better to add "Opera Mini" to the mobile list as well. Only the last one was the Skyfire browser on a HTC mobile phone, but I cannot find anything in the user agent string that identifies it as a mobile phone. It even looks like the browser has user agent override enabled or something, but I couldn't find anything in the settings. So if "Opera Mobi" and "Opera Mini" can be added to the mobile detection list for the next version, thanks! Regards, Raymond |
My vbulletin is 3.8.5.
To avoid being forced to use the lightweigh style for some users, I uninstalled the previous version and installed this version, and with pleasure I chose yes to Enable Over-riding of Styles..........but neither iPad, nor iPhone can detect the lightweigh style which is assigned to all mobiles in the setting of this plugin. But if I open by the adress http://mydomain.com/forum.php?styleid=nn, the lightweigh style works in safari of iPad or iPhone, and I can return to the original style by cliquing "default style". It's great! Finally, Assignment doesn't work for 3.8.5? :( |
upgrade pls
|
Dartho please update this to 4.2.x
|
Already there is an option in vBulletin admincp to choose the default mobile style, what this mod will add?
Thanks |
Using 4.2 can seem to change back to PC mode
|
All times are GMT. The time now is 07:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|