| Home | | | Downloads | | | Software Mart | | | About RSS | | | RSS Maker | | | About AJAX | | | Support |
WebPen
EditOnline
ContactUS
WebLines
MagicBlog
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
.itemdescriptionTo 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.
Note:
Toucan Multimedia offers free installation of this software. To request the free installation service, contact support@toucanmultimedia.com. It will be necessary to provide support the FTP and Mysql logins to your server. Allow a week for free installation.
Self 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
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.
| Home | | | Downloads | | | Software Mart | | | About RSS | | | RSS Maker | | | About AJAX | | | Support |