Is SMF WAP capible?

Started by Senkusha, December 04, 2004, 04:42:13 PM

Previous topic - Next topic

Superboy

Quote from: Ben_S on January 05, 2005, 05:46:47 PM
He means it's fixed in the cvs i.e. the next release.

Version 1.1?
Windows (n): 32 bit extension and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.

sneedo

I'm thinking about trying to access my SMF board , I've got a Nokia 6010 and use Tmobile, can you actually login and post and do all of the functions or just read?

[Unknown]

Depends on your phone.  I'm not an expert on which phones are compatible, but try:

http://www.simplemachines.org/community/index.php?wap2
http://www.simplemachines.org/community/index.php?imode

Which both allow posting.

-[Unknown]

Karmalakas

Well i have Siemens M65 and tried ?wap2 and ?imode
in both when i press "Post" my phone turns off :'(

sneedo

I've tried it, and it works fine on my phone, Nokia 6010, all modes (wap, wap2, imode)

[Unknown]

Quote from: CRONUS on February 11, 2005, 07:26:51 AM
Well i have Siemens M65 and tried ?wap2 and ?imode
in both when i press "Post" my phone turns off :'(

Hmm, now that has to be a bug :P.

-[Unknown]

Superboy

I would say that is a problem with your phone's firmware...
Windows (n): 32 bit extension and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.

diplomat.

can i download midi ringtones thru this? is that possible?
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

Superboy

You can do that easy enough anyway, if you have Apache you can set one up for yourself. I have done it and it works perfectly (brazil2005.dyndns.org/index.wml) I cant remember how you set one up though. I found out somewhere on the 'net (can't remember the site either :/ sorry...) how to set it up. :)
Windows (n): 32 bit extension and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.

dtm.exe

That's a great feature with SMF.  It works for me :)

-Dan The Man

Alexandre P.

Just to not start a new topic, are there any new improvment in wireless support planned for SMF 1.1 ?
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

dtm.exe

Quote from: Alexandre P. on June 21, 2005, 02:36:44 PM
Just to not start a new topic, are there any new improvment in wireless support planned for SMF 1.1 ?

From what I've heard, yes.  One thing is that it automatically detects the correct wireless mode.

-Dan The Man

Ben_S

Quote from: Alexandre P. on June 21, 2005, 02:36:44 PM
Just to not start a new topic, are there any new improvment in wireless support planned for SMF 1.1 ?

You can read your PM and reply to them in 1.1.
Liverpool FC Forum with 14 million+ posts.

Alexandre P.

Ok, so some improvments have been made in 1.1 ;)
Thanks guys fr the info ;)
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

dtm.exe

Quote from: Alexandre P. on June 21, 2005, 03:12:29 PM
Ok, so some improvments have been made in 1.1 ;)
Thanks guys fr the info ;)

No problem :).

-Dan The Man

Powerbob

Hi I have just made my site available via wap/wap2/imode, and my members think it's the "dogs bollocks" ;D

I have a Nokia 6210 and it works fine with all 3.


Powerbob



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

forsakenlad

*Forsakenlad wonders what this imode is :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Astrogallery

I enjoyed wap-version of Simple Machines Forum. But there is a very big problem (for me): wap version have not any moderator actions! I need to moderate forum from my mobile phone. Will is it available?

AcidBurN

#39
I can access imode, wap and wap2 using my V600 but the problem with ;wap link is that its missing a file wap_login template thats why u will not b able to login via that link. And the reason why sum phones will not be able to access the ;imode and ;wap2 links is because its coded in xhtml. I was thinking if i can create the template for ;wap link it should work perfectly as that is the file thats coded with wml, but it does not show the login link and if you do try something like http://zeroacid.yakom.net/smf/index.php?action=login;wap [nofollow] it will not work instead it shows an error msg 'wap_login' template missing or something like that..... Anyway now can anyone tell me, is the following a template or is it in the mysql table "template_imode_login" ? If its a table all thats needed is to add a table "template_wap_login" then edit your wireless.template.php as follows and im not sure if im rite but im trying :) ok here we go...

<?php
// Version: 1.1 Beta 3 Public; Wireless

// This is the header for WAP 1.1 output.  You can view it with ?wap in the URL.
function template_wap_above()
{
   global $context, $settings, $options;

   // Show the xml declaration...
   echo '<?xml version="1.0"?', '>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml [nofollow]">
<wml>';
}

// This is the board index (main page) in WAP 1.1.
function template_wap_boardindex()
{
   global $context, $settings, $options, $scripturl;

   // This is the "main" card...
   // !!! card title=""
   echo '
   <card id="main">
      <p><b>', $context['forum_name'], '</b><br /></p>';

   // Show an anchor for each category.
   foreach ($context['categories'] as $category)
      echo '
      <p><a href="#c', $category['id'], '">', $category['name'], '</a><br /></p>';

   // Okay, that's it for the main card.
   echo '
   </card>';

   // Now fill out the deck of cards with the boards in each category.
   foreach ($context['categories'] as $category)
   {
      // Begin the card, and make the name available.
      // !!! card title=""
      echo '
   <card id="c', $category['id'], '">
      <p><b>', $category['name'], '</b><br /></p>';

      // Now show a link for each board.
      foreach ($category['boards'] as $board)
         echo '
      <p><a href="', $scripturl, '?board=', $board['id'], '.0;wap">', $board['name'], '</a><br /></p>';

      echo '
   </card>';
   }
}

// This is the message index (list of topics in a board) for WAP 1.1.
function template_wap_messageindex()
{
   global $context, $settings, $options, $scripturl, $txt;

   // !!! card title=""
   echo '
   <card id="main">
      <p><b>', $context['name'], '</b></p>
      <p>', $txt[139], ': ', !empty($context['links']['prev']) ? '<a href="' . $context['links']['first'] . ';wap">&lt;&lt;</a> <a href="' . $context['links']['prev'] . ';wap">&lt;</a> ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' <a href="' . $context['links']['next'] . ';wap">&gt;</a> <a href="' . $context['links']['last'] . ';wap">&gt;&gt;</a> ' : '', '<br /></p>';

   if (isset($context['boards']) && count($context['boards']) > 0)
   {
      foreach ($context['boards'] as $board)
         echo '
      <p>- <a href="', $scripturl, '?board=', $board['id'], '.0;wap">', $board['name'], '</a><br /></p>';
      echo '
      <p><br /></p>';
   }

   if (!empty($context['topics']))
      foreach ($context['topics'] as $topic)
         echo '
      <p><a href="', $scripturl, '?topic=', $topic['id'], '.0;wap">', $topic['first_post']['subject'], '</a> - ', $topic['first_post']['member']['name'], '<br /></p>';

   echo '
      <p>', $txt[139], ': ', !empty($context['links']['prev']) ? '<a href="' . $context['links']['first'] . ';wap">&lt;&lt;</a> <a href="' . $context['links']['prev'] . ';wap">&lt;</a> ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' <a href="' . $context['links']['next'] . ';wap">&gt;</a> <a href="' . $context['links']['last'] . ';wap">&gt;&gt;</a> ' : '', '</p>
   </card>';
}

function template_wap_display()
{
   global $context, $settings, $options, $txt;

   // !!! card title=""
   echo '
   <card id="main">
      <p><b>', $context['subject'], '</b></p>
      <p>', $txt[139], ': ', !empty($context['links']['prev']) ? '<a href="' . $context['links']['first'] . ';wap">&lt;&lt;</a> <a href="' . $context['links']['prev'] . ';wap">&lt;</a> ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' <a href="' . $context['links']['next'] . ';wap">&gt;</a> <a href="' . $context['links']['last'] . ';wap">&gt;&gt;</a> ' : '', '<br /><br /></p>';

   while ($message = $context['get_message']())
   {
      // This is a special modification to the post so it will work on phones:
      $wireless_message = strip_tags(str_replace(array('<div class="quote">', '<div class="code">', '</div>'), '<br />', $message['body']), '<br>');

      echo '
      <p><u>', $message['member']['name'], '</u>:<br /></p>
      <p>', $wireless_message, '<br /><br /></p>';
   }

   echo '
      <p>', $txt[139], ': ', !empty($context['links']['prev']) ? '<a href="' . $context['links']['first'] . ';wap">&lt;&lt;</a> <a href="' . $context['links']['prev'] . ';wap">&lt;</a> ' : '', '(', $context['page_info']['current_page'], '/', $context['page_info']['num_pages'], ')', !empty($context['links']['next']) ? ' <a href="' . $context['links']['next'] . ';wap">&gt;</a> <a href="' . $context['links']['last'] . ';wap">&gt;&gt;</a> ' : '', '</p>
   </card>';
}

function template_wap_login()
{
   global $context, $settings, $options, $scripturl, $txt;

   echo '
      <form action="', $scripturl, '?action=login;wap" method="post">
         <p class="catbg">', $txt[34], '</p>';
   if (isset($context['login_error']))
      echo '
         <p class="windowbg"><b>', $context['login_error'], '</b></p>';
   echo '
         <p class="windowbg">', $txt[35], ':</p>
         <p class="windowbg"><input type="text" name="user" size="10" /></p>
         <p class="windowbg">', $txt[36], ':</p>
         <p class="windowbg"><input type="password" name="passwrd" size="10" /></p>
         <p class="windowbg"><input type="submit" value="', $txt[34], '" /><input type="hidden" name="cookieneverexp" value="1" /></p>
         <p class="catbg">', $txt['wireless_navigation'], '</p>
         <p class="windowbg">
  • <a href="', $scripturl, '?wap" accesskey="0">', $txt['wireless_navigation_up'], '</a></p>
          </form>';
    }

    function template_wap_error()
    {
       global $context, $settings, $options, $txt, $scripturl;

       // !!! card title=""
       echo '
       <card id="main">
          <p><b>', $context['error_title'], '</b></p>
          <p>', $context['error_message'], '</p>
          <p><a href="', $scripturl, '?wap">', $txt['wireless_error_home'], '</a></p>
       </card>';
    }

    function template_wap_below()
    {
       global $context, $settings, $options;

       echo '
    </wml>';
    }

Advertisement: