Gossamer Forum
Quote Reply
WAP help
Hi

I have a user that would like to use the wap part of gmail. I installed the plugin and sent him the URL so he could test it (I dont have a wap enabled phone).

He says he has no way to include an = in the URL

http://www.welshdragon.net/cgi-bin/user/login.cgi?t=wap

I really have no idea about this..

Can anyone shed some light on it? Crazy

Thank you

Tracy
Quote Reply
Re: [Welsh Dragon] WAP help In reply to
Every phone should be able to do all the symbols on the keyboard. Regardless, with the new WAP plugin, it should autodetect the usage of a WAP phone and use the WAP templates. So if they just go to:
http://www.welshdragon.net/cgi-bin/user/login.cgi with a WAP capable browser, it should use the WAP templates.

I see you're using the Gossamer Mail 2.0.6, so you're going to have to make some changes to the code because of a bug in 2.0.6 (global's don't work in login.cgi). If you take a look at admin/GMail/NoAuth.pm and go to about line 104, you'll see:
Code:
unshift @opts, $CFG->{globals};
Change that to:
Code:
unshift @opts, $c;

Adrian
Quote Reply
Re: [brewt] WAP help In reply to
Hi Adrian

Thanks so much for helping. Much Appreciated .

I have sent the http://www.welshdragon.net/cgi-bin/user/login.cgi URL to the guy and will await his response.

I have also changed the NoAuth.pm like you mentioned..

Hopefully this will help



Thanks again

Tracy
Quote Reply
Re: [Welsh Dragon] WAP help In reply to
Hi,

I have set it up with a cgi script direct.pl attached with this message.

Just substitute the paths, have a .htaccess file uploaded (instructions there in cgi-bin) but also include your other index files possibilities like index.htm, index.php, index.shtml etc etc.

It works for me this way and i do not have to send that long urls..... Just type in the site address and off it goes to the section depending upon the browser....

Thnx

Anup
Quote Reply
Re: [anup123] WAP help In reply to
Well.. It seems to be working...

I managed to send an email from deck-it (the emulator) and the email came through fine.

But at the bottom it has:

--
This email was brought to you by Gossamer Mail 2
http://www.gossamer-threads.com/scripts/webmail/



How can I change this to reflect my own domain?



Thanks much

Tracy
Quote Reply
Re: [Welsh Dragon] WAP help In reply to
For all of the templates (in your case the WAP template set), you need to modify the email_footer template at Setup => Outgoing Email => Header & Footer.

Adrian
Quote Reply
Re: [brewt] WAP help In reply to
Hi Adrian

Thanks for that :)

I just checked at Setup => Outgoing Email => Header & Footer.
And it is already set to my domain.

Are the WAP templates set somewhere else?



Tracy
Quote Reply
Re: [Welsh Dragon] WAP help In reply to
Same place, you just need to modify the ones for the WAP template set.

Adrian
Quote Reply
Re: [brewt] WAP help In reply to
Oh jeez.... I didn't even see the dropdown at the top..



Thanks much

*skulking away*

Tracy
Quote Reply
Re: [Welsh Dragon] WAP help In reply to
Hi,

Deck It Can be deceptive. It has some on the fly html to wml conversion stuff which really never gets you o realise that actual wml may not be working. The bestonline resource for trying out on a number of emulators is:

http://yospace.com

Thnx

Anup
Quote Reply
Re: [anup123] WAP help In reply to
Thanks for the link Anup

I'm going to try them now..



Tracy