![]() |
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. |
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
|
Thanks, what is the name of the style fetch plugin?
|
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 |
Perfect, thanks!!!!
|
All times are GMT. The time now is 07:23 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:
|