Modification Name: MySpace/Facebook Style AJAX Chat
Modification Description: Simply a MySpace/Facebook Style AJAX Chat.
Modification Version:: 1.0.0
- Stays open and in-session through browsing and browser refreshes
- Chat History (SQL Database)
- Input Sanitized
- Session browsing
- Permissions for users/groups (Thanks to mtrs)
- Admin Controls
- Ability to turn the chat system ON/OFF.
- Turning the chat system OFF would remove all the STYLING for the chat system.
- Possibly a user permission thing (If I learn how that works )
- Automatic Installation to remove errors on DIY (Do It Yourself) steps (Just one SQL table insertion)
- This is possible with AutoMOD... I will not do anything for this.
- Move-able chat box
- Pup-Out feature for the chat
- Movable (Obviously)
- * Can't decide if it should be a regular pup-up (Could be blocked by a pop-up blocker), or a fixed DIV
- Have each line alternate between two colors.
(You'll only be able to see anything if I'm online... that's the little catch of the demo for this mod ).
Please read the IMPORTANT text under the AUTHOR NOTES before downloading and integrating the chat system into your site!!!!!
Author Notes: Thanks to superj707 for providing me with a link of a made AJAX which I could integrate into phpBB. That is the only reason I started thinking about making this.
Special Thanks to kmklr72 for giving me the solution to the session problem. Thank you
Special Thanks to mtrs for helping me with the permissions.
The reason I put it up here with no downloads, is because I need a little help with it. There are two one problems that I currently face...
First: The session is not set... I set the session everywhere ($_SESSION['username'] = $user->data['username']... I set it in chat.php and the only way it sets there if you actually go there by yourself...
If I set the session anywhere else (such as index.php or the function header() in includes/functions.php), the session isn't set... and if it is, then the chat thing doesn't seem to see/find the session... maybe the session ID is different by then, I don't know, but this is being a problem since the start.
Also (a side note), I'm learning more and more on how phpBB works and how to use it properly... check for more mods from me... I would be checking the requests regularly
The online user list is at the bottom left... it is not styled to a pop-up menu as I couldn't find a script that would work properly. If anyone finds one that works please send me a PM and I will include that into the MOD (as well as your username unless otherwise specified).
This is in BETA stage becuase... well, the pop-up menu isn't implemented yet AND because I'm not sure if I added everything into the installation instructions... this is NOT recommended for a live site yet as I might have forgotten something somewhere and that might cause the forum to break (Not work anyway). Thank you for your support guys Really appreciate it.
If anyone wants to hel out by installing the mod, testing it and finding the problem that they are having, then that would be a big plus (Because I really need hel with this), because no matter how many times I install this MOD on a vanilla install, it always works... I'll go ahead and change the variables and see what else I could do and update the version as well as the download link
[EDIT 2/12/2010 3:33] I made a pre-modded phpBB3 with this addon installed on it. Please view this post to read the things on it and download the pre-mod.
The installing instructions have are faulty... don't use them.. DON'T USE THEM. I'm in the process of fixing the installing instructions.
Thank you... hope that this MOD works.