How to customise HTTP Interface

How to customise HTTP Interface SearchSearch
Author Message
Ramanjit Singh
Unregistered guest
Posted on Friday, January 16, 2004 - 06:56 am:   

I want to customise HTTP interface provided by Now SMS. For expample, I have enabled user login and I want to welcome user when he/she logs in.Also I want to show him his credits used .....
Any Help ?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1641
Registered: 10-2002
Posted on Friday, January 16, 2004 - 02:58 pm:   

Hi,

The HTML files are straight-forward HTML format files which can be easily edited. They are located in the HTML subdirectory of the gateway.

Unfortunately, there is no command that will report the number of credits remaining. This feature is currently on the development list for an upcoming version (won't be in v5.01, but hopefully will happen in the first quarter of this year).

-bn
Ramanjit Singh
Unregistered guest
Posted on Tuesday, January 20, 2004 - 12:07 pm:   

Thanks

How to read username and welcome him/her saying "Welcome username",

Can I use asp instead of Html.If yes then what is variable for username ?

One important question, How to generate log reports for each user. I have seen logs but not able to seprate logs for each user.

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1681
Registered: 10-2002
Posted on Tuesday, January 20, 2004 - 05:39 pm:   

No, you can't use ASP.

The files are served up by a web server that is integrated into the gateway, and that only supports static HTML.

If you wanted to do ASP, you could host the interface on another web server, and then your ASP could post to NowSMS as part of its processing, skipping the NowSMS web interface completely. (I've had people tell me that they used ASPTear for this ... there's a link in this thread http://support.nowsms.com/discus/messages/1/252.html.)

There are individual user based logs maintained in the USERS\username directory.

Anonymous
 
Posted on Friday, January 23, 2004 - 11:39 am:   

Hi,
We have a website and want to make it available for the GPRS enabled devices with the smae look and feel, but I dont know how to achieve this, I know how to do this for WAP enabled devices but not for GPRS enabled device. Please let me know in this regard.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1710
Registered: 10-2002
Posted on Friday, January 23, 2004 - 05:08 pm:   

Ok. This is completely unrelated to the discussion that precedes it. So we'll change gears.


quote:

We have a website and want to make it available for the GPRS enabled devices with the smae look and feel, but I dont know how to achieve this, I know how to do this for WAP enabled devices but not for GPRS enabled device. Please let me know in this regard.




Umm ... the browser on a GPRS device is typically a WAP browser, so there is no difference.

Some newer phones support WAP 2.0, where you can use XHTML Basic instead of WML (look for "application/xhtml+xml" in the "Accept:" header). But these devices generally support WML as well for backward compatibility.