News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Is SMF WAP capible?

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

Previous topic - Next topic

[Unknown]

Unfortunately, WAP complicates form input a lot.

-[Unknown]

Owdy

Imode, smf 1.1 cvs. If i try log in, phone (Nokia 6100) says 'unknown file format'.
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

[Unknown]

You might have to ask Compuart about that - he has much more experience in the I-Mode functionality.

-[Unknown]

Trekkie101

Although I'd like to say, Wap and Wap2 are excellent on SMF 1.1, ive used them more than a few times and they work very well and do justice, even with SEF URL's on.

AcidBurN

Im trying to make the ";wap" login template can someone please tell me where i went wrong it just redirects me back to the login menu :(
function template_wap_login()
{
    global $context, $settings, $options, $scripturl, $txt;
   
    echo '
        <card id="login">
        <p align="center">', $txt[34], '</p>';
    if (isset($context['login_error']))
        echo '
            <p><b>', $context['login_error'], '</b></p>';
    echo '
        <p>', $txt[35], ':<br/>
        <input type="text" name="user" size="10" /><br/>
        ', $txt[36], ':<br/>
        <input type="password" name="passwrd" size="10" /><br/>
        <small><anchor>Login!
        <go href="', $scripturl, '?action=login2;wap" method="post">
        <postfield name="user" value="',$name, '"/>
        <postfield name="passwrd" value="',$passwrd, '"/>
        </go></anchor></small></p>
    </card>';
}

Elmacik

there is something wrong with the ?wap command in my forum.
index.php?wap2  and
index.php?imode
work as well, but when i type the wap command, it downloads the index.php file..
Home of Elmacik

[Unknown]

Maybe more like:

function template_wap_login()
{
    global $context, $settings, $options, $scripturl, $txt;
   
    echo '
        <card id="login">
        <p align="center">', $txt[34], '</p>';
    if (isset($context['login_error']))
        echo '
            <p><b>', $context['login_error'], '</b></p>';
    echo '
        <p>', $txt[35], ':<br />
        <input type="text" name="user" size="10" /><br />
        ', $txt[36], ':<br />
        <input type="password" name="passwrd" size="10" /><br />
        <do type="accept" label="Login!">
            <go method="post" href="', $scripturl, '?action=login2;wap">
                <postfield name="user" value="$user" />
                <postfield name="passwrd" value="$passwrd" />
            </go>
        </do></p>
    </card>';
}


But I'm not sure.

Quote from: elmacik on September 01, 2005, 08:30:47 PM
there is something wrong with the ?wap command in my forum.
index.php?wap2  and
index.php?imode
work as well, but when i type the wap command, it downloads the index.php file..

Your web browser cannot view WAP.  Only cellphones can, generally.

-[Unknown]

AcidBurN

Quote from: [Unknown] on September 01, 2005, 09:51:30 PM
Maybe more like:

function template_wap_login()
{
    global $context, $settings, $options, $scripturl, $txt;
   
    echo '
        <card id="login">
        <p align="center">', $txt[34], '</p>';
    if (isset($context['login_error']))
        echo '
            <p><b>', $context['login_error'], '</b></p>';
    echo '
        <p>', $txt[35], ':<br />
        <input type="text" name="user" size="10" /><br />
        ', $txt[36], ':<br />
        <input type="password" name="passwrd" size="10" /><br />
        <do type="accept" label="Login!">
            <go method="post" href="', $scripturl, '?action=login2;wap">
                <postfield name="user" value="$user" />
                <postfield name="passwrd" value="$passwrd" />
            </go>
        </do></p>
    </card>';
}


But I'm not sure.

It works yepie you the man :) thanx alot

Ivan Minic

Quote
Quote from: elmacik on September 01, 2005, 08:30:47 PM
there is something wrong with the ?wap command in my forum.
index.php?wap2  and
index.php?imode
work as well, but when i type the wap command, it downloads the index.php file..

Your web browser cannot view WAP.  Only cellphones can, generally.

-[Unknown]
Opera can.
www.Opera.com

[Unknown]

Yes, perhaps so.  But that isn't what I said: I said his browser could not, because of the message he got.  This is true.

-[Unknown]

AcidBurN

Quote
Opera can.
www.Opera.com
But smf detects the browser and send it to appropriate content, so that means even if he does use opera it will send him to the normal web board. Use winwap http://winwap.com [nofollow]

Elmacik

#51
not only opera, firefox also.
i can view the smf forums in wap2 and imode modes with the browser.
i even view the simplemachines.org  in wap mode without any problem, like;

www.simplemachines.org/community/index.php?wap

but my forum doesnt display. i will try in the cell phone later..
thanks again for everything :)
Home of Elmacik

[Unknown]

Quote from: elmacik on September 02, 2005, 08:30:10 AM
not also opera, firefox also.
i can view the smf forums in wap2 and imode modes with the browser.
i even view the simplemachines.org  in wap mode without any problem, like;

www.simplemachines.org/community/index.php?wap

but my forum doesnt disoplay. i will try in the cell phone later..
thanks again for everything :)

No, that's a bug in the version uploaded here.  It doesn't actually work.

-[Unknown]

AcidBurN

Look at my wap version of smf, added online list and pm notifcation popup in forums :)
http://zeroacid.yakom.net/smf/index.php?wap2 [nofollow]
Still a few bugs but i will fix that soon...

Dark Link

Is theer any way to login on wap1??

Trekkie101

No, I dont believe so, just very basic functions, WAP2 supports it though :)

Dark Link

the wap2 page for some reason will not load

Ben_S

Probably because your phone only supports wap1 :(.
Liverpool FC Forum with 14 million+ posts.

Advertisement: