NChat - No SQL Save BW shoutbox

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

Previous topic - Next topic

Alb0

#160
I need some help here. I upgraded to SMF 2.0, and now I'm trying to uninstall this mod. But once I uninstall it, it gives me errors on my forum. Any help is appreciated.
Picture and Load.php attached below.




EDIT: Got this fixed by going to each custom theme, and deleting the nchat lines from the boardindex.

kallemac

Hi, sorry but i´ll try to add this on a TinyPortal bloc, but i have no clue how to do. I haven't find any answers in the, but maybe i´m to tired.
Is it possible to add to Tinyortal  bloc?

Thanks in advance.


PLAYBOY

#162
I am still waiting for an update with turkish translation and the new features.
Permissions for each membergroups are desperetely needed.
Thank you.

sportforum

Is it possible to show the chatbox above the last 10 messages or statics ?  :)

Spartan117

Hi users and global mods can see the admin panel, the code you posted before doesn't seem to work for me what can I do??

Perspective

#165
Ok, something is wrong. Editing the Mod color isn't working.
I'm just putting there the code for another color, then click on Edit Mod Color and nothing. Even refreshed the page.. still nothing.
It only works for Admin and Member Color.

carajo

hello
Is there much difference in use of bandwidth and processor consumption between nchat and this one?
http://www.simplemachines.org/community/index.php?topic=269091.0
SMF 2.0 RC3

nvcnvn

Quote from: kallemac on July 16, 2011, 06:13:40 PM
Hi, sorry but i´ll try to add this on a TinyPortal bloc, but i have no clue how to do. I haven't find any answers in the, but maybe i´m to tired.
Is it possible to add to Tinyortal  bloc?

Thanks in advance.
Quote from: carajo on July 25, 2011, 04:45:40 PM
hello
Is there much difference in use of bandwidth and processor consumption between nchat and this one?
http://www.simplemachines.org/community/index.php?topic=269091.0


here is your answer: http://www.simplemachines.org/community/index.php?topic=429695.msg3067157#msg3067157
Quote from: sportforum on July 19, 2011, 10:30:16 AM
Is it possible to show the chatbox above the last 10 messages or statics ?  :)
The minimum nuber of message showing by NChat is 50
Quote from: Spartan117 on July 20, 2011, 04:58:39 AM
Hi users and global mods can see the admin panel, the code you posted before doesn't seem to work for me what can I do??

Can you show me your NChatBoardIndex.php source code.
Quote from: Perspective on July 21, 2011, 04:54:29 PM
Ok, something is wrong. Editing the Mod color isn't working.
I'm just putting there the code for another color, then click on Edit Mod Color and nothing. Even refreshed the page.. still nothing.
It only works for Admin and Member Color.
Can you show me a screenshot of your settings?
Quote from: carajo on July 25, 2011, 04:45:40 PM
hello
Is there much difference in use of bandwidth and processor consumption between nchat and this one?
http://www.simplemachines.org/community/index.php?topic=269091.0
I have never try this mod, but why don't you thest yourself, I can say that both mods is working properly.

bedeceived

Quote from: sportforum on July 19, 2011, 10:30:16 AM
Is it possible to show the chatbox above the last 10 messages or statics ?  :)
I don't believe nvcnvn understood your question.  Yes I believe it is possible, you just have to find the right place to put the nchat code in the boardindex.template.php file

nvcnvn

Quote from: bedeceived on July 29, 2011, 05:44:55 AM
Quote from: sportforum on July 19, 2011, 10:30:16 AM
Is it possible to show the chatbox above the last 10 messages or statics ?  :)
I don't believe nvcnvn understood your question.  Yes I believe it is possible, you just have to find the right place to put the nchat code in the boardindex.template.php file
oh...sr, So what you want is show the chat box at the bottom of the forum, so read here http://thismod.com/community/index.php?topic=3.0#post_faq2

[Crash_Override]

gotta say I love this mod but there is just one option I still can not get to work and that is making the mod color change.

I have the latest version of NChat (1.2) and SMF (2.0 Gold), but no matter what setting I set for the mod color, every time my global mod makes a shout his their color is the same as a regular members and they have no access to the mod panel of the shoutbox to delete shouts, and what not. 

ANy idea on a fix for this?

teos55

 SMf 2.0  default theme Simple Portal 2.3.3

  From hosting firm received a warning about exceeding bandwith ..
Analized awstats  output and seen that

nchat/index.php   viewed  981374  times   avarage 20kb   which means   981374*20=   roughly 19GB ...

what is wrong ?   no SQL  no bandwitdh is a myth ?

nvcnvn

Quote from: [Crash_Override] on August 07, 2011, 01:29:40 PM
gotta say I love this mod but there is just one option I still can not get to work and that is making the mod color change.

I have the latest version of NChat (1.2) and SMF (2.0 Gold), but no matter what setting I set for the mod color, every time my global mod makes a shout his their color is the same as a regular members and they have no access to the mod panel of the shoutbox to delete shouts, and what not. 

ANy idea on a fix for this?
This is a bug....hmmm
Open NChatHandle.php
Find:

if($context['user']['is_mod'] && !$context['user']['is_admin']){
$NChatInfo['mod'] = true;
$NChatInfo['can_mod'] = true;
}

replace with:

if($context['user']['can_mod'] && !$context['user']['is_admin']){
$NChatInfo['mod'] = true;
$NChatInfo['can_mod'] = true;
}



Quote from: teos55 on August 16, 2011, 01:52:10 PM
SMf 2.0  default theme Simple Portal 2.3.3

  From hosting firm received a warning about exceeding bandwith ..
Analized awstats  output and seen that

nchat/index.php   viewed  981374  times   avarage 20kb   which means   981374*20=   roughly 19GB ...

what is wrong ?   no SQL  no bandwitdh is a myth ?
The number is to big...but for how long?
You say no SQL  no bandwitdh but I say no SQL save BW
Now you can save more bw by reduced the lenght of meassge or the number of message, increase the time load.
I'm try ing to make the mod more save bw. wait for the next version!

teos55

#173
"The number is to big...but for how long?
You say no SQL  no bandwitdh but I say no SQL save BW
Now you can save more bw by reduced the lenght of meassge or the number of message, increase the time load.
I'm try ing to make the mod more save bw. wait for the next version!"

The statistic for only august  from 01 to 17 august.  I have to uninstall the package but facing fatal errors. In the
parse  you mention only  boardindex.template.php BUT ;

"//NChat Mod
   //You can move this line to somewhere that you hope to see the chatbox
   require_once($boarddir."/NChat/NChatBoardIndex.php");

is in the index.template.php .

  When I manually delete the lines  from boardindex.template. php and indextemplate.php , remove /ncaht dir,
then when I browse the site , I have only the logo line and the menu items displayed the rest is not shown on the screen and white.

  To recover, I reftp /nchat dir to my ftp server and do the package parse statements in php files again.

I cannot uninstall even with package mngr or manualy ...  Pls help ....



------------------------
I think I found the reason. 

In your FAQ  you have :  "How can I show the chat box every page on my forum?"

  I did this change and this is the reason why I have indextemplate.php modified.


  But still the problem is same
After  removing changes in indextemplate.php  and boardindex.template.php  and removing /nchat dir

I cannot get my site up and running,  only  logo and menu buttons  the rest is blank ...

Pls help ...

Has anybody managed to uninstall with package manager in SMF 2.0 gold ?

-------------------------

OK solved ..  Doing manual updates and then forgetting them caused the problem...
forgot to remove " global $boarddir, $boardurl;"  from index.template.php


Now nchat is uninstalled and no errors .. 
--------------------------------------------------------------------------------

[Crash_Override]

#174
Quote from: nvcnvn on August 16, 2011, 08:54:34 PM
Quote from: [Crash_Override] on August 07, 2011, 01:29:40 PM
gotta say I love this mod but there is just one option I still can not get to work and that is making the mod color change.

I have the latest version of NChat (1.2) and SMF (2.0 Gold), but no matter what setting I set for the mod color, every time my global mod makes a shout his their color is the same as a regular members and they have no access to the mod panel of the shoutbox to delete shouts, and what not. 

ANy idea on a fix for this?
This is a bug....hmmm
Open NChatHandle.php
Find:

if($context['user']['is_mod'] && !$context['user']['is_admin']){
$NChatInfo['mod'] = true;
$NChatInfo['can_mod'] = true;
}

replace with:

if($context['user']['can_mod'] && !$context['user']['is_admin']){
$NChatInfo['mod'] = true;
$NChatInfo['can_mod'] = true;
}


Okay, this fixed the color setting but now regular mods can also delete shouts.  Is there a way to make it only possible for global mods to do this?

mxcape21

My users are asking for a way to scroll up (it's set last line on bottom) to read the chat and preferably pause it so it dose not refresh, refresh is set a the maximum "6".
I don't think the refresh should be longer than that, but some way to pause would be nice, so you can back up and read it.

Thanks for a great mod!  ;)
The only thing I can presume, since I know I'm not crazy (certifiably at least), is that everybody else is until they prove otherwise! 8)
http://techraffle.com/forum/index.php

mulch

hello,

thank you for the nice chatbox

my question is, is there any way to make the chatbox post a link, by thread title name, to the chatbox as soon as it is posted to the forum?

thank you in advance in assistance in this matter

steveb72

#177
Hi there,

Great mod, thanks for all your hard work.

Can you take a look at this webpage:

www.nottinghamsnooker.com/NChat/index.php

How can I get the chat to appear on the right hand side, next to the embedded video player?  I want to make the embedded video player bigger, roughly 50% screen width with the chat taking up the other 50%.  Is there any way I can do this?

BrokenFEMALE

How do I hide/disable the big white menu I see above my NChat:


I followed these steps but it is still showing up:
Quote5. Can I hide the admin settings
The design aim to make everything easy to you, the admin can edit the setting and see the changes immediately, but it really a mess. You can hide it if you want, just follow:
Open the NChatBoardIndex.php
Find:
Code: [Select]

if($NChatInfo['admin'] == true)

Replace with:
Code: [Select]

if(false)

When you want to modify some thing, just visit: your-domain.com/forum/NChat/index.php [nofollow], there is a nother admin settings area.

BrokenFEMALE

Nevermind the other issue. I figured it out and now the admin menu is disabled. Now I would like to know is how do I get the NChat to show up on themes: Core, Pink Floral, and Skm Light. It's showing up on my other themes but these 3.

Advertisement: