Multi-Page Layout with Admin for Matt's WWWBoard

Description:

Problem:

1) WWWBoard Admin gets huge especially at very busy sites.  The admin scripts locks up the browser and it makes it impossible to edit the board after you have 5000+ messages.

2) After editing you had to wait for a new message to be posted to confirm the changes.

 

Solution: Create an interface where you can simply enter the page number and it will do the deleting and now the system refresh the multipage board so you see the changes right away.

 



Cost:

  1. Free Trial for 60 days (Personal and Business)
  2. Personal $10 (Item Name: PADMINMB)
  3. Business $25 (Item Name: BADMINMB)

visa.gif (1329 bytes)mastercard.gif (1451 bytes)amex.gif (2421 bytes)discover.gif (945 bytes)
We Accept: Visa, MC, American Express and Discover

Order Form: Secure Order Form

 

Test Area

 

Visit our MultiPage Bulletin Board only for basic postings.

Installation:

To make it easier. I'm starting from the point of completing the installation of multipage bulletin board. (Visit Here first if you haven't)

Change the WWWboard Directories Permissions to 777. This directory must be chmoded 777 so that multiple pages can be
written into it by the server's UID.

Multi-Page with admin Version Downloads: (WWWboard with Add -on ADDED)

Involves editing multipageboard.pl files.

First on the file multipageboard.html

Find:
# Get the Data Number
&get_number;

# Get Form Information
&parse_form;


# Put items into nice variables
&get_variables;


# Open the new file and write information to it.
&new_file;

# Open the Main WWWBoard File to add link
&main_page;

# Now Add Thread to Individual Pages
if ($num_followups >= 1) {
&thread_pages;
}

# Create on the fly Main WWWBoard File
if($use_proboard)
{

&on_the_fly_main_page;
}

# Return the user HTML
if($use_proboard)
{
&return_proboad;
}
else
{
&return_html;
}
# Increment Number
&increment_num;

Replace with:

###########################################################################
## New for Admin Script
if($admin)
{
&on_the_fly_main_page;
}
else
{

# Get the Data Number
&get_number;

# Get Form Information
&parse_form;


# Put items into nice variables
&get_variables;


# Open the new file and write information to it.
&new_file;

# Open the Main WWWBoard File to add link
&main_page;

# Now Add Thread to Individual Pages
if ($num_followups >= 1) {
&thread_pages;
}

# Create on the fly Main WWWBoard File
if($use_proboard)
{

&on_the_fly_main_page;
}

# Return the user HTML
if($use_proboard)
{
&return_proboad;
}
else
{
&return_html;
}
# Increment Number
&increment_num;

 

}

Text Version: AddAdmin1.txt

Secondly on multiboardadmin.pl

Simply Configure It.

###################################################
### Update Multi-Page Bulletin Boards Also When Done
$basedir = "/<Your Path>/wwwboard";
$baseurl = "http://<Your Website>/wwwboard";
$cgi_url_admin = "http://<Your Website>/cgi-bin/multipageboardadmin.pl";
$cgi_board_name = "multipageboard.pl"; # the name of the main perl script
$password = 'admin';


$datafile = "data.txt";
$mesgfile = "baseboard.html";

Text Version: AddAdmin2.txt

 

Directions to run:

If you would like to delete the message located at:

  1. Find the file to be delete on the message board, click on it to get the message number
  2. Example: http://www.vaultworld.com/cgi-scripts/testboard/messages/12.html
  3. The message number is 12 for the able example.
  4. Go to the admin program
  5. Enter # into Message Number
  6. Select Thread or Single
  7. Enter Correct Password
  8. If run correctly you should see:
    The following messages have been removed unless and error is shown below :
    /home/web/smiller/vaultworld.com/htdocs/cgi-scripts/testboardadmin/messages/15.html
  9. The file should be removed:
    Not Found
    The requested URL /cgi-scripts/testboardadmin/messages/15.html was not found on this server.
  10. The multipage should show the message deleted without posting a new message.

 

 

Return to Index Add On Page