6 |
kaklik |
1 |
/*******************************************************************************
|
|
|
2 |
Shout It!
|
|
|
3 |
Creator : Tim Lovett
|
|
|
4 |
Website : www.alphibia.com
|
|
|
5 |
E-Mail : tcljokerman@yahoo.com
|
|
|
6 |
|
|
|
7 |
Requirements: PHP and MySQL
|
|
|
8 |
|
|
|
9 |
Terms of Use:
|
|
|
10 |
This script is free. You're free to make alterations to the code as long as you
|
|
|
11 |
leave anything that I mention you shouldn't remove. Such as this note... If you
|
|
|
12 |
plan on redistributing this package, you must keep this file and the whole zip
|
|
|
13 |
intact...
|
|
|
14 |
|
|
|
15 |
No selling this.
|
|
|
16 |
|
|
|
17 |
If you are a commercial company and you plan on using this, aka not personal site,
|
|
|
18 |
just contact me. I'll with little doubt let you use it, I'm not a mean guy, I just
|
|
|
19 |
like knowing where it is. :-)
|
|
|
20 |
|
|
|
21 |
Don't E-Mail me questions, use www.weborum.com to post any questions regarding
|
|
|
22 |
the script.
|
|
|
23 |
|
|
|
24 |
Thanks to the guys over at www.weborum.com as well for getting me motivated
|
|
|
25 |
enough to write this.
|
|
|
26 |
|
|
|
27 |
This software is as is...
|
|
|
28 |
It won't hurt your computer but if it does, I'm not responsible.
|
|
|
29 |
Just saying that to cover myself. :)
|
|
|
30 |
Thanks.
|
|
|
31 |
|
|
|
32 |
"Rome wasn't built in a day, this script was however." :-)
|
|
|
33 |
********************************************************************************/
|
|
|
34 |
|
|
|
35 |
\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\ Setup //\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//
|
|
|
36 |
Use the folder system from the zip... All files, besides this one, ShoutLogin.php, and smilies,
|
|
|
37 |
should go in a folder named ShoutBoxFiles... The smilies go in the smilies folder...
|
|
|
38 |
|
|
|
39 |
To access your shoutbox, on your page, place the following where you want it...
|
|
|
40 |
|
|
|
41 |
<?php include 'ShoutBoxFiles/ShoutBox.php'; ?>
|
|
|
42 |
|
|
|
43 |
To get the CSS to work, you must link to the CSS file on the page you plan on opening
|
|
|
44 |
the shoutbox on... To do this, in your <head></head> section of your page type this...
|
|
|
45 |
|
|
|
46 |
<link href="ShoutBoxFiles/shout.css" rel="stylesheet" type="text/css" />
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
You MUST go into ShoutBoxFiles/shoutoptions.php and set your database information
|
|
|
50 |
and upload before the script will work!
|
|
|
51 |
|
|
|
52 |
Then open ShoutLogin.php and it will setup the tables and guide you through making
|
|
|
53 |
a login name/password.
|
|
|
54 |
|
|
|
55 |
In the event you lose your name and password, open up PHPMyAdmin and delete the
|
|
|
56 |
admin row. It will then revert back to setting up a new password for you.
|
|
|
57 |
|
|
|
58 |
If you do create some styles feel free to send me them and I'll post your name,
|
|
|
59 |
your site, and a picture of how it looks on my page for people to download.
|
|
|
60 |
(Free traffic. :-D)
|
|
|
61 |
|
|
|
62 |
$$#$#$#$#$#$#$#shoutoptions.php#$#$#$#$#$#$$
|
|
|
63 |
It's pretty well commented but that's where you go to configure the details.
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
The swears list has some swears the system will catch. You're free to add some
|
|
|
67 |
but I assume you know the word assume will have its first three letters
|
|
|
68 |
messed up. It catches them like that... It's a good thing usually...
|
|
|
69 |
|
|
|
70 |
//To add swears open up your swears.txt in your ShoutBoxFiles folder\\
|
|
|
71 |
NameOfSwear <--- That's the format to add swears
|
|
|
72 |
NameOfSwear One per line.
|
|
|
73 |
|
|
|
74 |
//To add colors open up your colors.txt in your ShoutBoxFiles folder\\
|
|
|
75 |
blue | blue <--- That's the format to add colors
|
|
|
76 |
white | #FFF Color Text Name '|' then the hex or color
|
|
|
77 |
|
|
|
78 |
//To add smilies open up your smilies.txt in your ShoutBoxFiles folder\\
|
|
|
79 |
:-) | smile.gif <--- That's the format to add colors
|
|
|
80 |
;-) | wink.gif Smilie code '\|/' address of smilie in smilie folder
|
|
|
81 |
|
|
|
82 |
#####Note:#####
|
|
|
83 |
Smilies folder is default '/smilies/' but you're free to change it...
|
|
|
84 |
If you want your smilies folder within your shoutbox just go to the shoutoptions.php
|
|
|
85 |
And switch it to '/ShoutBoxFiles/smilies/'.
|
|
|
86 |
|
|
|
87 |
The current smilies were taken from the open directory
|
|
|
88 |
found at http://members.shaw.ca/wenpigsfly/smileys/index.htm
|
|
|
89 |
Only a few of them were created by me, no term of use was listed
|
|
|
90 |
upon the page so I'm assuming they can be used without worrying about it.
|
|
|
91 |
If you're an artist who created one of those images and do not wish for it
|
|
|
92 |
to be included, please email me and, after I confirm it with the fellows at
|
|
|
93 |
wenpigsfly, I'll remove your smiley from the package.
|
|
|
94 |
|
|
|
95 |
Have fun with your shoutbox! :-)
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
SPECIAL THANKS
|
|
|
99 |
<------------------------------------>
|
|
|
100 |
Joe http://www.joe2kiss.btinternet.co.uk/v2/index.html
|
|
|
101 |
(For finding all the bugs I let in :-X)
|
|
|
102 |
Bassrek http://www.sturek.net/
|
|
|
103 |
(Great help with databasing)
|
|
|
104 |
Leo http://www.weborum.com http://www.whatcounter.com
|
|
|
105 |
(Well I uploaded the betas over there. So Thanks Leo!)
|
|
|
106 |
Josh http://www.joshmccrain.com/
|
|
|
107 |
(Josh came up with some good ideas)
|