toucan multimedia




Google


©2005 ToucanMultimedia.com

Documentation

WebPen
SmartForms
EditOnline
ContactUs
WebLines
MagicBlog

WebPen

SmartForms

  • Requirements -

    PHP 5 or higher

  • Installation -

    1. Upload the following files to your server in the same directory as the one containg the page where the form will be located (the files can be located in a different directory if the complete path to the files is specified):

      smartforms.php
      sender.php
      validation_client.js
      validation_server.php
      make_config.php
      config_types.html


      Make sure that the directory where these scripts are located is writable. This may require CHMOD of 773 on shared hosting. If you receive any type of "Permission Denied" error, there is probably a problem with this step.Consult with your server administrator if needed.

    2. Create your form. You can modify the form provided in smart_form.html to meet your needs, or cut and paste form field elements from that form to your own form, or you may create your own form from scratch, or you may add SmartForms to your existing form.

      In all cases, this line must be added between the <head></head> tags at the top of the page containing the form:
      <script src="validation_client.js" type="text/javascript"></script>
      For example:
      <head>
      <script src="validation_client.js" type="text/javascript"></script>
      </head>


      Additionally, the <form> tag of your form must contain the following attribute:
      onsubmit="return validate_submission(this)"
      For example:
      <form name="sample_form" action="sender.php" method="post" onsubmit="return validate_submission(this)">
      This attribute must be present in the form tag in order for the email sender function of SmartForms to operate, even if no fields are validated.


      The attribute id="show_errors" should be added to the HTML tag where you would like the error messages to be displayed. For example:
      <td id="show_errors" style="color:#FF0000;" align="center">
      The tag where you add id="show_errors"
      can be a <td>,<p>,<div> or other block level HTML tag anywhere on the page.


      If you wish to receive the form data by email, make the action of the form  sender.php  as in the following example:
      <form name="sample_form" action="sender.php" method="post" onsubmit="return validate_submission(this)">

    3. [OPTIONAL] It is recommended but not required, that you include the following code at the top of any PHP script other than sender.php that you use as the form action:
      <?php
      session_start();
      if ($_SESSION['validated'] != 1) {
      exit;
      } ?>

      If your script already has a session_start() tag, just include these lines immediately below it:
      if ($_SESSION['validated'] != 1) {
      exit;
      }


      The purpose of this is to provide additional protection against attempts by hackers to bypass the server side validation.

    4. Configure your form in the SmartForms control panel, at smartforms.php

      In Section I, add each field name for which validation is needed, and select the type of validation desired from the drop down list.

      In Section II , configure the email sender as desired. The only required configuration is the email address to receive the form data.

    EditOnline

    • Requirements -

      PHP 5+ with bundled GD library for full operation.

      PHP 4.3+ with GD library for limited operation (the Brightness, Contrast, and Blur functions will only work under PHP 5+).

      If your server is not currently running PHP 5, ask your hosting provider to install it. Most hosting providers are willing to do this.

    • Installation -

      Unzip the downloaded file. It contains a folder named "editonline" .
      Upload this folder along with its contents to a directory on your webserver and link to " editonline.php" which is one of the files in the folder.

      Make sure that two of the folders contained in the editonline  folder, "images" and "undo" have write permissions on your server (contact your server administrator if you do not know how to do this). Thats all there is to it!

    • Use -

      The upload of very large images such as those produced by high megapixel digital cameras may fail. This is due to the limits imposed by the PHP installation on your server. It may be necessary to contact your hosting provider and request that the default PHP settings be changed to allow for larger uploaded file sizes. Usually images of up to 2 megabytes can be uploaded without problem.

    CONTACTUS

    • Requirements -

      PHP 3+

    • Installation -

      Unzip the downloaded file and copy the "contactus.html" and " sender.php" files both to the same directory on your server. Link to "contactus.html". Add the receiving email address (your address) and a second receiving (cc) address (optional) at the top of the " sender.php" file. Customize the "Success" message at the top of this file also if desired. Customize "contactus.html" and the section of " sender.php" that displays the success message to match the appearance of your website using standard HTML and CSS techniques. That's all there is to it!

    • Use -

      In rare cases it may be necessary to ask your hosting provider or server administrator to enable PHP to send mail.

    WebLines

    Requirements:

    PHP 4 or higher.

    Installation:

    Unzip the downloaded file. Upload weblines.php (or trialweblines.php) to the same directory on your server as the page that will display the newsfeed. Change the extension of the web page where the news will appear to " .php " if it isn't already. Don't worry, this will not affect how the page displays, but you may need to change the hyperlinks that link to it. Add the following line of code to the page in the location in the HTML code where you want the newsfeed to display:

    <?php include "weblines.php"; ?>

    Note: By default, WebLines is set to display the RSS channel name and information, The item title, and the item description. It is configured to display all items in the RSS feed. It is likely that you will want to change some of these settings. This is very easy to do: Just open weblines.php using Notepad or another plain text editor. Look for instructions at the top of the page for how to change the settings. After you make the desired changes, save as type "All Files" as weblines.php then upload to your server. You will probably also want to customize the appearance of the RSS feed to match the appearance of your web page. Do this by creating CSS styles either in the same document or a separate stylesheet with the following names:

    .channelname
    .channeldescription
    .itemtitle
    .itemdescription

    To give you an example, the following style sheet and code is used to produce the news feed display on the home page of this website, including the nifty SCROLLBAR:

    These styles go in between the <head></head> tags or in a separate stylesheet.

    <style type="text/css">
    <!--
    .itemtitle {
    font-size: x-small;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    padding-left:6px;
    padding-right:7px;
    padding-top:5px;
    padding-bottom:7px;
    }
    .itemtitle a:link {
    color:#0000FF;
    }
    .itemtitle a:hover {
    color: #FF0000;
    }
    .itemtitle a:visited {
    color:#0000FF;
    }
    .itemdescription {
    font-size: x-small;
    }
    -->
    </style>

    This is the page code.

    <div align="right" style=" position:relative; left: 15px; overflow:auto; width:150px; height:280px; border:thin; border-color:#0000FF; border-style:ridge; background-color: #FFFF00; background-image:none; float:right; scrollbar-base-color: #0000FF; scrollbar-arrow-color: #FFF000; scrollbar-track-color: #FFF000" />
    <?php
    include "weblines/weblines.php";
    ?>
    </div>

    A SCROLLING DISPLAY can also be used. To make the newsfeed display scroll, you would encase it in marquee tags like this:

    <marquee height="220" width="225" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="2">
    <?php
    include "weblines/weblines.php";
    ?>
    </marquee>

    Be aware that some browsers do not support the <marquee> tag. In these browsers the display will be static.

    Magic Blog

    • Requirements -

      PHP 4.2 or higher
      Mysql 4 or higher

    • Installation -


      1. Unzip the magicblog.zip zipfile.

      2. Open the MagicBlog folder

      3. Open the file named "config.inc.php" with a plain text editor such as Notepad (do not use Word). Follow the instructions in the comments to configure each of the items including the Username and Password for your Mysql server, the administrator password, the number of posts allowed per user per session, the "number of posts exceeded" message, the number of characters allowed per post, the list of banned language, and URL for the "Webmaster" link. The username and password for Mysql may be the same as you use for FTP access to your server, or you may need to get them from your server administrator. Save the file with a php extension as "all files".

      4. Open the file named "createdb.php" with the text editor and configure the Mysql username and password in this file also.

      5. Modify the CSS styles in the HTML header tags near the top of "magicblog.php" as desired. Note
      that the "TEXTAREA bgcolor" must be the same as the "DIV bgcolor" to maintain the correct appearance of the blog. There is a tutorial on CSS here if you are unfamiliar with how to modify the CSS styles.

      6. Add graphics or change the text at the top of "magicblog.php" as desired. Make changes to the HTML of magicblog.php as desired, but be sure to keep a copy of the original in case the changes don't work properly.

      7. Upload the MagicBlog folder to the root directory of your server.

      8. Navigate to the file called "createdb.php" in the MagicBlog folder on your website. If you uploaded it to the root directory, you would probably access it using something like:
      yourwebsitesiteURL.com/MagicBlog/createdb.php This file will attempt to create the database for MagicBlog on your Mysql server.

      On many installations of Mysql, particularly those on shared hosting, this will not succeed, and you will see a failure message. In this case it will be necessary to create the database manually. There is a Mysql tutorial here that will explain how to do this. If the database you create is named anything other than "mb", be sure to configure the name of the database in " config.inc.php". The database table must be named "posts" and be structured as follows:

      Table structure for table `posts`

      CREATE TABLE posts (
      pnum int(11) NOT NULL auto_increment,
      post text,
      `date` timestamp NOT NULL,
      PRIMARY KEY (pnum)
      ) ;

      Your server administrator or hosting provider should be willing to create this database and table for you or help you do it.

      9. Link to Magic Blog using the URL relative to your root directory of MagicBlog/magicblog.php.

      10. If you want to change the name of magicblog.php to something else, it is necessary to change the filename in line 22 of adminlogin.php.

      11. If you wish to change the minimum number of words required in a post from the default of 5, change the number in line 18 of addpost.php to 1 less than the desired minimum number.

      Test the Magic Blog. If there are any problems, do not hesitate to contact Toucan Multimedia Support

    • Use -

      To submit a post, click anywhere outside of the text entry area, or close the page. To delete a post, log in with your administrator passsword, then click on the red X at the top of the post .

    Privacy Policy: Our Commitment To Privacy Your privacy is important to us. To better protect your privacy we provide this notice explaining our online information practices and the choices you can make about the way your information is collected and used. To make this notice easy to find, we make it available on our homepage and at every point where personally identifiable information may be requested. We do not collect any customer information. Please see our payment processor's Privacy Policy concerning collected information.