TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: alt.bbs.synchronet
from: Riba
date: 2022-07-25 00:56:00
subject: Re: Splash screen in web

From Newsgroup: alt.bbs.synchronet

On Monday, July 25, 2022 at 12:40:13 AM UTC+3, Digital Man wrote:


> > [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
> Do you have the the "web_directory" key set in the [web] section of modopts.ini? Compare you settings to the stock modopts.ini.

Thanks, added a bunch of options from example modopts.ini and it worked like a charm.

> > 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. 

Mystery solved then. :) I guess without any options set in modopts.ini it will default to that one.
--- Synchronet 3.19c-Linux NewsLink 1.113
                                                                                                                   
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.