How to judge mobile or full site view?
 wzttest1                
                
                     New
wzttest1                
                
                     New                
            Hi:
I'm developing plugin for vanilla.I want to know how to judge whether the users are viewing the vanilla site with mobile mode or full site view mode with there web browsers in my plugin?
Thanks!
0          
             
         
            
Comments
You can use
IsMobile()more accurate$ForceNoMobile = Gdn_CookieIdentity::GetCookiePayload('VanillaNoMobile'); if(IsMobile() && !$ForceNoMobile){ ... }grep is your friend.
Thank you very much!
Hi:
Can you help take a look for this?
http://vanillaforums.org/discussion/23491/how-to-replace-the-output-html-content#latest
Thanks!