![]() |
@ Endurer - No, if you allow users to select their own style then they will also be able to select any mobile style you have installed.
On my site I don't allow users to choose their own style - this add-on will still work and force a 'mobile' style on them when a mobile device is detected. @Aidden - I should be able to do something with an ipod option today - I'll look at adding some user defined custom entries too |
New 2.1.3 Version Released
Added in iPhone/iPod as a seperate category. *Added in ability to add user defined useragent strings. This can be used for assigning a style to specific mobile devices, or even to specific web browsers, search engines or any 'visitor' to your site which has a unique user agent string. I've only done limited testing - could any iphone/ipod users confirm things are working as expected? Thanks |
Doesn't seem to be working for my iPod.
I completely removed my previous modified code. installed the new, and now my iPod seems to be hitting the mobile style. |
Could you post the user agent string ? (check in Online Users with User Agenst enbled) This hack checks for the strings: "iPhone" or "iPod"
If I visit your site with a spoofed UA of 'Ipod' I *do* get your "iPhorum" thanks |
great hack man! installed right now! I'm gonna personalize it a little in the next few days ;)
|
not workin for me when i upgraded like the mobile and pda its not switching over to assigned style..going back to old version which it was working fine.
|
oops! There was a issue with matching multiple categories, as such ipods were detected as generic mobile devices.
This should now be fixed in version 2.1.3b (double check the version number after upgrading) :up: |
why isnt the link working to DL??
|
(edit: NEVERMIND it works! :) great work! thank you)
|
Bloody good this... helped me loads as im always out and about... nice work
|
n/m Working great!
|
I have a member using a Treo 700wx (windows 5.0), this mod isn't working correctly on his phone.
|
Have you enabled "PDA device detection" and pointed it at the same styleid as "mobile device detection"? The 3 device types detected do not operlap - so unless you want a user of one of these device types to get your default style, you need to configure them all. I should really write some decent instructions.
If this is not the case, are you able to check the useragent string for this user? (when they are online, view "Who's Online" and sekect "yes" for "User Agent" in the options at the bottom of the screen. Thanks |
Thanks.
Now, can you help me getting this to work with the iPhone? Since it has a full HTML browser and wi-fi, I have sort of a medium weight skin I want to load just for iphones... I'm assuming the user agent is "iPhone" but I will go ahead and check it with who's online. |
Thank you, this is just what we needed. Our company employs teachers who move around town all day between classes. This is going to help them post to an internal forum from their phones or blackberries and tell us how they're getting on with their students.
|
Hi, I just upgraded my vbulletin from 3.6.5 to 3.6.8 patch level 2. Now I'm getting the following error on the top of every page. When I disable the Mobile Device Style Assignment mod, it goes away. I don't want to have to uninstall this mod, my members love it.
Code:
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /global.php(237) : eval()'d code on line 25 |
This should work on 3.6.8 PL2 (thats what I run it under). Have you changed the settings since upgrading (or just before?) - and what is your URL (you can PM URL if you prefer)
Thanks |
Will this hack add the "post by device/browser type" when user post? Which style has that feature?
THanks |
no, but you could probably edit the postbit templates of the style you use add a "Posted by mobile device" line
|
/me clicks install
Are there any conditionals associated with this? I'd really like to auto-redirect WAP users to the forum page if they come in on the portal. |
I'm using vbAdvanced and all I did was edit the adv_portal template for my mobile style and replaced the contents with
Code:
$stylevar[htmldoctype] HTML Code:
<html> |
I use alabama Style. I have select, that User can switch to the Style. I have the right Style ID.
But, the corrcet Style dont be displayed on my iPhone :( And. if i set direct the style, the Letters and Icons are to small. What shell i do? An a lot of W3C Org problems exist :( |
Ok, I'm confused. How do I know what the style ID is for the default style and the mobile style I uploaded? I can't believe that I cannot find that info.
On a side note, can someone explain how to provide a drop down list for style selection (regardless if visiting via a computer or pda/mobile device). Thanks. |
nice work
|
It was working with emulators yester after I installed.
But today any mobile phone emulator I have tried to open my site wap.viparmenia.com shows Error: Status code 413. Dartho or anybody? - HELP! |
not sure why you would get a 413 error. Howerer - going wap.viparmenia.com from a desktop browser works a treat - but it seems that your wap. address simply redirects to you default URL with a styleid=xx parameter on the URL? This doesn't seem to be in keeping with how this add-on is designed...
Visiting http://viparmenia.com/vb/index.php?styleid=17 directly via an emulator works fine (and quick) but visiting via wap.viparmenia.com ytakes a long long time to load, but ultimately works OK, however it is still a redirect. You should double check all your settings for this addon and also for your wap.viparmenia.com sub domain to make sure it is not a redirect, but is parked on teh same root as the primary domain. |
OK - I just had another look. Not sure what you are doing, but your portal is stiull being rendered in the full style and mobile emulators/devices are probably giving up (it has a huge amount of data)
Edit the adv_portal template in the CMPS group for teh mobile styles and replace the contents with Code:
<html> |
Quote:
You can get the styleid number by clicking on teh "GO" next the the style of your choice in Style Manager. In the next screen up the top of the main frame you will see teh following: Fonts / Colors etc.: StyleName (id: xx) where xx is the styleid number |
Hello Dartho,
thanks for this release, I hope you can keep it going. Does this work with vB 3.7 BETA 4? Regards Jason :) |
Doesn't work with 3.7, says xml error when trying to import.
Please can you release this for 3.7? Thanks, Regards Jason :) |
I can and will, but in the mean time if you choose to ignore version when installing, it should work fine .
|
Quote:
|
great mod, marked as installed!
|
Quote:
Regards Jason :) |
I've got this installed and working on both 3.7.0 b4 and 3.6.4, however even with PDA detection enabled (and redirected to the proper style), my iPAQ hw6515 (running Windows Mobile 2003) is still displaying the default forum style.
Edit #1: My iPhone properly detects and displays the mobile style, but so far another other devices seem to fail. Edit #2: I've narrowed it down to a conflict with my default style (or so it seems). If I navigate to this subforum with a mobile device, the mobile skin displays. The default skin for that forum (and all subforums within it) is different from the forum home and the rest of the forums. Navigate to those other forums and you get the default skin, not the mobile skin. So apparently there is something in my default skin that is causing the mobile detection to fail. Any clues? |
Could be a conflict with another add-on you have installed. Try modifying the "Detect Mobile Device" plugin and change it's execution order to 10. If that doesn't work, try 1. If that doesn;t work chgange back to 5 and let us know :)
|
Hi dartho,
I want to install your great mod, but I have a little question. If I install it, also I have to install another skin for the mobile phone, pda, etc., I have right now 3 skins in my forum and when I install a mod sometimes I have to edit the template files of my 3 skins (lost of work), so if I have another skin to use this mod, also will I have to install all the mods that I have in this skin ??, I hope not because install mods now in 4 skins will be a little hard for me. thank you my friend, maybe my question is stupid, but I want to be sure of that. cheers, Mario |
Quote:
It works fine on this site, but not this site (it doesn't detect Windows Mobile). |
mariocaz - usually you will not want to make template changes to mobile styles. The templates are totally different, and quite probably will not work. But yes, you will need to make changes to templates in all styles.
GetGamer - I'm not sure, there must be a conflict somewhere, if you PM me an admin accoiunt with the ability to edit pugins I could have a look? |
So if I install a mobile style and leave like that (original) without any modification of all my mods that I have installed and also the future mods.
The skin(style) will work fine like that ? Thank you again. |
All times are GMT. The time now is 09:12 PM. |
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:
|