vBulletin Mods

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

Showthread: userinfo above on mobile, to the left on desktop
by Kwikms
09 Sep 2020 11:54

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.

Nas.er 13 Sep 2020 16:40

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

Kwikms 13 Sep 2020 18:18

Thanks, what is the name of the style fetch plugin?

Nas.er 13 Sep 2020 20:49

go to Add New Plugin
>Hook Location: style_fetch
>Title: *any title
>Execution Order: 5
>Plugin PHP Code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View 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

Kwikms 14 Sep 2020 13:19

Perfect, thanks!!!!


All times are GMT. The time now is 04:17.

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.