nerimb3.cgi

Top Japanese Page

Functionalities
    High function Message Board
  • Image file upload (can be disabled)
  • All message logs are saved
  • Reply functoin
  • Unread display
  • Search function
  • Title list function
  • Light mode for Mobile browser
  • Posted message statistics
  • Message archive download
  • Delete function
  • Modify function
  • Auto link from http://
  • Auto link to another message by (#1234) or Message#1234
  • URL link extraction
  • Perticular message display
  • Style sheet setting
  • Insert sentences into <HEAD>
  • Easy setup by admin setup page
  • SSI preview mode
  • Invoked as SSI mode if script name is mbssi.cgi
  • Invoked as mobile mode if script name is mbiread.cgi
  • Provided Admin utility
  • Member only mode
  • Tag can be used
  • User can change colors of name, subject or contents
  • There is an upgread version Message board 4
Installation
  1. The package of Perl, GD needs to be installed on your server.
  2. Put nerimb3.cgi and cgi-lib.pl into a CGI executable and writable directory
  3. If necessary, create a writable directory to store data files. The data files can be stored in the same directory as where the CGI is located.
  4. Modify the Perl path of the first line of the nerimb3.cgi to match your server environment.
  5. Modify permission of nerimb3.cgi properly.
  6. Open nerimb3.cgi in your browser. Then it will ask admin password. Please set it here.
  7. Once set the password, Click the "admin setup" link and set the CGI environement.
  8. Now you can use it as a Message Board.
SSI Preview mode
    nerimb3.cgi display first *lt;line> line by putting it as a SSI in a shtml file as follows.

    <!--#include virtual="nerimb3.cgi?mode=ssi&line=10" -->

    In this example, it displays first 10 lines.
    This can be used as a preview in your top page.
    SSI mode sample

    If you use this script as mbssi.cgi(either copy or symbolic link), it is automatically invokeed as the SSI mode.
    If your server does not support include, you may be able to use exec.
    Example : <!--#exec cgi="mbssi.cgi" -->

Light mode for mobile device
    Next URL allows to display minimum message for mobile mode.
    Example : nerimb3.cgi?mode=iread
    Mobile mode sample

    If you invoke it as mbiread.cgi(either copy or symbolic link), it is automatically invoked as a mobile mode.
    It is easy to enter in a mobile device due to a short script name.
    Example : mbiread.cgi

Special usage
    Particular messages can be displayed by a directo link with <a href> as follows.
  • nerimb3.cgi?mode=print&message=<number>
    displays Message# <number>
    <number> can be specified multiple numbers by separating with hyphen or comma.
    Hyphen indicates a range, comma is a separator.
    Example : nerimb3.cgi?mode=print&message=12,15,24,20-22,8-5
    displays Message#5,6,7,8,12,15,20,21,22,24
  • nerimb3.cgi?mode=print&message=<number>&title=on
    displays the titles of Message# <number>
    <number> can be specified multiple numbers by separating with hyphen or comma.
    Hyphen indicates a range, comma is a separator.
    Example : nerimb3.cgi?mode=print&message=12,15,24,20-22,8-5&title=on
    displays the titles of Message#5,6,7,8,12,15,20,21,22,24.
Auto link
  • http:// in the message will be linked automatically.
  • (#1234) will be automatically linked to the Message number 1234.
  • Message#1234 will be automatically linked to the Message number 1234.
Security
    The permission of the updated image files are automatically modified to 0666. However, any files can be uploaded by anyone. To have tight security, it is recommended to have an image upload directory which is different than cgi execution directory and the directory where the files will be stored should not be a CGI executable by server setting.

Sample and Source
    Sample(ja) Sample of setup page(ja)
    nerimb3.cgi cgi-lib.pl bar.gif

Revision history

  • 1/23/06 : 3.128 : Added handling when non-image file is uploaded.
  • 1/7/06 : 3.127 : Modified image processing
  • 12/11/05 : 3.126 : Modified so that links in the message listed in rejectlink.dat
  • 11/6/05 : 3.125 : Fixed user title color of the past log no-save mdoe
  • 10/29/05 : 3.124 : Added the option of past log save/no-save, SSI mode display message number setting, SSI mode image display setting and image list mode.
  • 10/6/05 : 3.123 : Fixed typo
  • 10/3/05 : 3.122 : Fixed a bug in dellog off mode
  • 10/1/05 : 3.121 : Added link to Copyright
  • 9/16/05 : 3.120 : Deleted member password from modify page
  • 9/14/05 : 3.119 : Deleted jcode.pl. Fixed <body>insert
  • 7/25/05 : 3.118 : Added charset in search result page
  • 6/19/05 : 3.117 : Deleted Unread select in the archive page. Added style_sheet and head insert in archive result.
  • 6/3/05 : 3.116 : Added dellog save option. Added image optoin in mobile mode
  • 5/9/05 : 3.115 : Fixed Javascript of stat page
  • 5/1/05 : 3.114 : Fixed color issue in IE
  • 4/30/05 : 3.113 : Modified so that color can be changed by user. Added more auto-link options.
  • 4/28/05 : 3.112 : Modified font tag in message. Modified &lt;&gt; while tag is enabled.
  • 4/27/05 : 3.111 : Modified tag conversion. Added comment insert in the above of the page. and so on.
  • 4/25/05 : 3.110 : Added member only password. Added tag enable disable option.
  • 4/9/05 : 3.109 : Modified password check of mode=backup
  • 3/12/05 : 3.108 : Added back link in mobile mode
  • 3/10/05 : 3.107 : Modified corrupted title in Netscape
  • 2/28/05 : 3.106 : Added utility option in setup
  • 2/21/05 : 3.105 : Fixed password mismatch in setup
  • 2/10/05 : 3.104 : Fixed compatible mode in before 200
  • 2/8/05 : 3.103 : Commented out CGI::Carp
  • 2/7/05 : 3.102 : Added a space after Location: for AnHTTPD
  • 2/6/05 : 3.101 : Added CGI::Carp. Deleted <b> in $subject. Fixed HTML in archive result.
  • 1/30/05 : 3.100 : Added mbssi.cgi and mbiread.cgi.
  • 1/23/05 : 3.099 : Deleted () of Message#xxx auto-link
  • 1/19/05 : 3.098 : Deleted $mbdir checker
  • 1/15/05 : 3.097 : Modified default value of $mbdir
  • 11/25/04 : 3.096 : Deleted + to space conversion
  • 8/4/04 : 3.095 : Added SSI mode
  • 6/23/04 : 3.094 : Modified name of Summary to Stat. Added search range.
  • 6/16/04 : 3.093 : Fixed a bug in mbpast
  • 6/6/04 : 3.092 : Added an option to modify reply color
  • 4/25/04 : 3.091 : Added notes in write/reply/modify page
  • 3/11/04 : 3.08 : Added style_sheet in summary result page
  • 3/7/04 : 3.07 : Fixed mode=delete
  • 2/16/04 : 3.06 : Added no display mode of email address
  • 2/4/04 : 3.05 : Added design change option
  • 1/13/04 : 3.04 : Added mode=print
  • 1/11/04 : 3.031 : Fixed character size in before 200
  • 12/10/03 : 3.03 : Added style_sheet and head insert
  • 9/9/03 : 3.02 : Fixed escape search
  • 8/28/03 : 3.01 : Added copyright in mbpast
  • 8/16/03 : 3.0 : Up greated from 2.1 with added image upload function

mbutil.pl

Functionalities

  • Delect dead links in the messages and added message numbers into the rejectlink.dat automatically.
  • Create bar.gif which is used in stat.
  • Only can admin execute.
Explanation
  • This scirpt is not required to run nerimb3.cgi. Sololy executed.
  • mbutil.pl ueses the setup file of nerimb3.cgi.
  • Perl modules LWP::UserAgent, GD, CGI::Carp have to be installed.
  • This was not included in nerimb3.cgi in default because the above modules are necessary. Some of server might be not installed them in default and I did not want to restrict running nerimb3.cgi because of this script.
Installatoin
  1. At this moment, assuming nerimb3.cgi is working
  2. LWP::UserAgent, GD and CGI::Carp have to be installed in your server
  3. Modify the perl path of the first line of mbutil.pl properly
  4. Put mbutil.pl into the same directory where nerimb3.cgi is placed
  5. Modify permission of the mbutil.pl properly
  6. Execute mbutil.pl on your browser
  7. If nerimb3.cgi is working, mbutil.pl works at this point.
  8. If necessary, invoke nerimb3.cgi and click the setup link. Then modify "utility" to "enable". Then when you click setup of nerimb3.cgi, it showsn an option to invoke mbutil.pl
Sample and Source
Revision history
  • 7/25/05 : 1.001 : Added autoflush
  • 2/28/05 : 1.0 : Crated