The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Showthread: userinfo above on mobile, to the left on desktop
Anyone got an idea how to switch the userinfos on the showthread page from left to above depending if I am on a mobile device or on a desktop? (vb 3.8). On mobile it should be above and on desktop it should be on the left side.
Its a setting in the style and language vb setting, but not a style related setting. I am using vb 3.8 and only one style. |
#2
|
|||
|
|||
i do use style fetch plugin. i do make a copy of style on desktop will show only left side (postbit_legacy) and for mobile (postbit) on top > i replaced both the same code postbit_legacy and postbit for top on mobile. the plugin will detected if user using desktop or mobile> without change any style and language vb setting
|
#3
|
|||
|
|||
Thanks, what is the name of the style fetch plugin?
|
#4
|
|||
|
|||
go to Add New Plugin
>Hook Location: style_fetch >Title: *any title >Execution Order: 5 >Plugin PHP Code PHP Code:
Plugin is Active> yes the first 3 lines edit your desktop and mobile browser ID>>>> mine for mobile 115 and desktop is 60 $mobile_style_advanced=115; //iPhone? $mobile_style=115; //Any mobile phone/device $default_style=60; //Your default or preferred desktop style let me know if that works for you |
#5
|
|||
|
|||
Perfect, thanks!!!!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|