You can add extra HTML code at the bottom of either the main display page (bb.html) or the condensed display (bb2.html). This content will be added at the bottom of the page, just above the footer. To do so:
|
1. |
Create a script in the $BBHOME/ext/mkbb directory. This script should generate the HTML code you want to add to the page. |
|
2. |
In etc/bbdef-server.sh, add the name of the script to the BBMKBBEXT variable for output on the bb.html page or to the BBMKBB2EXT variable for output in bb2.html. You can include more than one script for either page, and the same script for both pages, if desired. |
There's a sample script in $BBHOME/ext/mkbb/eventlog.sh that displays the last global events in a table.
Tip. Make sure the scripts are only writable by the owner to prevent someone from executing malicious code.