News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

NChat - No SQL Save BW shoutbox

Started by nvcnvn, April 13, 2011, 11:30:28 AM

Previous topic - Next topic

Yiorgos

Quote from: uecwmike on June 23, 2012, 11:40:11 PM
Anyone willing to help with this issue?

@ uecwmike :  I gave you step by step directions.
Did you apply the steps I described for you HERE ?


WhaT ARE THE RESULTS ?

www.sdtv.gr


Abandoned modifications that I corrected to apply on SMF 2.0 Gold
Simple Awards System  To award good members
Limit Posts Per Day  for over-posting members

sireq1

Hi , I'm really liking your chatbox , awesome job !

but i got small issue with it

thanks in advance !

beanflying

#362
At the risk of appearing a touch heavy is/has this mod ceased being supported? Seems to be questions going unresolved (much as search might help a couple of them)?

I have run into a scrolling based issue but only on Chrome and Safari as a browser. Seems any time a post is made either by the user or another the chat scrolls back up 8-10 lines so the users are having to manually scroll back to the bottom  :o

Anyone else having/had similar issues and have a fix for the formatting?
Owner of many many shiny toys.

beanflying

Quote from: sireq1 on July 06, 2012, 05:52:03 AM
Hi , I'm really liking your chatbox , awesome job !

but i got small issue with it

thanks in advance !

Not sure if your still reading here but yes it can be fixed but you will need to mod the nchatboardindex.php file. Not sure of your skills but adding a couple of selective <br> in the code after this bit "    <div id="nchat_editor" class="windowbg"> " will help pad it out
Owner of many many shiny toys.

sireq1

thanks , btw , i dont have that scrolling issue u were talking about , using chrome

<div id="nchat_smiles"></div>
<div id="nchat_smiles_2"></div>';
echo '
[b]<br>[/b]
<div>


this fixed it , but thanks !:D

beanflying

Not sure what the protocol is here but as this mod appears to have become an orphan of sorts  :-\ Do we continue to try and keep it running and updates or just let it go?

I have been running a possible (popular) alternate in tandem with this one due to this and Nchat kicks it's butt for general operations. The others updates to shouts are flakey at best so unless a manual update is pressed you can miss the conversation.

In running them in tandem I have been playing with the formatting of the chats and bashed them into (what I think) a cleaner looking layout. Currently running new chats at the top right under the text entry box. Couple of screens below of the layout.

** Should mention that the upshrink arrows on the header are not yet coded but the link to opt of of chat is. Basically goes straight to select member groups which I have set up a special one for the boring members who don't want to play ;)

Still a few bits to tweak but if anyone is interested in a copy of my nchatboardindex as it is happy to pop a copy up here if that is kosher?
Owner of many many shiny toys.

jsx

#366
Hi nvcnvn, this your NChat is even good but unfortunately, it lacks some functions for excellence

It lacks:

Option which is possible to turn off BBCode: B, U, I, and choice of the list of colours

It lacks:

Option of history through which it would be possible to see entries in NChat which went down in history something in the style nneonneo's Shoutbox in history.txt to that history be saved somewhere on the FTP. This option is useful to the Administrator so that he can know what entries were on NChat.

It lacks also options:

Ban users/unban users, list of banned users

Turn on and turn off shoutbox

Change the name of NChat that it can set its own name

Of option "/clear" which is being sent as the message and it cleaning entries
Access only for the Administrator.

If this shoutbox give to another template let's assume for the dark colour is displayed on the left the white line

I marked on screen:

i49.tinypic.com/25oxcfr.jpg

There is also a white line at the bottom but I think it must be to indicates dissociation of chat.

You have to take a good look to notice this. On screen is little invisible

I think that these are all suggestions, you could enter them into the next version NChat?

gnappoman

#367
hello people I got a problem:

my chat used to work very well but since a month or two nobody can see the content of the chat box which remains blank, white.

NChatMess.php gets however populated, as I read it via ftp.

Php error log tells me:

[Tue Aug 28 11:07:42 2012] [error] [client xxx.xxx.xxx.xxx] client denied by server configuration: /home/xxx/domains/xxxxxx.com/public_html/NChat/last.html, referer: http://www.xxxxxx.com/index.php

and

xxx.xxx.xxx.xxx - - [28/Aug/2012:07:42:17 +0200] "POST /NChat/last.html HTTP/1.1" 200 415 "http://www.xxxxx.com/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/xxxxxxxxx Safari/537.1"


i tried to rename last.html --> last.php (and properly modify any reference inside the two files)

tried to move last.html to other paths

tried to chmod it to various other values (666, 755, 777)

but it seems all futile

I am on a cheap hosting, so no chance to change any php configuration setting, how may I work it out?
Thanks...

beanflying

Occasionally in the past the NChatmess.php has become corrupted so the simple solution for me has been to uninstall, reinstall NChat then recopy my modded NChatBoardIndex.php file back over the original.

Crude but it has worked for me.

As best as I can determine is seems to break after a user posts one or more really long chats either near or over the limit I have set. I have never bothered to try and debug it as it is a simple fix and the chat while really nice doesn't effect the forum.
Owner of many many shiny toys.

gnappoman

Thank you very much indeed beanflying.

Any other suggestion whitout having to reinstall?

beanflying

Only other one to try is to press the clear all messages on the chat itself but I have removed this from mine as the mods occasionally cleared the chat without meaning to  :laugh:

It was discussed a few pages back I think as a fix but it doesn't take long to uninstall/reinstall.
Owner of many many shiny toys.

gnappoman

xx.xx.xx.xx.xx - - [30/Aug/2012:15:09:53 +0200] "POST /NChat/last.html HTTP/1.1" 200 415 "http://www.xxx.com/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1"

xx.xx.xx.xx.xx - - [30/Aug/2012:15:09:55 +0200] "POST /NChat/last.html HTTP/1.1" 200 359 "http://www.xxx.com/index.php" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"



Those are two messages founded in the Apache log, and there is a plenty of these!!!
What does it mean 200 415 & 200 359?

jsx

Hi, whether somebody knows how to place NChat be shown in the bottom of forum?
Behind the option: Mark ALL messages as read

beanflying

Yep in BoardIndex.template.php in themes/default find

template_info_center();

and CUT and then insert the code from the top of that file (so remove from the top) to just before it.

//NChat by ThisMod.com
require_once($boarddir."/NChat/NChatBoardIndex.php");


That should get you chat before the info centre and after the Mark all ...... You could look at my forum but the the chat is there but hidden from non members.
Owner of many many shiny toys.

jsx


jsx

Hi, I have a suggestion to next version of NChat (if will be) that you nvcnv would look it and my previous suggestions which I added higher.

I mean, that you nvcnvn entering that NChat after installing was shown in bottom part of forum behind the option: Mark ALL messages as read
Or allow  that it was possible to setting it in bottom part of forum in options shoutbox (currently it isn't possible, but have to modify file BoardIndex.template.php)

Jade Elizabeth

#376
My smileys arent working :'(. Screenshot red circles. The image url for the others is http://www.bunnyrabbitsex.com/http%3Cimg%20src=

Also why is it that when things are typed (I want recent to be on bottom) they stay hidden and I have to manually scroll? Or wait for it to attempt to scroll for me...can't it always be at the bottom and push text up?

EDIT: I fixed the purple thing, it's just smileys now :).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

beanflying

Scroll thing was a quirky one with 'some' (2/3's roughly) Chrome and Mac users only. Particularly bad when using tall smilies and it used to bounce the content up and not to the bottom.

I never did find a fix for it as at this stage it keeps coming up around the net as a quirk of those browsers (haven't found a fix). The fix for me was to reverse the message flow and place the text entry box at the to as per the picture on the last page. It did take a little getting used to but the members are fine with it now.

Smilies? Never had a problem with it I just have it set to SMF Smilies so unless your trying to use a different set to your forum it should work? Only other thing would be are some of your smilies non gif format?
Owner of many many shiny toys.

Jade Elizabeth

They are set to SMF and they are all gifs.


Also can I prevent hidden smileys showing up please?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

beanflying

You would need to either rewrite the NchatBoardIndex.php to exclude them (never looked into doing it) or the simple thing (what I did) is just move them to a new (spare) smiley set and not use them or simply delete them.
Owner of many many shiny toys.

Advertisement: