[ABD] MySpace/Facebook Style AJAX IM

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

[ABD] MySpace/Facebook Style AJAX IM

Post by Bogey »

[DISCLAIMER: This post is constantly being edited. Make sure you aren't missing out on any important information before you post your problems.]

Modification Name: MySpace/Facebook Style AJAX Chat
Author: Bogey

Modification Description: Simply a MySpace/Facebook Style AJAX Chat.

Modification Version:: 1.0.0

Features:
  • 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)
Planned Features:
  • 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 :lol: )
  • 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
    • Re-sizeable
    • 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.
Modification Download: MySpace/Facebook Style AJAX Chat

DEMO: Wedevoy.com
Username: Test_User
Password: demo101

(You'll only be able to see anything if I'm online... that's the little catch of the demo for this mod :( ).

Preview:
Image

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 :D

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.


I also can't seem to find a drop-up menu that works here. Facebook's source doesn't show anything that could be of any help... just seems that everything there is dynamically javascript :lol:

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 :D

IMPORTANT!!!

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 :D 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.
Last edited by Bogey on Mon Feb 22, 2010 9:23 pm, edited 28 times in total.
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by purusam »

ohh great here it is im wating for this one :-)
trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by trickoff »

Nice to see another im chat! Both you and kmklr72 are doing a wonderful job, VERY APPRECIATED!
Thanks!
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by Bogey »

It's basically done... what I need help on is the drop-up menu that would hold all the online users you could click on and start a conversation.

I also need a tester for this... if anyone is willing to help me test it, please PM me. (I need only one)...

And thank you for your support guys :D

[EDIT:] Got my tester and we tested the chatting... worked perfectly and seamlessly :D
Last edited by Bogey on Tue Jul 28, 2009 4:57 am, edited 1 time in total.
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by mtrs »

I wonder, if any user can chat with the other, any limit for friend/foes etc.
I abandoned all of my mods.
User avatar
adzyboy
Registered User
Posts: 215
Joined: Fri Jun 20, 2003 8:50 pm
Location: Burnley, England

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by adzyboy »

I reckon any sort of javascript menu would do the trick. Wouldn't recommend a html/css menu for a chat-menu.
The-Lord
Registered User
Posts: 103
Joined: Thu Jan 31, 2008 12:13 pm

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by The-Lord »

Would be nice addition if it is like facebook. Chat accessible from all the pages will be cool.
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by Bogey »

adzyboy wrote:I reckon any sort of javascript menu would do the trick. Wouldn't recommend a html/css menu for a chat-menu.
I got that idea in bed today and I'm going to try to use the scripts that the actual chat box uses, since the chat box works the way I want (essentially).
The-Lord wrote:Would be nice addition if it is like facebook. Chat accessible from all the pages will be cool.
It is... if you go to a different page within the site, the chat would stay there and you are still able to chat with the user on the other end.
lovevoice
Registered User
Posts: 146
Joined: Mon Apr 20, 2009 1:52 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by lovevoice »

User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by imkingdavid »

Great idea. Just a question or five: :D :mrgreen:
1) Will this mod incorporate BBCode and the phpBB smilies?
2) I have a feeling this will fill up the mysql db really quickly. Will there be an auto-prune old chat messages feature?
3) Will there be group chat? (aka admins can click on the admin group and a group chat box will pop up just like any other single-user chat would)
4) Will there be a way to turn this on/off per user and/or per group?
5) If someone is on someone else's ignore list, will it block them from messaging them?

I may have more questions, but I think that's a good start. I'll be sure to keep an eye on this. ;) :cool:
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by Bogey »

Nobody wants to spend around 128 dollars for something when there is a possibility of having the same thing for free ;)
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by Bogey »

imkingdavid wrote:Great idea. Just a question or five: :D :mrgreen:
Thanks for your support :)
imkingdavid wrote:1) Will this mod incorporate BBCode and the phpBB smilies?
As of now, I don't think so... I put in the bbCode parsing in there and it broke the chat completely...
imkingdavid wrote:2) I have a feeling this will fill up the mysql db really quickly. Will there be an auto-prune old chat messages feature?
I think I'll do that for the next release
imkingdavid wrote:3) Will there be group chat? (aka admins can click on the admin group and a group chat box will pop up just like any other single-user chat would)
No... no group chat. This is like Facebook if you ever being on facebook. You are on every page and can chat with your friends... for group chats, try getting a chat that is inline the site... like above the forums or something... not a Facebook style chatting
imkingdavid wrote:4) Will there be a way to turn this on/off per user and/or per group?
That is planned for the next release
That is done... thanks to mtrs
imkingdavid wrote:5) If someone is on someone else's ignore list, will it block them from messaging them?
Good idea... I'll do that for the next release
imkingdavid wrote:I may have more questions, but I think that's a good start. I'll be sure to keep an eye on this. ;) :cool:
Go ahead... give me your best :)



An image of my progress:
Image

I think I will release it like this and let it up to use to decide how to show the online users... right now they are listed horizontally in the bottom DIV... I'm not happy with that and can't find a solution on-linethat works... and I don't know JavaScript so I can't make it myself.

Maybe if I post it here like this, then someone who is savvy enough in JavaScript would be able to make it work and post it here for everyone :D How does that sound? I'm creating the MoD thing.
Last edited by Bogey on Tue Jul 28, 2009 8:14 pm, edited 1 time in total.
rondembo
Registered User
Posts: 100
Joined: Mon Dec 08, 2008 6:36 pm
Location: Israel

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by rondembo »

but where is the download?
Bogey
Registered User
Posts: 421
Joined: Wed Sep 19, 2007 2:31 am

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by Bogey »

rondembo wrote:but where is the download?
When you see [BETA] instead of [DEV], there would be a download link... that would be tomorrow morning at the latest.
User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] MySpace/Facebook Style AJAX Chat

Post by imkingdavid »

Thanks for the answers to my questions. :) I'll be watching this MOD as it goes along. ;)
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.

Return to “[3.0.x] Abandoned MODs”