Reviews, updates and in depth guides to your favourite mobile games -
Forum Home Latest Posts Search Help Subscribe


Page: 1 Reply
Mar 20th 2001#273 Report
Member since: Mar 20th 2001
Posts: 3
Does anyone have any help or clue as to how to do teh shout box found on and
If you go to thredz there is a file you can download. Its in his updates. Its in PHP form and don't know how to use it it

Any help?
Reply with Quote Reply
Mar 20th 2001#283 Report
Member since: Mar 18th 2001
Posts: 1690
this is how I plan to do mine. It's going to take a little knowledge of SSI and HTML.

go to and find a good guestbook that you like. Now take the guest book and edit the html so that it will fit into your layout the way you want. Dont edit the php itself, just the html for it. If there is no html for it, then you are golden, just make your html in your file that you will include with ssi.

after getting all of that together and having it edited to the way you want, comes the ssi or php include.

for SSI put this < ! - - #include file="path/to/guestbook.txt" - - > where ever you want the shout box to appear.
for php put this < ? include('path/to/guestbook.txt') ; ? > where ever you want the shoutbox to appear.

Then add a link somewhere on your site to add a comment and test it out. It should work.

Let me know what happens.

Reply with Quote Reply
Mar 20th 2001#290 Report
Member since: Mar 20th 2001
Posts: 3
Ok.....can you help with the code for the shout-box download that I recommended. i don't want a guestbook. Just a chat box on my main page. Download teh file and take a look at it. If you know PHP, which I don't, it shouldn't be that hard
Reply with Quote Reply
Mar 21st 2001#298 Report
Member since: Mar 18th 2001
Posts: 1690
k here goes.

you will have to use telnet to do this. Or do the chmoding from an ftp app, but still you will need to have telnet access to your webserver to execute some commands.

Modify the config.php file, located in /include/ to fit your needs, upload everything to a server where you have MySQL
and PHP support. Then do a "CREATE DATABASE whatever;" in your MySQL prompt and simply run create_table.php from your
server. Delete that file after use."

Below are the contents of config.php. Edit it as instructed.
< ? php
//the title of the page
$title="Shoutbox v2 PHP script created by sam\ - -";
--Don't take this out. Its credit. Nice to give credit.

// what you want the table to be called
--This is the name of the table that will be created inside your database once you run the 'create_table.php' file from a webbrowser. You get to pick this name.
// the servername
-- name of the server that hosts your database. ASK YOUR WEBSERVER ADMIN!

// database username
--This is the name of the account that has access to add,del and modify any tables and databases in mysql. ASK YOUR WEBSERVER ADMIN!

// database password
--This is the password that is associated with the mysql account mentioned above. again, ASK YOUR WEBSERVER ADMIN!

// database name
--When you create a database, you have to give it a name so that the scripts know how to access the tables within the database itself. Name it what you like just remember that name is casesensitive in mysql and must be the same in this file.
? >
End of the script

now, to create a database to load your tables into. Once you have a username and password for mysql, figure out what OS your webserver runs on. I am at a loss for doing this in MS-OS's because they have their own proprietary databases.

for unix however, at your command prompt type
$]whereis mysqladmin
Ignore the $] they only represent a prompt.
this command should return something like this:

$]whereis mysqladmin
mysqladmin: /usr/local/mysql/bin
If this command returns nothing but a mysqladmin: then mysql and mysqladmin is not in your path and you will have to ask your webserver admin what the path to it is.

It's pretty safe to assume its there so if it returns this value type,
$]/usr/local/mysql/bin/mysqladmin -u insertusernamehere create yourdatabasename -p
* -u is the username of your mysql account
* -p is the password associated with that account.

Now, your database has been created. Now to fill the database with your table information.

This is where the create_table.php file comes in. still at your prompt type :
cd include
then type:
chmod 755 config.php ; this will make it so the script can read the config.php file and get the info it needs to make the database.
then type:
chmod 777 *.php to allow users to write to the file.
then type:
exit to close your telnet session.

open a browser and go to the url, including the path to the create_table.php and run it. you will receive a message about "happy shouting" and the shoutbox has successfully installed.

email me at if you have any further questions. Also, if you look up top of the forum, you can print this out. So instead of following this on screen print it out to make it easier on you.
Reply with Quote Reply
Mar 21st 2001#337 Report
Member since: Mar 20th 2001
Posts: 3
Oh my fucking god I got in over my head. I cn't do this. I am not that good damn, I am so sorry. I thought it was easier than that...............fuck...this sucks
Reply with Quote Reply
Mar 21st 2001#341 Report
Member since: Mar 18th 2001
Posts: 1690
dude, relax. that is very easy to do. Like I said, print this out, and work through it. If you have any questions, you can email me. trust me, I did all of that from my head because there is no instructions in the readme. And if I can do it, anyone can.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum