[ABD] phpbbchat 0.4.0 (facebook like chat)

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.
!karolis
Registered User
Posts: 133
Joined: Sun Jun 13, 2010 9:54 am

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by !karolis »

So this is stable? Will it affect server usage?

Is this a way to do only one chat for all forum users and no friends chat? + a way for other users to turn off completely chat.
User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by James78 »

I don't use this MOD, but I thought of something people might find of use.

Maybe you should integrate ignoring users. E.g. if you have a user on your foe list, why would you want them to IM you?
If you encounter what is/or you think is a bug, please report it to the phpBB Bug Tracker
User avatar
EduCatOR
Registered User
Posts: 18
Joined: Mon Oct 15, 2007 11:13 pm

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by EduCatOR »

James78 wrote:I don't use this MOD, but I thought of something people might find of use.

Maybe you should integrate ignoring users. E.g. if you have a user on your foe list, why would you want them to IM you?
Unless another member is on your friends list, they cannot IM you. Even though the "connected to server" chrome/safari bug is just cosmetic, I think that should be the most important focus at the moment. :D
DerGonzo
Registered User
Posts: 4
Joined: Fri Jan 28, 2011 6:49 am

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by DerGonzo »

Hi statish!

Thanks for that MOD, it seems to work fine! ;)

Are you able to see forward how long it it will take to implement the sound on arrival of a message? That´s a feature that my users are really missing...
Perhaps thats a small and easy update? If it is, I (and my users) would be happy if you could provide that soon. ;)

Thanks a lot
for this MOD! :mrgreen:

Greetings,
DerGonzo!
User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by James78 »

EduCatOR wrote:
James78 wrote:I don't use this MOD, but I thought of something people might find of use.

Maybe you should integrate ignoring users. E.g. if you have a user on your foe list, why would you want them to IM you?
Unless another member is on your friends list, they cannot IM you. Even though the "connected to server" chrome/safari bug is just cosmetic, I think that should be the most important focus at the moment. :D
Ahhh. Guess I must've glossed over that. :) Good thing to know it has that! I feel that them not being able to IM you unless being on your friends list is actually a good idea to begin with. ;)
If you encounter what is/or you think is a bug, please report it to the phpBB Bug Tracker
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by darkonia »

crap mod...to slow for very big forums... :?
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
stathisch
Registered User
Posts: 145
Joined: Fri Jul 24, 2009 11:33 am
Location: Greece

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by stathisch »

darkonia wrote:crap mod...to slow for very big forums... :?
That's not the mod's fault. Please see the first post:
For big forums, you're going to need a *strong* server, so it can handle the load.
The architecture of phpBB is not optimal for uses like this, so many queries are made for every ajax request. Especially if you have many mods, this could be much worse. I have tried to make my MOD as optimized (algorithmically & technically) as I could when coding it, in my limited time.

Facebook has dozens of servers, dealing *only* with the chat platform, and yet still, those servers are experiencing issues.

Please think more about it before making statements like that.
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by Kamahl19 »

You should make a system for shuting down or slowing the refresh time if the user is inactive, like we on Social Network MOD. It checks new messages every 1,5s if it found some new message, it loads that message. If the user is 5 minutes inactive (not sending messages) the checking time is 30seconds so it does not make a big load and when user is going Offline in chat, it stops checking.
User avatar
stathisch
Registered User
Posts: 145
Joined: Fri Jul 24, 2009 11:33 am
Location: Greece

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by stathisch »

Kamahl19 wrote:You should make a system for shuting down or slowing the refresh time if the user is inactive, like we on Social Network MOD. It checks new messages every 1,5s if it found some new message, it loads that message. If the user is 5 minutes inactive (not sending messages) the checking time is 30seconds so it does not make a big load and when user is going Offline in chat, it stops checking.
Kamahl19, there is no client side refresh interval. It uses Ajax polling.
Maybe a hybrid system could be done, but would not be very stable when having many tabs open.
Also, maybe I could implement an "idle" function, where the server loops have bigger usleep times.
I must look more into it.
awayfromkeyboard
Registered User
Posts: 42
Joined: Mon Feb 07, 2011 5:40 am

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by awayfromkeyboard »

stathisch wrote:Oh, I'll see what I can do about that. What version of phpBB are you running?

Also, this mod is not abandonned, I just don't have enough free time to work on it on a more regular basis.
i wish this mod is not ABD too.. :cry:
i wish mod writer still develop this mod..

i'll wait... :mrgreen:

thank you

:arrow: :arrow: great mod mr.stathisch
DerGonzo
Registered User
Posts: 4
Joined: Fri Jan 28, 2011 6:49 am

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by DerGonzo »

DerGonzo wrote:Hi statish!

Thanks for that MOD, it seems to work fine! ;)

Are you able to see forward how long it it will take to implement the sound on arrival of a message? That´s a feature that my users are really missing...
Perhaps thats a small and easy update? If it is, I (and my users) would be happy if you could provide that soon. ;)

Thanks a lot
for this MOD! :mrgreen:

Greetings,
DerGonzo!
It´s been a month now since I asked so I try again:
Can you say how long it will take to implement sound? I don´t want to annoy you, but perhaps it´s an easy done change? Or you couls ask kamahl?

Greetings,
DerGonzo!
DkNINJA
Registered User
Posts: 1
Joined: Fri Mar 25, 2011 1:22 pm

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by DkNINJA »

I found this to be quite a useful little mod, and I hope the author hasn't abandoned it. In the mean time, I've made some tweaks to implement coloured conversations where sent messages text and background colours, received messages text and background colours and the spacer colour (line in between sent and received messages) can all be customised through the css sheet. Changes as below:

1. file phpbb/js/phpbbchat.js, replace line 223 to line 231 from:

Code: Select all

										Prefix = '<hr />';
									}
									if ( Friends[ j ].last == -1 ) {
										Prefix += '<strong>' + Chat.Lang.CHAT_ME + '</strong>: <br />';
									} else {
										Prefix += '<strong>' + Friends[ item.FROM ].username + '</strong>: <br />';
									}
								}
								Messages += Prefix + '<div title="' + item._TIME + '" style="padding: 0 0 2px 10px;">' + item.MESSAGE + '</div>';
To:

Code: Select all

										Prefix = '<div class="spacer">&nbsp;</div>';
									}
									if ( Friends[ j ].last == -1 ) {
										Prefix += '<div class="titleme"><strong>' + Chat.Lang.CHAT_ME + '</strong>: </div>';
									} else {
										Prefix += '<div class="titlefriend"><strong>' + Friends[ item.FROM ].username + '</strong>: </div>';
									}
								}
								Messages += Prefix + '<div title="' + item._TIME + '"';
								if ( Friends[ j ].last == -1 ) {
									Messages += ' class="msgme"';
								} else {
									Messages += 'class="msgfriend"';
								}
								Messages += '>' + item.MESSAGE + '</div>';
2. file phpbb/styles/prosilver/theme/phpbbchat.css, find this code:

Code: Select all

#chat .tab .newbox .boxmessages {
	display: block;
	min-height: 254px;
	max-height: 254px;
	background: #CADCEB;
	color: #000;
	overflow: auto;
	margin-bottom: 3px;
	/*border-bottom: 1px solid #CADCEB;*/
	word-wrap: break-word;
}
add after the final line (the "}", line 121) a blank line, and paste in the following code:

Code: Select all

#chat .tab .newbox .boxmessages .titleme {
	color:#555;
	background: #E7EEF2;
	padding: 2px 2px 0 2px;
}
#chat .tab .newbox .boxmessages .titlefriend {
	color:#090;
	padding: 2px 2px 0 2px;
}
#chat .tab .newbox .boxmessages .msgme {
	color:#555;
	padding: 0 2px 2px 10px;
	background: #E7EEF2;
}
#chat .tab .newbox .boxmessages .msgfriend {
	color:#000;
	padding: 0 2px 2px 10px;
}
#chat .tab .newbox .boxmessages .spacer {
	width:100%;
	height:5px;
	background: #FFF;
}
That's all. Don't forget to refresh your themes database if you're editing the files directly - however if you have previously used the style editor to edit css, you should use this method to edit phpbbchat.css, otherwise you will lose changes made in the style editor when you refresh the themes database.

Any modifications to the colour scheme used can be done in the css sheet, the style names are fairly self explanatory - utilise some trial and error if you're unsure.

I hope this helps people - as for sound on notification, I'm competent with js but am no expert so I can't help there.
User avatar
NowTech
Registered User
Posts: 36
Joined: Wed May 26, 2010 10:32 am
Location: New York City

Re: [BETA] phpbbchat 0.3.5 (facebook like chat)

Post by NowTech »

darkonia wrote:
WiRaR46 wrote:this mod not supported in subsilver2
keith10456 wrote:
KonArtist wrote:
darkonia wrote:
farazhamzaa wrote:why its not for Subsilver styles???

its just for prosilver?? how can we installed on subsilver?
subsilver will not be more supported after phpbb 3.0.8
Dam! My style(Wow_Alliance) is based off subsilver and thats how i've been editting it..I guess this would mean i'll need to find a style based off prosilver...

Definitely loving this mod though. I will be adding it to my forum when i get home!
Your life will be a little easier once you switch to a prosilver style. You won't have to worry about if mod authors are going to create subsilver style templates or not :)
Come on guys,

phpBB comes with two Styles (proSilver and subSilver) with ProSilver being the default. Some of us still use the subSilver Style, all I need for my board is phpbbchat system.
"There's no such thing as a stupid question, but they're the easiest to answer!" :mrgreen:
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by darkonia »

use this its better and not so heavy for the server: http://www.phpbb.com/community/viewtopi ... &t=2008845
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
NowTech
Registered User
Posts: 36
Joined: Wed May 26, 2010 10:32 am
Location: New York City

Re: [BETA] phpbbchat 0.4.0 (facebook like chat)

Post by NowTech »

darkonia wrote:use this its better and not so heavy for the server: http://www.phpbb.com/community/viewtopi ... &t=2008845
I don't want my site to be a facebook knockoff.
"There's no such thing as a stupid question, but they're the easiest to answer!" :mrgreen:

Return to “[3.0.x] Abandoned MODs”