Sub Menu
Links Menu
Online Users

In total there are 321 users online :: 3 registered, 0 hidden and 318 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

How To Add Ajax Chat (includes adding as shoutbox)

Mods etc.

Moderator: Integra Moderator

How To Add Ajax Chat (includes adding as shoutbox)

PostAuthor: .QUACK.Major.Pain » Fri May 29, 2009 4:53 pm

Ok, wasn't so hard. Took a little playing with, but got it working great.

Demo:

(Portal page) http://bindepot.net/forum/portal.php
(Forum page) http://bindepot.net/forum/index.php

This chat automatically logs you in with your forum name.

[size=99px]yoursite.com[/i]/forum/chat/install.php"
4. Delete the install file.
5. Open and edit the file "/chat/lib/config.php"

Find:

// Database username:
$config['dbConnection']['user'] = null;
// Database password:
$config['dbConnection']['pass'] = null;
// Database name:
$config['dbConnection']['name'] = null;

Edit:

Replace all the above "null" values with your database username, database password & database name

Save & Close

6. Open url "http://www.yoursite.com/forum/chat/index.php"
7. Welcome to your chat!!!!!!

Note: You can edit your "chat/lib/config.php" and adjust your setting as you see fit.
Myself, I turned off the nickname change feature.

[size=99px]yoursite.com[/i]/forum/chat/" scrolling="NO" width="100%" height="500" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>

Save & Close

2. (For portal page) Goto ACP>IM Portal>Blocks Management>Home Page(or whatever you called it)
Disable the existing Shoutbox
Create a new block and name it whatever you want.
Set it to "center"
Add the following line:

<iframe></iframe>

Turn on borders and such if you use any of the options.
Save/Submit


That's about it.

Enjoy.....

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Return to IntegraMOD Modifications

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron