Web Interface

Web Interface SearchSearch
Author Message
robert nero
New member
Username: Robertnero

Post Number: 4
Registered: 05-2009
Posted on Thursday, July 30, 2009 - 08:30 am:   

It's possible to customize/change the web interface?
If yes where are the original html pages ?
Thank's in advance
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1100
Registered: 08-2008
Posted on Thursday, July 30, 2009 - 07:14 pm:   

Hi Robert,

Yes, there are template files for this user interface in the "HTML" subdirectory of the NowSMS installation.

default.htm is the first page displayed.

There is no magic to the other file names, NowSMS just serves up simple web content with the HTML directory being the root of the web server.

Note ... it is also possible to have user specific templates.

You can create templates in NowSMS\USERS\username\HTML to override any of the default HTML templates.

--
Des
NowSMS Support
robert nero
New member
Username: Robertnero

Post Number: 5
Registered: 05-2009
Posted on Friday, July 31, 2009 - 04:49 pm:   

Thank's a lot !!
aneesh
New member
Username: Aneesh

Post Number: 1
Registered: 11-2009
Posted on Sunday, November 15, 2009 - 03:39 pm:   

im unable to configure the web interface i set the ip to 192.168.1.2 and port 8800 then i went to the browser and typed http://192.168.1.2/8800 but it comes cannot display page pls help i need to use this software to send settings .
aneesh
New member
Username: Aneesh

Post Number: 2
Registered: 11-2009
Posted on Monday, November 16, 2009 - 11:54 am:   

also the ip is the defalt ip of my operator should i not use it Thank's in advance
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1432
Registered: 08-2008
Posted on Monday, November 16, 2009 - 05:26 pm:   

Why not leave the IP address at its default setting, "(all available)"?

It is only necessary to explicitly set this value for advanced configurations where you have multiple IP addresses bound to a single server and you only want NowSMS active on one of the addresses.

Change that setting back to "(all available)", then try to connect to http://127.0.0.1:8800 on the local PC running NowSMS. If that doesn't work, then there is most likely some sort of firewall software running that is blocking access. (The NowSMS install adds itself to the Windows firewall exceptions, but if you are using some other firewall, this could be an issue.)

Assuming the 127.0.0.1 access works from the local PC ... from other PCs, you should be able to connect to http://192.168.1.2:8800", assuming that 192.168.1.2 is the IP address of the NowSMS server. If that doesn't work, again, it points to a firewall issue.

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 23
Registered: 12-2008
Posted on Friday, January 22, 2010 - 12:31 pm:   

Hi Des

It's good to hear we're allowed to edit the HTML pages. Is it possible to change SMS Users' details via these pages?

I see that there are variables defined in the pages such as @@AvailableCredits@@ but can we use this to update the user's credits?

What we're basically trying to accomplish is to somehow integrate these HTML pages so that changes to our user accounts can be made without having us technical guys update any NowSMS user accounts manually

Thanks
Chris
Chris
New member
Username: Chrisc

Post Number: 24
Registered: 12-2008
Posted on Friday, January 22, 2010 - 12:35 pm:   

Hi Des

It's good to hear we're allowed to edit the HTML pages. Is it possible to change SMS Users' details via these pages?

I see that there are variables defined in the pages such as @@AvailableCredits@@ but can we use this to update the user's credits?

What we're basically trying to accomplish is to somehow integrate these HTML pages so that changes to our user accounts can be made without having us technical guys update any NowSMS user accounts manually

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1701
Registered: 08-2008
Posted on Friday, January 22, 2010 - 10:17 pm:   

Hi Chris,

For updating user credits, or adding/deleting user accounts, there is an HTTP based provisioning interface.

Here is a link that describes the interface:

http://www.nowsms.com/support/bulletins/tb-nowsms-013.htm


--
Des
NowSMS Support
Michael Nwaogu
New member
Username: Mnwaogu

Post Number: 2
Registered: 11-2007
Posted on Tuesday, January 26, 2010 - 04:20 pm:   

Hi Des, what webserver does the web pages use, can one introduce some other variables that may suit our specifics? If yes how? I'd want to add a page where users can click on a page and download the logs for sms sent for a particular day. How can one achieve this.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7876
Registered: 10-2002
Posted on Wednesday, January 27, 2010 - 09:00 pm:   

Hi Michael,

The web server is integrated into NowSMS. It only serves up static content, with the exception of some very limited processing of HTML variables such as @@AvailableCredits@@.

All content is served relative to the "HTML" subdirectory of the NowSMS installation, with "default.htm" being the index page if no file is requested in the URL.

User-specific content can exist in USERS\username\HTML, which the web server looks in first before serving from HTML.

Unfortunately, the user log files are not available from this interface. We have talked about making them available for quite some time, but it has never been implemented.

All in all, it is a very limited web server. For extensions, it is usually better to write your own web interface on your own web server, and interface with NowSMS for sending messages.

-bn