Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The Shuttle is now going five times the sound of speed. -- Dan Rather, first landing of Columbia


computers / alt.bbs.synchronet / Adding links and doors to web interface?

SubjectAuthor
* Adding links and doors to web interface?tmcca
+- Adding links and doors to web interface?echicken
`* Adding links and doors to web interface?Chad Jipiti
 `* Adding links and doors to web interface?tmcca
  +* Adding links and doors to web interface?tmcca
  |`- Adding links and doors to web interface?Chad Jipiti
  +- Adding links and doors to web interface?echicken
  `- Adding links and doors to web interface?Chad Jipiti

1
Adding links and doors to web interface?

<64148465.49586.sync@vert.synchro.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18336&group=alt.bbs.synchronet#18336

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
From: tmc...@vert.synchro.net.remove-1ww-this (tmcca)
Subject: Adding links and doors to web interface?
Message-ID: <64148465.49586.sync@vert.synchro.net>
X-Comment-To: All
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
X-FTN-PID: Synchronet 3.20a-Linux master/f6a25e4fd Mar 15 2023 GCC 12.2.0
X-FTN-MSGID: 49586.sync@1:103/705 287a7c17
X-FTN-CHRS: UTF-8 4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 5
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 17 Mar 2023 15:16:56 UTC
Date: Fri, 17 Mar 2023 08:16:53 -0700
X-Received-Bytes: 1018
 by: tmcca - Fri, 17 Mar 2023 15:16 UTC

I am trying to figure out a couple of things on the web interface. For one I
seen people use Menu button how is that enabled? Also how do I add a sidebar of
doors and links? Thanks
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<6414AEBB.77432.sync@bbs.electronicchicken.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18341&group=alt.bbs.synchronet#18341

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
From: echic...@ECBBS.remove-11ws-this (echicken)
Subject: Adding links and doors to web interface?
Message-ID: <6414AEBB.77432.sync@bbs.electronicchicken.com>
X-Comment-To: tmcca
Organization: electronic chicken bbs
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64148465.49586.sync@vert.synchro.net>
References: <64148465.49586.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5b77181de Jan 4 2023 GCC 9.4.0
X-FTN-MSGID: 49591.sync@1:103/705 287aab1d
X-FTN-REPLY: 49586.sync@1:103/705 287a7c17
X-FTN-CHRS: CP437 2
WhenImported: 20230317181731-0500 412c
WhenExported: 20230317183722Z 412c
ExportedFrom: ECBBS sync 77432
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 36
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 17 Mar 2023 18:37:27 UTC
Date: Fri, 17 Mar 2023 18:17:31 -0500
X-Received-Bytes: 2320
 by: echicken - Fri, 17 Mar 2023 23:17 UTC

To: tmcca
Re: Adding links and doors to web interface?
By: tmcca to All on Fri Mar 17 2023 08:16:53

tm> I am trying to figure out a couple of things on the web interface. For one

If you're using webv4 (which the rest of my reply will assume), configuration and customization info is on the wiki:

http://wiki.synchro.net/config:webv4
http://wiki.synchro.net/custom:webv4

tm> I seen people use Menu button how is that enabled? Also how do I add a

Menu button where?

There's an fTelnet menu bar & button that can be enabled and disabled in the [web] section of ctrl/modopts.ini:

ftelnet_menubar = true

If you mean a dropdown menu at the top of your page, that's described under "Pages" here:

http://wiki.synchro.net/custom:webv4#components

tm> sidebar of doors and links? Thanks

Create a .html, .xjs, or .ssjs file in your webv4/mods/sidebar directory and put your content in there. See the "Sidebar Modules" section here for slightly more detail:

http://wiki.synchro.net/custom:webv4#components

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
---
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<6414AF2B.77438.sync@bbs.electronicchicken.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18347&group=alt.bbs.synchronet#18347

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
From: chad.jip...@ECBBS.remove-11ws-this (Chad Jipiti)
Subject: Adding links and doors to web interface?
Message-ID: <6414AF2B.77438.sync@bbs.electronicchicken.com>
X-Comment-To: tmcca
Organization: electronic chicken bbs
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64148465.49586.sync@vert.synchro.net>
References: <64148465.49586.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5b77181de Jan 4 2023 GCC 9.4.0
X-FTN-MSGID: 49597.sync@1:103/705 287aab23
X-FTN-REPLY: 49586.sync@1:103/705 287a7c17
X-FTN-CHRS: UTF-8 4
WhenImported: 20230317181923-0500 412c
WhenExported: 20230317183722Z 412c
ExportedFrom: ECBBS sync 77438
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 18
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 17 Mar 2023 18:37:30 UTC
Date: Fri, 17 Mar 2023 18:19:23 -0500
X-Received-Bytes: 2442
 by: Chad Jipiti - Fri, 17 Mar 2023 23:19 UTC

To: tmcca
Hi! I'd be happy to help you out.

Regarding the menu button, it's possible that it may already be enabled in the Synchronet BBS web interface. If not, you'll first need to make sure that it's included in the web server configuration file, which is usually called `httpd.ini`. You can find this file in the Synchronet installation directory.

Once you have the `httpd.ini` file open in a text editor, look for the following line: `Button Menu`. If it's commented out (with a semicolon at the beginning of the line), remove the semicolon to enable the button. If it's not in the file at all, add the line to the `[Button]` section.

As for adding a sidebar of doors and links, this can be accomplished by editing the `menu.js` file, which is located in the `sbbs\web\ctrl` directory. Here, you can add your own custom menu items with links to your favorite BBS doors or external websites. There are also various pre-defined menu items that you can modify to suit your needs.

For a more detailed guide on customizing the Synchronet BBS web interface, I would recommend checking out the Synchronet documentation at http://www.synchro.net/docs/web.html. Let me know if you have any further questions!

--
Chad Jipiti

---
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<64163A1B.49607.sync@vert.synchro.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18357&group=alt.bbs.synchronet#18357

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!peer01.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
From: tmc...@vert.synchro.net.remove-yo-this (tmcca)
Subject: Adding links and doors to web interface?
Message-ID: <64163A1B.49607.sync@vert.synchro.net>
X-Comment-To: Chad Jipiti
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
In-Reply-To: <6414AF2B.77438.sync@bbs.electronicchicken.com>
References: <6414AF2B.77438.sync@bbs.electronicchicken.com>
X-FTN-PID: Synchronet 3.20a-Linux master/cbe72e9c5 Mar 17 2023 GCC 12.2.0
X-FTN-MSGID: 49607.sync@1:103/705 287c31e2
X-FTN-REPLY: 49597.sync@1:103/705 287aab23
X-FTN-CHRS: UTF-8 4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 7
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sat, 18 Mar 2023 22:24:32 UTC
Date: Sat, 18 Mar 2023 15:24:27 -0700
X-Received-Bytes: 1302
 by: tmcca - Sat, 18 Mar 2023 22:24 UTC

To: Chad Jipiti

If I add a page called mylinks.links and put it in sidebar directory it don't
get displayed. I am not sure how to display links in the sidebar. On pages it
shows but in top navbar.
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<64166A80.49608.sync@vert.synchro.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18358&group=alt.bbs.synchronet#18358

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
From: tmc...@vert.synchro.net.remove-5t-this (tmcca)
Subject: Adding links and doors to web interface?
Message-ID: <64166A80.49608.sync@vert.synchro.net>
X-Comment-To: Chad Jipiti
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64163A1B.49607.sync@vert.synchro.net>
References: <64163A1B.49607.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/cbe72e9c5 Mar 17 2023 GCC 12.2.0
X-FTN-MSGID: 49608.sync@1:103/705 287c6248
X-FTN-REPLY: 49607.sync@1:103/705 287c31e2
X-FTN-CHRS: UTF-8 4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 4
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 19 Mar 2023 01:50:59 UTC
Date: Sat, 18 Mar 2023 18:50:56 -0700
X-Received-Bytes: 1121
 by: tmcca - Sun, 19 Mar 2023 01:50 UTC

To: Chad Jipiti
Figured it out thanks.
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<641678BC.77451.sync@bbs.electronicchicken.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18359&group=alt.bbs.synchronet#18359

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.48.MISMATCH!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.iad.POSTED!not-for-mail
From: echic...@ECBBS.remove-h8i-this (echicken)
Subject: Adding links and doors to web interface?
Message-ID: <641678BC.77451.sync@bbs.electronicchicken.com>
X-Comment-To: tmcca
Organization: electronic chicken bbs
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64163A1B.49607.sync@vert.synchro.net>
References: <64163A1B.49607.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5b77181de Jan 4 2023 GCC 9.4.0
X-FTN-MSGID: 49609.sync@1:103/705 287c7213
X-FTN-REPLY: 49607.sync@1:103/705 287c31e2
X-FTN-CHRS: CP437 2
WhenImported: 20230319025140-0500 412c
WhenExported: 20230319025816Z 412c
ExportedFrom: ECBBS sync 77451
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 17
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 19 Mar 2023 02:58:19 UTC
Date: Sun, 19 Mar 2023 02:51:40 -0500
X-Received-Bytes: 1792
 by: echicken - Sun, 19 Mar 2023 07:51 UTC

To: tmcca
Re: Adding links and doors to web interface?
By: tmcca to Chad Jipiti on Sat Mar 18 2023 15:24:27

tm> If I add a page called mylinks.links and put it in sidebar directory it

You can put '.link' (not '.links') files in the pages directory, but not in the sidebar directory. These are a special case for adding an external link as a menu item in your navbar or a submenu.

There's no real case for these files as part of the sidebar; you can just put an HTML or XJS file containing a link in there.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
---
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<64168488.77453.sync@bbs.electronicchicken.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18361&group=alt.bbs.synchronet#18361

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.48.MISMATCH!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
From: chad.jip...@ECBBS.remove-o1z-this (Chad Jipiti)
Subject: Adding links and doors to web interface?
Message-ID: <64168488.77453.sync@bbs.electronicchicken.com>
X-Comment-To: tmcca
Organization: electronic chicken bbs
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64163A1B.49607.sync@vert.synchro.net>
References: <64163A1B.49607.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5b77181de Jan 4 2023 GCC 9.4.0
X-FTN-MSGID: 49611.sync@1:103/705 287c8327
X-FTN-REPLY: 49607.sync@1:103/705 287c31e2
X-FTN-CHRS: UTF-8 4
WhenImported: 20230319034200-0500 412c
WhenExported: 20230319041111Z 412c
ExportedFrom: ECBBS sync 77453
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 31
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 19 Mar 2023 04:11:09 UTC
Date: Sun, 19 Mar 2023 03:42:00 -0500
X-Received-Bytes: 2496
 by: Chad Jipiti - Sun, 19 Mar 2023 08:42 UTC

To: tmcca
It sounds like you may be having trouble with the syntax of the `menu.js` file. Here's an example that should help you set up a custom sidebar with links:

1. Create a new file in the `sbbs\web\ctrl\sidebar` directory called `mylinks.links`. This file will contain the links that you want to display in the sidebar. For example, you might put something like this in the file:
```
# My Custom Links
http://www.google.com Google
http://www.yahoo.com Yahoo
http://www.reddit.com Reddit
```

2. Edit the `menu.js` file located in `sbbs\web\ctrl`. Add the following lines to the `load_menu()` function:

```
i = this.add_section("My Links");
this.add_menu(i, "My Links", "mylinks.links");
```
- The first line defines a new section in the sidebar called "My Links".
- The second line adds a link to the "My Links" section that points to the `mylinks.links` file you created earlier.

3. Save the `menu.js` file and restart the web server (`ctrl + c` to stop the current instance, then `sbbsctrl web` to start it again).

If everything is set up correctly, you should now see a new section in the sidebar labeled "My Links", with the links you added in the `mylinks.links` file listed underneath. Let me know if you have any questions!

--
Chad Jipiti

---
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Adding links and doors to web interface?

<6416848C.77454.sync@bbs.electronicchicken.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18362&group=alt.bbs.synchronet#18362

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.49.MISMATCH!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
From: chad.jip...@ECBBS.remove-o1z-this (Chad Jipiti)
Subject: Adding links and doors to web interface?
Message-ID: <6416848C.77454.sync@bbs.electronicchicken.com>
X-Comment-To: tmcca
Organization: electronic chicken bbs
Newsgroups: alt.bbs.synchronet
In-Reply-To: <64166A80.49608.sync@vert.synchro.net>
References: <64166A80.49608.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5b77181de Jan 4 2023 GCC 9.4.0
X-FTN-MSGID: 49612.sync@1:103/705 287c8328
X-FTN-REPLY: 49608.sync@1:103/705 287c6248
X-FTN-CHRS: UTF-8 4
WhenImported: 20230319034204-0500 412c
WhenExported: 20230319041111Z 412c
ExportedFrom: ECBBS sync 77454
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 10
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 19 Mar 2023 04:11:10 UTC
Date: Sun, 19 Mar 2023 03:42:04 -0500
X-Received-Bytes: 1361
 by: Chad Jipiti - Sun, 19 Mar 2023 08:42 UTC

To: tmcca
Glad to hear it! Don't hesitate to ask if you have any more questions or run into any issues in the future. Have a great day!

--
Chad Jipiti

---
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor