Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Auto-Postbit Selector for Mobile Browsers Details »
Auto-Postbit Selector for Mobile Browsers
Mod Version: 1.0, by iA1 (Coder) iA1 is offline
Developer Last Online: Jul 2023 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 5
Released: 11 Sep 2018 Last Update: Never Downloads: 38
Supported Uses Plugins Auto-Template Additional Files Re-usable Code  

========== PURPOSE / ABOUT ==========

The purpose of this mod is to auto-switch from legacy postbit to horizontal postbit style whenever a person browses your forum using a mobile device. This helps in creating responsive template, as horizontal postbit occupies less screen width than legacy postbit.
The mobile browser detection is accomplished using a publicly available mobile detection class from: http://code.google.com/p/php-mobile-detect/

There are no options to set, just upload the file and import the xml product.

=========== COMPATIBILITY ===========

Should be compatible with all vB 3.x.x and 4.x.x versions.

========= BACKUP / WARNING ==========

This mod does NOT alter your database however it is always good practice to keep regular backups and you should backup before installing ANY new mod.

As always mods are USE AT YOUR OWN RISK. I will try to help if I can but no guarantee is offered or implied.


========= INSTALL or UPGRADE ========

To Install:
Upload Mobile_Detect_v2.8.33.php to the /includes/ directory.
In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Click "Import"

To Upgrade:
Upload Mobile_Detect_v2.8.33.php to the /includes/ directory, overwrite if necessary.
In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Change "Allow Overwrite" to YES
Click "Import"

There are no settings for this mod. It is enabled as soon as it is installed.

=====PLEASE DO NOT REDISTRIBUTE=====

This mod is only available on www.vbulletin.org. No other sites may redistribute this mod. If you find this mod at any site besides the above please contact me by PM or by email.


Current Version: 1.0

Version History:
1.0 - Initial Release

Live Demo: https://www.vb3mobile.ml , https://www.vb4mobile.ml


Please "Mark as Installed" if you use this.
Donations always appreciated.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Auto-Postbit Selector for Mobile Browsers iA1 vBulletin 4.x Add-ons 4 21 Oct 2018 03:18

Comments
  #2  
Old 11 Sep 2018, 20:55
iA1 iA1 is offline
 
Join Date: Jul 2018
Reserved for future updates
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #3  
Old 19 Sep 2018, 15:39
crazymook crazymook is offline
 
Join Date: May 2008
Looks like I might be the first to try. Hold on to your butts.
Reply With Quote
  #4  
Old 19 Sep 2018, 15:41
crazymook crazymook is offline
 
Join Date: May 2008
Works perfect, thanks!

Last edited by crazymook; 19 Sep 2018 at 15:53.
Reply With Quote
  #5  
Old 19 Sep 2018, 15:52
crazymook crazymook is offline
 
Join Date: May 2008
Any chance you can make it only apply to certain styles (or can provide a way to not include it on a certain style)? I have a dedicated mobile theme and this is causing some issues with it.

Last edited by crazymook; 19 Sep 2018 at 16:08.
Reply With Quote
  #6  
Old 19 Sep 2018, 20:02
iA1 iA1 is offline
 
Join Date: Jul 2018
Originally Posted by crazymook View Post
Any chance you can make it only apply to certain styles (or can provide a way to not include it on a certain style)? I have a dedicated mobile theme and this is causing some issues with it.
Go to your plugin manager in admincp and modify the plugin "Mobile Browser detection and horizontal postbit selector". Just before the first line, add the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And at the end of plugin, after the last line, simply add a closing curly bracket:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #7  
Old 19 Sep 2018, 20:40
crazymook crazymook is offline
 
Join Date: May 2008
Perfect!! Thanks so much.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:12.

Layout Options | Width: Wide Color: