TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 103
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 428
  • Total: 428

Wap 1.0 error

Started by AcidBurN, March 02, 2006, 01:41:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AcidBurN

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 :)

G6Cad

I think you need to ask this question back at SMF and the author of this mod about that....

AcidBurN

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 :(

G6Cad

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

AcidBurN

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.

Powerbob

Yes same here, always had wap access before, but since installing TP it just gives the error message as before.


Powerbob

ontap



Try these 3 ways....

index.php?action=forum;imode
index.php?action=forum;wap
index.php?action=forum;wap2

bloc

WAP for the frontpage/articles is not fully working, but as Ontap mentions, the forum part should work.

AcidBurN

#8
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)

technodragon73

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.


This website is proudly hosted on Crocweb Cloud Website Hosting.