• webctrl.ini

    From Mortifis@1:103/705 to All on Tue Oct 13 10:17:03 2020
    Risking sounding like a certain DoVe_Net user most of us have grown to shrug off ... Is there a setting in webctrl.ini for webv4 that only shows pages to a specific Level and or/Only G restriction?

    eg: if webv4 user is not logged in they are considered G Guest ... show tab ...
    or if they are logged in with a security level < 50 show tab, otherwise hide tab

    I tried:

    [*myscript.ssjs]
    AccessRequirements = LEVEL 20 AND G

    or is it minimum AccessRequirements


    ~Mortifis

    ---
    þ Synchronet þ The Realm of Dispair telnet ephram.synchro.net 2323 ssh 2222 web 82
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Mortifis on Tue Oct 13 10:24:38 2020
    Re: webctrl.ini
    By: Mortifis to All on Tue Oct 13 2020 10:17:03

    off ... Is there a setting in webctrl.ini for webv4 that only shows pages
    to a
    specific Level and or/Only G restriction?

    It's supposed to use webctrl.ini for this, but I haven't tested that in a while.

    [*myscript.ssjs]
    AccessRequirements = LEVEL 20 AND G

    You need to tell it where to look for "G" - is it a restriction, an exemption, a flag, etc. Try this:

    LEVEL 20 AND REST G

    or

    LEVEL 20 OR REST G

    or is it minimum AccessRequirements

    "LEVEL 20" is a minimum requirement (20 or higher will satisfy this).

    If it's still not working, let me know and I'll do some testing.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to echicken on Tue Oct 13 12:10:34 2020
    Re: webctrl.ini
    By: Mortifis to All on Tue Oct 13 2020 10:17:03

    off ... Is there a setting in webctrl.ini for webv4 that only shows pages to a
    specific Level and or/Only G restriction?

    It's supposed to use webctrl.ini for this, but I haven't tested that in a while.

    [*myscript.ssjs]
    AccessRequirements = LEVEL 20 AND G

    You need to tell it where to look for "G" - is it a restriction, an exemption, a flag, etc. Try this:

    LEVEL 20 AND REST G

    or

    LEVEL 20 OR REST G

    or is it minimum AccessRequirements

    "LEVEL 20" is a minimum requirement (20 or higher will satisfy this).

    If it's still not working, let me know and I'll do some testing.

    ---
    echicken

    seems to be working as expected, though my intent was to show a link only if the 'user' is Guest or below Level 50 ... no worries, I can add it to pages/More so as not to clutter up the Home tab space any more than I already have ... I have a webv4 Email Validation and Password Recovery mods

    ~Mortifis

    ---
    þ Synchronet þ The Realm of Dispair telnet ephram.synchro.net 2323 ssh 2222 web 82
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Mortifis on Tue Oct 13 11:16:03 2020
    Re: Re: webctrl.ini
    By: Mortifis to echicken on Tue Oct 13 2020 12:10:34

    seems to be working as expected, though my intent was to show a link only
    if
    the 'user' is Guest or below Level 50 ... no worries, I can add it to

    This should do the job:

    LEVEL NOT 50 OR REST G

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to echicken on Tue Oct 13 12:30:42 2020
    Re: Re: webctrl.ini
    By: Mortifis to echicken on Tue Oct 13 2020 12:10:34

    seems to be working as expected, though my intent was to show a link only if
    the 'user' is Guest or below Level 50 ... no worries, I can add it to

    This should do the job:

    LEVEL NOT 50 OR REST G

    ---
    echicken

    That worked, thank you! I will write this down so I don't end up asking again next week :-)

    ~Mortifis

    ---
    þ Synchronet þ The Realm of Dispair telnet ephram.synchro.net 2323 ssh 2222 web 82
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)