Blame | Last modification | View Log | Download
/*******************************************************************************
Shout It!
Creator : Tim Lovett
Website : www.alphibia.com
E-Mail : tcljokerman@yahoo.com
Requirements: PHP and MySQL
Terms of Use:
This script is free. You're free to make alterations to the code as long as you
leave anything that I mention you shouldn't remove. Such as this note... If you
plan on redistributing this package, you must keep this file and the whole zip
intact...
No selling this.
If you are a commercial company and you plan on using this, aka not personal site,
just contact me. I'll with little doubt let you use it, I'm not a mean guy, I just
like knowing where it is. :-)
Don't E-Mail me questions, use www.weborum.com to post any questions regarding
the script.
Thanks to the guys over at www.weborum.com as well for getting me motivated
enough to write this.
This software is as is...
It won't hurt your computer but if it does, I'm not responsible.
Just saying that to cover myself. :)
Thanks.
"Rome wasn't built in a day, this script was however." :-)
********************************************************************************/
\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\ Setup //\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//
Use the folder system from the zip... All files, besides this one, ShoutLogin.php, and smilies,
should go in a folder named ShoutBoxFiles... The smilies go in the smilies folder...
To access your shoutbox, on your page, place the following where you want it...
<?php include 'ShoutBoxFiles/ShoutBox.php'; ?>
To get the CSS to work, you must link to the CSS file on the page you plan on opening
the shoutbox on... To do this, in your <head></head> section of your page type this...
<link href="ShoutBoxFiles/shout.css" rel="stylesheet" type="text/css" />
You MUST go into ShoutBoxFiles/shoutoptions.php and set your database information
and upload before the script will work!
Then open ShoutLogin.php and it will setup the tables and guide you through making
a login name/password.
In the event you lose your name and password, open up PHPMyAdmin and delete the
admin row. It will then revert back to setting up a new password for you.
If you do create some styles feel free to send me them and I'll post your name,
your site, and a picture of how it looks on my page for people to download.
(Free traffic. :-D)
$$#$#$#$#$#$#$#shoutoptions.php#$#$#$#$#$#$$
It's pretty well commented but that's where you go to configure the details.
The swears list has some swears the system will catch. You're free to add some
but I assume you know the word assume will have its first three letters
messed up. It catches them like that... It's a good thing usually...
//To add swears open up your swears.txt in your ShoutBoxFiles folder\\
NameOfSwear <--- That's the format to add swears
NameOfSwear One per line.
//To add colors open up your colors.txt in your ShoutBoxFiles folder\\
blue | blue <--- That's the format to add colors
white | #FFF Color Text Name '|' then the hex or color
//To add smilies open up your smilies.txt in your ShoutBoxFiles folder\\
:-) | smile.gif <--- That's the format to add colors
;-) | wink.gif Smilie code '\|/' address of smilie in smilie folder
#####Note:#####
Smilies folder is default '/smilies/' but you're free to change it...
If you want your smilies folder within your shoutbox just go to the shoutoptions.php
And switch it to '/ShoutBoxFiles/smilies/'.
The current smilies were taken from the open directory
found at http://members.shaw.ca/wenpigsfly/smileys/index.htm
Only a few of them were created by me, no term of use was listed
upon the page so I'm assuming they can be used without worrying about it.
If you're an artist who created one of those images and do not wish for it
to be included, please email me and, after I confirm it with the fellows at
wenpigsfly, I'll remove your smiley from the package.
Have fun with your shoutbox! :-)
SPECIAL THANKS
<------------------------------------>
Joe http://www.joe2kiss.btinternet.co.uk/v2/index.html
(For finding all the bugs I let in :-X)
Bassrek http://www.sturek.net/
(Great help with databasing)
Leo http://www.weborum.com http://www.whatcounter.com
(Well I uploaded the betas over there. So Thanks Leo!)
Josh http://www.joshmccrain.com/
(Josh came up with some good ideas)