FreiChat related discussions
Mobile browser support

Is there any mobile browser support? I haven't tested it on any other browser except for Chrome for Android and the User list appears correctly, but the message box to a user gets stuck in the corner.

Is there a fix for this or a way to de-activate it from running on mobile browsers?

Is there any mobile browser support? I haven't tested it on any other browser except for Chrome for Android and the User list appears correctly, but the message box to a user gets stuck in the corner. Is there a fix for this or a way to de-activate it from running on mobile browsers?

Either you can wait for the mobile support to be added , or you can add a simple check to detect a mobile browser and exit freichat script (freichat/client/main.php)

A simple mobile detection would be

if(strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile') || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'android')) {
//You are running a mobile webbrowser
exit;
}


You can try adding above code at the start of freichat/client/main.php

Either you can wait for the mobile support to be added , or you can add a simple check to detect a mobile browser and exit freichat script (freichat/client/main.php) A simple mobile detection would be <code>if(strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile') || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'android')) { //You are running a mobile webbrowser exit; } </code> You can try adding above code at the start of freichat/client/main.php
Necessity is the mother of all inventions!
88
1
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft