dudeking
March 26th, 2006, 03:43 PM
http://www.php121.com/
I need to put this on my site but have not much of a clue how to install it:D
These are the install instructions
I dont know what a MySQL database is.
PHP121: PHP Instant Messenger (standalone release)
=============================
** These are the installion instructions for fresh installs. **
** If you are
updating from a previous release, please read the UPDATE file **
Base Requirements
-----------------
In order to use PHP121 Standalone Release, make sure your
system or host meets the following:
- A Linux or Windows Box installed and working properly.
- Apache Web Server (http://www.apache.org)
- PHP version 4.2.x or
better (mod_php) Apache module (http://www.php.net)
- MySQL database server (http://www.mysql.com)
Setup of these required packages is beyond the scope of this
document
and if you are unsure you should check with each of the appropriate web
sites for further details.
Installing the Package (10 steps)
------------------
---------------
1.
Untar/unzip the package
2.
Copy the contents (including the subdirectories) of php121/ to the desired directory on your webserver (e.g. /home/paul/www/php121/)
3.
Import the contents of sql/php121.sql into your MySQL database. Phpmyadmin is recommended, but you can also 'source' it using the MySQL console.
4.
Edit php121config.php in the php121 directory of your webserver. Change all the variables to match your database configuration. If you don't know any of
these variables, contact your hosting provider or support department.
5.
IMPORTANT: On the page you want to link to PHP121, put this in the <HEAD> section:
<script type="text/javascript">
var newwindow;
function poptastic(url){
newwindow=window.open
(url,'name','height=500,width=200,left=20,top=20,t oolbar=no,menubar=no,directories=no,location=no,sc rollbars=yes,status=no,resizable=yes,fullscreen=no ');
if
(window.focus) {newwindow.focus()}
}
</SCRIPT>
6.
Link to php121im.php on your site. Use code similar to the following to create a nice contact-list sized window:
<a href="javascript:poptastic
('php121im.php');">Instant Messenger</a>
7.
Delete index.php in the php121 directory as this is just a sample to show you how to link to php121 from your site.
8.
Create a user account by browsing to the PHP121 index.php file in your browser. The first user to sign up will be given OWNER priviledges. OWNERs can give
users ADMIN priviledges. ADMINs cannot edit or delete OWNERs and they cannot give ADMIN priviledges to other users. In the "Who's online" section, OWNERs
are red, ADMINs are green, and USERs are blue.
9.
Go to http://www.php121.com/donate.php to donate what you think is a fair amount for PHP121. Commerical programs that do the same thing retail for $99 or
more!
10.
Install completed!
If you get stuck, confused, or don't even know how to start installing PHP121, please go to http://www.php121.com and use the FORUMS to ask
your question.
You can download smilie PAKs from the PHP121 website.
Making PHP121 use an existing user table
----------------------------------------
If you
want to use an existing user table with usernames, passwords, and other information, then follow these steps in addition to those above:
1. Edit
sql/alter_existing_usertable.sql and change the name of the user table on the first line of code.
For example: Your user table is called
"my_big_user_table", then you want to change:
ALTER TABLE `users` ADD `php_user_chatting` INT( 11 ) DEFAULT '0' NOT NULL ,
to:
ALTER
TABLE `my_big_user_table` ADD `php_user_chatting` INT( 11 ) DEFAULT '0' NOT NULL ,
2. Import the contents of the new sql/alter_existing_usertable.sql into
your MySQL database.
3. Edit php121config.php and alter the settings to match your database. For example, one of the things you will need to change is
$dbf_username to match the name of your username field in your user table.
4. Decide which username to give OWNER priviledges to. Edit this user's database
record and change their php121_level to 3
5. Integration completed.
*************************************
* PHP121 URL: http://www.php121.com *
*************************************
Cheers!
-- Paul Synnott
Any help would be apprecated:D
I need to put this on my site but have not much of a clue how to install it:D
These are the install instructions
I dont know what a MySQL database is.
PHP121: PHP Instant Messenger (standalone release)
=============================
** These are the installion instructions for fresh installs. **
** If you are
updating from a previous release, please read the UPDATE file **
Base Requirements
-----------------
In order to use PHP121 Standalone Release, make sure your
system or host meets the following:
- A Linux or Windows Box installed and working properly.
- Apache Web Server (http://www.apache.org)
- PHP version 4.2.x or
better (mod_php) Apache module (http://www.php.net)
- MySQL database server (http://www.mysql.com)
Setup of these required packages is beyond the scope of this
document
and if you are unsure you should check with each of the appropriate web
sites for further details.
Installing the Package (10 steps)
------------------
---------------
1.
Untar/unzip the package
2.
Copy the contents (including the subdirectories) of php121/ to the desired directory on your webserver (e.g. /home/paul/www/php121/)
3.
Import the contents of sql/php121.sql into your MySQL database. Phpmyadmin is recommended, but you can also 'source' it using the MySQL console.
4.
Edit php121config.php in the php121 directory of your webserver. Change all the variables to match your database configuration. If you don't know any of
these variables, contact your hosting provider or support department.
5.
IMPORTANT: On the page you want to link to PHP121, put this in the <HEAD> section:
<script type="text/javascript">
var newwindow;
function poptastic(url){
newwindow=window.open
(url,'name','height=500,width=200,left=20,top=20,t oolbar=no,menubar=no,directories=no,location=no,sc rollbars=yes,status=no,resizable=yes,fullscreen=no ');
if
(window.focus) {newwindow.focus()}
}
</SCRIPT>
6.
Link to php121im.php on your site. Use code similar to the following to create a nice contact-list sized window:
<a href="javascript:poptastic
('php121im.php');">Instant Messenger</a>
7.
Delete index.php in the php121 directory as this is just a sample to show you how to link to php121 from your site.
8.
Create a user account by browsing to the PHP121 index.php file in your browser. The first user to sign up will be given OWNER priviledges. OWNERs can give
users ADMIN priviledges. ADMINs cannot edit or delete OWNERs and they cannot give ADMIN priviledges to other users. In the "Who's online" section, OWNERs
are red, ADMINs are green, and USERs are blue.
9.
Go to http://www.php121.com/donate.php to donate what you think is a fair amount for PHP121. Commerical programs that do the same thing retail for $99 or
more!
10.
Install completed!
If you get stuck, confused, or don't even know how to start installing PHP121, please go to http://www.php121.com and use the FORUMS to ask
your question.
You can download smilie PAKs from the PHP121 website.
Making PHP121 use an existing user table
----------------------------------------
If you
want to use an existing user table with usernames, passwords, and other information, then follow these steps in addition to those above:
1. Edit
sql/alter_existing_usertable.sql and change the name of the user table on the first line of code.
For example: Your user table is called
"my_big_user_table", then you want to change:
ALTER TABLE `users` ADD `php_user_chatting` INT( 11 ) DEFAULT '0' NOT NULL ,
to:
ALTER
TABLE `my_big_user_table` ADD `php_user_chatting` INT( 11 ) DEFAULT '0' NOT NULL ,
2. Import the contents of the new sql/alter_existing_usertable.sql into
your MySQL database.
3. Edit php121config.php and alter the settings to match your database. For example, one of the things you will need to change is
$dbf_username to match the name of your username field in your user table.
4. Decide which username to give OWNER priviledges to. Edit this user's database
record and change their php121_level to 3
5. Integration completed.
*************************************
* PHP121 URL: http://www.php121.com *
*************************************
Cheers!
-- Paul Synnott
Any help would be apprecated:D