NuSkooler / enigma-bbs

ENiGMA½ BBS Software
https://nuskooler.github.io/enigma-bbs/
BSD 2-Clause "Simplified" License
540 stars 104 forks source link

Adding BBSLink for doors #348

Closed IBBBS closed 3 years ago

IBBBS commented 3 years ago

Sorry NuSkooler, I tried to do this on my own and failing miserably. Per the documentation, adding BBS-Doors in respective hjson file should create the functionality. I've performed the steps in two different areas, but the menu of Enigma repeats that I have not dropped these entries in. door-servers.md and online github documentation don't really lay out how this becomes menu-driven and what hjson file should be modified.

I've attempted modification in three different areas and adding some thought-process as part of the discussion: file: config.hjson Thought: this seemed like the logical area to go to since it handles modifications to the core area of the system. Entry: doorMenuBBSLink: { desc: Menu of all games for BBSLink module: bbs_link config: { syscode: westwood authCode: XXXXXXXXXXX schemeCode: XXXXXXXXXX door: menu } } No Workie; Then later found under config/menus:

-doors.hjson. thoughts: I thought, A-HA! This is it! Menu! Added same code as mentioned above in config.hjson No workie. Last ditch effort - I went to the js (bbs-link.js) file and in that at the start, it lays out an example of adding an entry. So I figured, try there. Same code entry as above. No workie. All three attempts are still in the system, but in the program in execution still does not see it. I'm sure I'm missing something simple, especially since I see no questions on this in the forum? ~ Nuke
NuSkooler commented 3 years ago

@WestwoodBBS You need to add menu entries. This is always referred to as menu.hjson. See e.g.: https://github.com/NuSkooler/enigma-bbs/blob/master/docs/configuration/menu-hjson.md

The door.hjson is a default-config set of menu files, so yeah that's a good place for it. I can't do much with "no workie" though. However, the entry you pasted has a typo:

doorMenuBBSLink: {
    desc: Menu of all games for BBSLink
    module: bbs_link
    config: {
        syscode: westwood // this should be 'sysCode'
        authCode: XXXXXXXXXXX
        schemeCode: XXXXXXXXXX
        door: menu
    }
}

I assume you're replacing the XXXX's with the proper values.

IBBBS commented 3 years ago

Close me ;-) I figured it out. Thanks!

NuSkooler commented 9 months ago

Were you able to figure this out?

A menu entry for a BBSLink door called 'doorMenuBBSLink' would look something like this:

doorMenuBBSLink: { desc: BBS Link Games module: bbs_link config: { sysCode: lowcrash authCode: yourcode schemeCode: yourcode door: menu } }

Other than formatting, your appears OK at glance


Bryan Ashby www: https://l33t.codes/ PGP: https://keybase.io/nuskooler

On 2024-01-16 12:10, Davor Guttierrez wrote:

I have same problems ... in doors menu hjson i have:

{ value: { command: "BBSLINK" } action: @menu [1]:doorMenuBBSLink }

and tehn section:

doorMenuBBSLink: { desc: Menu of all games for BBSLink module: bbs_link config: { syscode: lowcrash authcode: mycode schemecode: mycode door: menu } }

Is this value command BBSLINK ok?

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you modified the open/close state.Message ID: @.***>

Links:

[1] https://github.com/menu [2] https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1893619565 [3] https://github.com/notifications/unsubscribe-auth/AALQPW2KDVCJ2BD5RVN3LSTYOZU35AVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM3DCOJVGY2Q

dguttierrez commented 9 months ago

Hello

Yes, configuration has been ok. But I didn’t know, that I must use commnad BBSLINK in Door menu.

TNX, Davor

On 16 Jan 2024, at 15:43, Bryan Ashby @.***> wrote:

Were you able to figure this out?

A menu entry for a BBSLink door called 'doorMenuBBSLink' would look something like this:

doorMenuBBSLink: { desc: BBS Link Games module: bbs_link config: { sysCode: lowcrash authCode: yourcode schemeCode: yourcode door: menu } }

Other than formatting, your appears OK at glance


Bryan Ashby www: https://l33t.codes/ PGP: https://keybase.io/nuskooler

On 2024-01-16 12:10, Davor Guttierrez wrote:

I have same problems ... in doors menu hjson i have:

{ value: { command: "BBSLINK" } action: @menu [1]:doorMenuBBSLink }

and tehn section:

doorMenuBBSLink: { desc: Menu of all games for BBSLink module: bbs_link config: { syscode: lowcrash authcode: mycode schemecode: mycode door: menu } }

Is this value command BBSLINK ok?

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you modified the open/close state.Message ID: @.***>

Links:

[1] https://github.com/menu [2] https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1893619565 [3] https://github.com/notifications/unsubscribe-auth/AALQPW2KDVCJ2BD5RVN3LSTYOZU35AVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM3DCOJVGY2Q — Reply to this email directly, view it on GitHub https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1893889189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOPWET2OFMEBKH65XRYNELYO2G2PAVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM4DQOJRHA4Q. You are receiving this because you commented.

NuSkooler commented 9 months ago

Just to be clear, you define it all. If you want the command to be something else, you update the command at the call point.

{

value: { command: "MYCOMMAND" } <-- define as you will action: @menu:doorMenuBBSLink <-- again, call whatever menu you want

}

On 2024-01-16 17:19, Davor Guttierrez wrote:

Hello

Yes, configuration has been ok. But I didn't know, that I must use commnad BBSLINK in Door menu.

TNX, Davor

On 16 Jan 2024, at 15:43, Bryan Ashby @.***> wrote:

Were you able to figure this out?

A menu entry for a BBSLink door called 'doorMenuBBSLink' would look something like this:

doorMenuBBSLink: { desc: BBS Link Games module: bbs_link config: { sysCode: lowcrash authCode: yourcode schemeCode: yourcode door: menu } }

Other than formatting, your appears OK at glance


Bryan Ashby www: https://l33t.codes/ PGP: https://keybase.io/nuskooler

On 2024-01-16 12:10, Davor Guttierrez wrote:

I have same problems ... in doors menu hjson i have:

{ value: { command: "BBSLINK" } action: @menu [1]:doorMenuBBSLink }

and tehn section:

doorMenuBBSLink: { desc: Menu of all games for BBSLink module: bbs_link config: { syscode: lowcrash authcode: mycode schemecode: mycode door: menu } }

Is this value command BBSLINK ok?

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you modified the open/close state.Message ID: @.***>

Links:

[1] https://github.com/menu [2] https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1893619565 [3] https://github.com/notifications/unsubscribe-auth/AALQPW2KDVCJ2BD5RVN3LSTYOZU35AVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM3DCOJVGY2Q

Reply to this email directly, view it on GitHub https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1893889189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOPWET2OFMEBKH65XRYNELYO2G2PAVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM4DQOJRHA4Q. You are receiving this because you commented.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you modified the open/close state.Message ID: @.***>

Links:

[1] https://github.com/NuSkooler/enigma-bbs/issues/348#issuecomment-1894179705 [2] https://github.com/notifications/unsubscribe-auth/AALQPWZTFBTWKVUCADE4YZLYO2ZC3AVCNFSM4W44JVV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGQYTOOJXGA2Q