From Newsgroup: alt.bbs.synchronet
Need some help with changing the default splash screen in telnet window on the web interface.
According to wiki, by default it points to ../text/synch.asc
I tried both replacing the synch.asc with my modified file (did not change on web page), and also adding:
[web]
ftelnet_splash = ../text/tvri.ans
(also tried ..\text\tvri.ans as it is a Windows host)
...but the moment I add this change to ..\ctrl\modopts.ini the web server throws an error:
!JavaScript c:\sbbs\webv4\root\index.xjs.ssjs line 6: Error: can't open undefined/lib/init.js: No such file or directory
Removing the lines fixes it. So how can I change this splash screen and if the default file/location is correct how come editing the file does nothing?
Need some help with changing the default splash screen in telnet window on
the web interface.
According to wiki, by default it points to ../text/synch.asc
First of all, does it work with the default screen named "../text/synch.ans"
; Path to a .ans file to use as the ftelnet splash screen ftelnet_splash=../text/synch.ans
I tried both replacing the synch.asc with my modified file (did not change
on web page), and also adding:
[web]
ftelnet_splash = ../text/tvri.ans
(also tried ..\text\tvri.ans as it is a Windows host)
Did you shut down the web page, then reopen it with the new default everytime you made a change. This has to be done.
Also, did you try renaming your ansi file to splash.ans. You should not have to, but it's worth a shot to narrow down a problem. I'm running two spash screens over here, and the sring works. ( that requires some modding however)
...but the moment I add this change to ..\ctrl\modopts.ini the web server
throws an error:
!JavaScript c:\sbbs\webv4\root\index.xjs.ssjs line 6: Error: can't open undefined/lib/init.js: No such file or directory
I think that is due to changing the default without restating your browser. I found out the hard way, webv4 needs to be restarted (closed, then reopened) before changes will work.
Removing the lines fixes it. So how can I change this splash screen and if
the default file/location is correct how come editing the file does nothing?
try shutting down the the web page in your browser, then going back into it.
From Newsgroup: alt.bbs.synchronet
Need some help with changing the default splash screen in telnet window on the web interface.
According to wiki, by default it points to ../text/synch.asc
I tried both replacing the synch.asc with my modified file (did not change on web page), and also adding:
[web]
ftelnet_splash = ../text/tvri.ans
(also tried ..\text\tvri.ans as it is a Windows host)
...but the moment I add this change to ..\ctrl\modopts.ini the web server throws an error:
!JavaScript c:\sbbs\webv4\root\index.xjs.ssjs line 6: Error: can't open undefined/lib/init.js: No such file or directory
Removing the lines fixes it. So how can I change this splash screen and if the default file/location is correct how come editing the file does nothing?
[web]
ftelnet_splash = ../text/tvri.ans
(also tried ..\text\tvri.ans as it is a Windows host)
...but the moment I add this change to ..\ctrl\modopts.ini the web server throws an error:
!JavaScript c:\sbbs\webv4\root\index.xjs.ssjs line 6: Error: can't open undefined/lib/init.js: No such file or directoryDo you have the the "web_directory" key set in the [web] section of modopts.ini? Compare you settings to the stock modopts.ini.
Removing the lines fixes it. So how can I change this splash screen and if the default file/location is correct how come editing the file does nothing?There's also a default base64-encoded splash screen defined in webv4/lib/ftelnet.js, perhaps that's where it's coming from.
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 230:02:42 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,543 |