![]() |
|
Mod Options |
![]() |
|||||||||||||||
Mobile Device & Browser Detection (Adapted by BOP5)
![]() Developer Last Online: Feb 2021 ![]() ![]() ![]()
This mod has no settings or options.
Installed alone and you will see nothing new. The purpose of this mod is to bring a reliable way of detecting mobile browsers and devices to vBulletin for use in other mods. Currently the only mod I know it is recommended for is my Sidebar Anywhere mod. The bulk of the work of this mod is done by a publicly available PHP Mobile Detection class from: http://code.google.com/p/php-mobile-detect/ The file name was changed to prevent conflicts but the file contents including license information remains unchanged. Once installed the mod will allow you to use $vbulletin->detect to detect various mobile options anywhere $vbulletin variable is available in the code. Its plugin load priority is set to 1 so it executes before all other plugins.
------------------------------------------------------ Please "Mark as Installed" if you use this. ![]() Donations always appreciated. ![]() Nominate MOTM if you LOVE it! ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: RichieBoy67
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Add-On Releases Mobile Device Style Assignment | dartho | vBulletin 3.6 Add-ons | 406 | 21 Apr 2013 00:14 |
Mobile Device Style Assignment | dartho | vBulletin 3.5 Add-ons | 3 | 04 Dec 2006 22:49 |
Comments |
#2
|
||||
|
||||
List of Compatible Mods:
(Will edit if more get added by any coder) Sidebar Anywhere - http://www.vbulletin.org/forum/showthread.php?t=283307
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#3
|
||||
|
||||
Thank you so much for this mod! Needed this today and just came on VBorg and found this was just recently released.
Worked perfectly! ![]() Edit: What do you recommend as to the best way to use these options in a template? The following members like this post: BirdOPrey5
Last edited by RedTurtle; 07 Dec 2012 at 01:31. |
#4
|
||||||||
|
||||||||
The easiest way to implement this in a template would be to edit the plugin for this mod...
At the bottom add lines such as:
Then in a template you can use...
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. The following members like this post: RedTurtle
|
#5
|
|||
|
|||
Nice mod. Thanks
No members have liked this post.
|
#6
|
|||
|
|||
Anybody knows if this plugin works for the mobile quotes? They don't appear in notifications.
No members have liked this post.
|
#7
|
||||
|
||||
I'm not sure what "mobile quotes" are so I doubt it. The only mod it works with I know of is my Sidebar Anywhere.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#8
|
|||
|
|||
It doesn't work for 3.8.5. What a pity.
![]() No members have liked this post.
|
#9
|
||||
|
||||
How to implement it in "footer" template ?
Where do i need paste it:
No members have liked this post.
Last edited by bartek24m; 21 Feb 2013 at 19:20. |
#10
|
||||||||
|
||||||||
Templates use template conditionals...
You can try:
or
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#11
|
||||
|
||||
Will this work on v3.8.7?
Becuase this one doesn't http://www.vbulletin.org/forum/showthread.php?t=173239 No members have liked this post.
|
#12
|
||||
|
||||
Only for 4.x, sorry.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#13
|
||||
|
||||
Nice mod
![]() I suggest changing the hook to "init_startup" to be able to replace default mobile browser detection in init.php with:
That way tablets will not be considered as mobile devices, thus not being served mobile style as default style. The following members like this post: BirdOPrey5
|
#14
|
||||||||
|
||||||||
Originally Posted by ivanp
wouldn't removing the following line do the same thing??![]()
No members have liked this post.
|
#15
|
||||
|
||||
Hey BOP, does this make our videos and stuff work on iPhones and pads?
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:04.