Hi i installed the tinyportal mod, but now im unable to access ?wap on my forums... I know whats the problem (kinda) but i just cant get it fixed, for some reason its not including the header ie --- // Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
can someone please help me fix this :)
I think you need to ask this question back at SMF and the author of this mod about that....
I am asking the author of the mod lol.. Since i installed tinyportal my wap 1.0 has been down, its not including the header when u request ?wap and ive tried to put it into the wap_above template but that didnt work either :(
I dont think itÂÃ,´s a mod to TP...
Did a search on SMF forum.
http://www.simplemachines.org/community/index.php?action=search2;search=wap+1.0
I dont think u with me here... Ive always had access to wap 1.0 before i installed TP, now its just not including the header('Content-Type: text/vnd.wap.wml') on browsers like opera it will display but its not working when you try to access it by phone.
Yes same here, always had wap access before, but since installing TP it just gives the error message as before.
Powerbob
Try these 3 ways....
index.php?action=forum;imode
index.php?action=forum;wap
index.php?action=forum;wap2
WAP for the frontpage/articles is not fully working, but as Ontap mentions, the forum part should work.
This should fix it...
function template_wap_above()
{
global $context, $settings, $options;
// Show the xml declaration...
header("Content-type: text/vnd.wap.wml");
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>';
}
change your wap above template
then make another template
function template_wap()
{
header('Location: ?action=forum;wap');
}
8)
QuoteThis should fix it...
Code:
function template_wap_above()
{
global $context, $settings, $options;
// Show the xml declaration...
header("Content-type: text/vnd.wap.wml");
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>';
}
change your wap above template
then make another template
function template_wap()
{
header('Location: ?action=forum;wap');
}
I had exactly the same problem with my forum...I cannot remember where I read it at but after you install TinyPortal you need to change the link to the following:
http://YOURFORUMADDRESS/index.php?action=forum;wap
http://YOURFORUMADDRESS/index.php?action=forum;wap2
http://YOURFORUMADDRESS/index.php?action=forum;imode
you do not need to edit any code...you just need to change the way you word the address in the cell phone.
It should do this automatic really..I will add it to the next release. :)
Quote from: technodragon73 on March 09, 2006, 02:57:34 AM
QuoteThis should fix it...
Code:
function template_wap_above()
{
global $context, $settings, $options;
// Show the xml declaration...
header("Content-type: text/vnd.wap.wml");
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>';
}
change your wap above template
then make another template
function template_wap()
{
header('Location: ?action=forum;wap');
}
I had exactly the same problem with my forum...I cannot remember where I read it at but after you install TinyPortal you need to change the link to the following:
http://YOURFORUMADDRESS/index.php?action=forum;wap
http://YOURFORUMADDRESS/index.php?action=forum;wap2
http://YOURFORUMADDRESS/index.php?action=forum;imode
you do not need to edit any code...you just need to change the way you word the address in the cell phone.
That will only fix the URL, but the page itself will NOT be valid wml!
Quote from: Bloc on March 09, 2006, 10:01:32 AM
It should do this automatic really..I will add it to the next release. :)
Thanx Bloc... :)
only the frontpage of a TP site...if you stay within the board itself it works fine...I have been using my site in my cell phone for several weeks now with no problems as long as I navigate away from the tp frontpage (i solved that by having the front page turned off and go straight to the board index).
lol i would not want to turn off my front page thou, as thats the reason why i installed tinyportal, to link everything to my forums :)
Quotelol i would not want to turn off my front page thou, as thats the reason why i installed tinyportal, to link everything to my forums
I can undersdtand that, i have a regular home page and for me the forum is an addition to it...but for many that I have seen the forum is their website. More of a suggestion if many people use the cell phone way to access the forum.