home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.synchronet      Rob Swindell fetishistic worship forum      26,287 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 25,268 of 26,287   
   Riba to DesotoFireflite   
   Re: Splash screen in web telnet window?   
   24 Jul 22 12:53:09   
   
   From: ribosom@gmail.com   
      
   On Sunday, July 24, 2022 at 8:22:25 PM UTC+3, DesotoFireflite wrote:   
      
      
   > Ri> Need some help with changing the default splash screen in telnet window   
   on   
   > Ri> the web interface.   
   >   
   > Ri> 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   
      
   Just tested that, no, the moment I add this and restart the web server it   
   spits an error in the log:   
   7/24  09:41:21p  1204 !JavaScript  c:\sbbs\webv4\root\api\events.ssjs line 3:   
   Error: can't open undefined/lib/init.js: No such file or directory, Request:   
   /api/events.ssjs?subscribe=nodelist&subscribe=mail&subscribe=telegram   
      
   > Ri> I tried both replacing the synch.asc with my modified file (did not   
   change   
   > Ri> on web page), and also adding:   
   >   
   > Ri> [web]   
   > Ri> ftelnet_splash = ../text/tvri.ans   
   > Ri> (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.   
      
   Yes, I restarted the web service and entire Synchronet between changes.   
      
   > 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)   
      
   Tried, no luck. I'm pretty sure that it doesn't seem to be reading the   
   ..\text\synch.ans file at all, because if I rename it it still displays the   
   same content in the telnet window (?)   
      
   > Ri> ...but the moment I add this change to ..\ctrl\modopts.ini the web server   
   > Ri> throws an error:   
   >   
   > Ri> !JavaScript c:\sbbs\webv4\root\index.xjs.ssjs line 6: Error: can't open   
   > Ri> 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.   
      
   I did restart it after each change. :(   
      
   > Ri> Removing the lines fixes it. So how can I change this splash screen and   
   if   
   > Ri> the default file/location is correct how come editing the file does   
   > Ri> nothing?   
   >   
   > try shutting down the the web page in your browser, then going back into it.   
      
   Tried that as well, including clearing the browser cache. I'm completely at   
   loss here.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca