vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=326724

Auto-Postbit Selector for Mobile Browsers
by iA1
11 Sep 2018 20:44

1 Attachment(s)
========== 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.vb4mobile.com


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

iA1 11 Sep 2018 20:48

Reserved for future updates

scottkoz20 16 Oct 2018 21:46

this is a slick mod - now to fix the postbit to have some of the same easter eggs on my site that the postbit_legacy does :)

louva-a-Deus 21 Oct 2018 02:54

I have the following problem with this mod: Only the first thread is horizontal. The Post remained all vertical, unchanged.




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


iA1 21 Oct 2018 03:18

Quote:

Originally Posted by louva-a-Deus (Post 2596908)
I have the following problem with this mod: Only the first thread is horizontal. The Post remained all vertical, unchanged.

It could be due to some other plugin. Can you pm your forum address to check?


All times are GMT. The time now is 14:54.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.