![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Mythbuntu Discussions for the Mythbuntu project. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Can I force Mythweb not to use WAP
I have a flash enabled cell phone. Even if I try to force mythweb to reset template it still uses wap.
Code:
http://mydomain.com/mythweb/'?RESET_TMPL=true' Can I watch media on my phone?
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. |
|
|
|
|
|
#2 | |
|
Just Give Me the Beans!
![]() Join Date: Jul 2008
Beans: 48
|
Re: Can I force Mythweb not to use WAP
Quote:
mythweb/includes/mobile.php file, that contains all the mobile phones |
|
|
|
|
|
|
#3 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
Thanks for the reply. I can't find the file you listed.
Code:
find: mobile.php: No such file or directory
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. Last edited by volkswagner; September 10th, 2008 at 08:16 PM.. |
|
|
|
|
|
#4 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
Not sure if this helps.
From apache access.log, using phone from outside network wap. Code:
12.168.xx.xx - - [10/Sep/2008:20:41:56 -0400] "GET /mythweb/'?RESET_TMPL=true' HTTP/1.1" 401 504 "-" "Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95_8GB-3/1.2.011 Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413" Attached mobile.php, if anyone can suggest how/what to edit. I am open to global WAP off if need be.
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. |
|
|
|
|
|
#5 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
Even if I could get mythweb to display the non wap interface, playing flash vids on the N95 is far off.
http://www.gossamer-threads.com/list...v/users/337645
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. |
|
|
|
|
|
#6 |
|
Gee! These Aren't Roasted!
![]() Join Date: Oct 2007
Location: Sweden
Beans: 175
Ubuntu 9.10 Karmic Koala
|
Re: Can I force Mythweb not to use WAP
|
|
|
|
|
|
#7 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
Thanks for the suggestion. I get a page that says
"An unknown module was specified" Do you know how I can disable WAP?
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2006
Beans: 2
|
Re: Can I force Mythweb not to use WAP
It's an old post, but since I found it while looking for the answer (and it put me on the right track), I figured I should contribute.
In the file 'includes/mobile.php', force the function 'isMobileUser' to return a false value: Code:
function isMobileUser() {
return false;
# return (getScreenSize() === false) ? false : true;
}
Hope that helps someone... |
|
|
|
|
|
#9 | |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2007
Location: NY's first capitol
Beans: 1,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
Quote:
Thanks, It sure helped me!
__________________
Nothing is ever easy, but if it is difficult you must be doing it wrong. |
|
|
|
|
|
|
#10 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Austin
Beans: 28
Ubuntu 9.04 Jaunty Jackalope
|
Re: Can I force Mythweb not to use WAP
My MythWeb is stuck in WAP mode. http://ubuntuforums.org/showthread.php?t=919440
I changed /usr/share/mythtv/mythweb/includes/mobile.php per http://ubuntuforums.org/showthread.php?t=919440 I preferred the original better. I tried following the instructions in reverse but now everything still gets the WAP treatment. I added the suggested above line of code Quote:
Last edited by molder; July 8th, 2009 at 07:40 PM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|