News:

Wondering if this will always be free?  See why free is better.

Main Menu

NChat - No SQL Save BW shoutbox

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

Previous topic - Next topic

Jade Elizabeth

I don't want duplicate smiley sets. We're supposed to be a professional forum and hidden smileys is a basic functionality of SMF.

It's a simple query change but I can't read your code at all :/.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

beanflying

I guess if you rewrote the smiley section with a different query in it you could certainly remove those hidden smilies. So I gather you want to keep a few special smilies for those who 'know' the codes for them rather than general members?Apart from one emticon we have hidden for a reason of looks the rest are open and displayed to all. Otherwise all similes are for all members on the forum.

Happy to share my butchered NChatBoardIndex below for what it is worth. It comes with ZERO rights to grumble about it or what it does as it suits me and my forum ONLY ;) If anyone gets anything positive out of the recode then that's a bonus.

Most of the changes in the attached file relate to formatting and the overall looks of Nchat. I have stripped out some of the initial code too if your wondering, removed some of the mute, ban sections and some others. Unlike some of the other 'shoutboxes' available we run this as real time 'chatbox' so at times it takes 10-20 messages a minute at times and I haven't found any of the other mods available do this any better so I have stuck with what seems to be an abandoned mod. :(

Would love to see nvcnvn keep this upgraded if they have or can find the time again :)
Owner of many many shiny toys.

beanflying

The NChat is Unavailable is actually not a problem with the program but is generally a problem with your server or host.

As it uses bandwidth to keep alive for EVERY viewer of your page or pages it is on some of the freehost's in particular or budget host's won't have sufficient allowances for you to run it reliably. If you go back through this topic some users have actually had 'free' accounts shut down because of this mod.

Only setting available in the Admin area is the 'reload time' mine is set at 6000 mS (think it may have been the default) but you could try lifting this to 10000 to reduce the server load? The only other way to reduce the load is to make it viewable to members only using the permissions settings.
Owner of many many shiny toys.

Jade Elizabeth

Danke for the file, will have a look. Where is the smiley query exactly? On my forum we hide the smileys not from the main set, so that they all display nicely. Some are rather large or animated lol.

Also some are just for admins.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

zapiy

Is there anyway we can set a post count feature.. I am finding more members are simply using the Chatbox and not posting in the forum...
www.maturevideogamer.co.uk
www.consoleplanet.co.uk
www.retrovideogamer.co.uk

beanflying

Quote from: Jade Elizabeth on September 23, 2012, 10:43:15 AM
Danke for the file, will have a look. Where is the smiley query exactly? On my forum we hide the smileys not from the main set, so that they all display nicely. Some are rather large or animated lol.

Also some are just for admins.

In that case maybe rewriting the NChatSmilies.js and then set NChat to use the yahoo smilies in the admin or better make an additional option and set up a second file containing links to your own reduced set? Not perfect as it doesn't work directly with your hidden ones and your admins won't be able to use the specials either in chat.


Quote from: zapiy on September 23, 2012, 02:19:41 PM
Is there anyway we can set a post count feature.. I am finding more members are simply using the Chatbox and not posting in the forum...

No but keep the messages kept to 50 also limit the length of chats to 200 characters (or shorter) to stop lengthy messages or Q&A's and make sure your members are aware that it is transitory. After having lost several good items most members of my forum have now ot the idea that the good stuff gets lost unless you put it in a thread ;)

One of our members in particular did try and stir up some rubbish over the chat and how it was reducing forum posts etc. There has been no evidence of this after 8 or 9 months of use but instead we find some members checking in multiple times a day to see whats on chat and at the same time on the forum. More often than not the chat is now used for non forum stuff and more general chat on life etc.
Owner of many many shiny toys.

gnappoman

Quote from: gnappoman on August 29, 2012, 10:53:33 AM
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...
HELLp!

Yiorgos

Install the following mod (if you have not already done it)
http://custom.simplemachines.org/mods/index.php?mod=2323
It shows the time mods were installed in the package manager.
It also allows you to order packages in the package manager, by name or time of install!

Then check for the mods that you installed after the installation of Nchat, and especially those mods that you installed approximately the date that your Nchat stopped working.
Un-install the above mods in reverse order...
see if that fixes your problem.

You may need to Un-install and reinstall Nchat also.
Make sure that you have a backup of your files before making changes.

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

rootuid

How do I "turn off" nchat but not uninstall it? Group permissions or is there a on/off switch that I can't find ?
thanks.

Yiorgos

Quote from: rootuid on November 07, 2012, 05:50:12 PM
How do I "turn off" nchat but not uninstall it? Group permissions or is there a on/off switch that I can't find ?
thanks.


ON members Permisions

    Your Forum »
    Administration Center »
    Permissions »
    General Permissions

Look for the Following and disable the Last two (2) For all member groups.

* NChat PLay around with the chat box.
   Mute a member from chat.
   Delete a chat message.
   Write something and chat.
   Read the chat content.

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

K33NY

I think I never got an answer for this:


I use Tiny Portal for my forum, and long time we managed to get Nchat to show on frontpage and all other pages, but we had to do some changes to the theme, and in process nchat got disabled, now I cant get nchat to front page of website.

How was this possible again?

XHIBIT911

Today I started looking into different themes as per my forums 1 year anniverary and after installing a multicolor theme I had to uninstall and reinstall my nchat chatbox....Now this is what it says...



I've also discovered one of the php files wasnt in my original installation months back but worked without it (|.text) Other than that everything is CHMOD'd accordingly.

  How can I get my chatbox back working ?

+ CHMOD 0666 for these files: l.txt, NChatMess.php, NChatMuteList.php
+ CHMOD 0644 for all the files left
+ CHMOD 0755 for these folders: ./NChat, ./NChat/sounds

By the way I always forget to add I'm using 2.0.2
With a PortaMX

XHIBIT911

Never mind..I found a way

CHMOD these files to 0644:


./NChat/index.php
./NChat/NChatHandle.php
./NChat/NChatBoardIndex.php

Arni

Hello,

i'm running this mod now for some months/years, but now i want i have 2 questions.
Is it possible to increase the "size" of the chat "windows"?
Or if not, is it possible to open the chat in an extra tab, so somebody can read it easier without so much scrolling?

Greets
Arni

noskos

Hi,

My SMF forum was moved to another server by my host and since then any UTF-8 code will be displayed as garbage, € will show up as â,¬,  é becomes é. This only happens in nchat. I've replaced the files with the old ones same problem. I've reinstalled nchat, same problem. Is there anybody out there that might know a solution to this problem?

Thanks a lot in advance!

noskos

Arni

Nobody has an idea for my request?

jsx

Perhaps the author of modification NChat could write whether he going develop this modification because passed a lot of time from the passed quite a lot of time from the last edition of modification, it will be good this modification to adapt to the version 2.0.3

And whether he going to lead, these functions which he described, as for doing in the future

Future Developments:
+ Mute an IP.
+ Archive function
+ Channel chat (private chat with one person)

If an option of the private chat would be supposed to come into existence with one person, it in my opinion an option should be for the Administrator
in options of this modification in order entirely to exclude the possibility of the private chat with one person. Because not everyone of Administrators like things like this.

jsx

Whether somebody make out how I can place for myself in order to date which is shown in shoutbox after writing the message down, for example like this: [Jan 19 13:20:43]
That the date will be shown in other language than English. I mean that the name of the month is in other language than English, in language from which I use in forum, whether it will manage somehow to place?

jsx

I noticed the mistake of showing emoticons in Nchat

http://i45.tinypic.com/90r47d.png

Emoticons higher which is marked with red frame after sending her in the message is shown other emoticons, the one which is marked more low.

Is the author deigning to correct this mistake? Whether the NChat author will speak and will let know in relation to mistakes reported to him and the suggestion?

Arni

Quote from: Arni on December 27, 2012, 11:32:11 AM
Hello,

i'm running this mod now for some months/years, but now i want i have 2 questions.
Is it possible to increase the "size" of the chat "windows"?
Or if not, is it possible to open the chat in an extra tab, so somebody can read it easier without so much scrolling?

Greets
Arni

Seems that the mod development is stopped, or?

Advertisement: