Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page
   Networked Database  Synchronet Multinode BBS Softwar...   [708 / 900] RSS
 From   To   Subject   Date/Time 
Message   mark lewis    HusTler   Logon Screens   June 2, 2019
 6:41 PM *  

 On 2019 Jun 02 14:42:16, you wrote to All:

 Hu> So I'm reading the Synchronet Docs and it says "(LOGON2, LOGON3, ...
 Hu> LOGON9 also supported)" I take it that means I can have multiple logon
 Hu> screens. No? So if my first logon screen for an ansi user is logon.ans
 Hu> the next one would be named logon2.ans ?? and Synchronet would call
 Hu> the second screen? Is that right? What am I doing wrong?

have you looked at logon.js code?

----- >8 snip 8<-----
// Logon screens

// Print successively numbered logon screens (logon, logon1, logon2, etc.)
var highest_printed_logon_screen=-1;
for(var i=0;;i++) {
        var fname="logon";
        if(i)
                fname+=i;
        if(!bbs.menu_exists(fname)) {
                if(i>1)
                        break;
                continue;
        }
        bbs.menu(fname);
    highest_printed_logon_screen = i;
}

// Print logon screens based on security level
if(user.security.level > highest_printed_logon_screen
    && bbs.menu_exists("logon" + user.security.level))
        bbs.menu("logon" + user.security.level);

// Print one of text/menu/random*.*, picked at random
// e.g. random1.asc, random2.asc, random3.asc, etc.
var random_list = directory(system.text_dir + "menu/random*.*";);
if(random_list.length)
       
bbs.menu(file_getname(random_list[random(random_list.length)]).slice(0,-4));

console.clear();
bbs.user_event(EVENT_LOGON);
----- >8 snip 8<-----

it gathers the logon* file names and then displays them up to the one numbered
with the user's security level...

i changed mine so that it displays logon* (normal) and then logons* (security
level) and then random...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... Of course, anything that came close to a flame is BBQ round here.
---
 * Origin:  (1:3634/12.73)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0968 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_vn1viu7s2nfo49c4k212ji6iu7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_vn1viu7s2nfo49c4k212ji6iu7, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_vn1viu7s2nfo49c4k212ji6iu7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0