Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: nvcnvn on April 13, 2011, 11:30:28 AM

Title: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 13, 2011, 11:30:28 AM
[Link to Mod] (http://custom.simplemachines.org/mods/index.php?mod=2846)

Now public at a open source at https://github.com/nvcnvn/NChat (https://github.com/nvcnvn/NChat)
Everyone are welcome to contribute and develope or fork this repo.

NOTE

+ 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

You have to set the permission for each group after install the mod! By default just admin can read, write and manager the chatbox.

No SQL - Save Bandwidth

Nedd help?
Use support topic or make new issue here https://github.com/nvcnvn/NChat/issues (https://github.com/nvcnvn/NChat/issues)

Update 1.3.2

+ Fix some bugs.
   - Error with "No sound" mode on IE.
   - NChat alwyas not available.

Update 1.3
+ Adding many features.
  - Play a sound when new message comming.
  - Mute, disallow some one from chat (still not work for Guest).
  - Color + Clickable for user name.
+ Change and Optimize.
  - Move the Control Panel to AdminCP >> Modification Settings >> NChat Shoutbox.
  - Move the chat room to example.com/smf/NChat/index.php?acton=room
  - Reduced the time load, BW.
  - SMF smiles list now showing when enabled.
+ Fix some bugs.
  - Scroll issue when reading.
  - Error when switching smiles.
  - Fixed permission for Global Moderator.


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

Donation
+ Any donation will help the Mod better! (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3BZAQJ5TDY27Y)ow
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Bugo on April 13, 2011, 01:27:52 PM
http://www.simplemachines.org/community/index.php?topic=357757.0#post_validation
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rölyef on April 13, 2011, 05:15:21 PM
nice mod. but, 113 xhtml errors.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 13, 2011, 05:51:42 PM
Quote from: Bugo on April 13, 2011, 01:27:52 PM
http://www.simplemachines.org/community/index.php?topic=357757.0#post_validation (http://www.simplemachines.org/community/index.php?topic=357757.0#post_validation)
I do not understand!
Quote from: rolyef on April 13, 2011, 05:15:21 PM
nice mod. but, 113 xhtml errors.
Yup. I will fix it as soon as possible!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arantor on April 13, 2011, 06:03:28 PM
The hint is that in order to comply with the rules, there should be no validation errors.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 13, 2011, 08:07:09 PM
Quote from: Arantor on April 13, 2011, 06:03:28 PM
The hint is that in order to comply with the rules, there should be no validation errors.

Thanks, I understand!
My Mod just has approved by he SMF Customize Team. I not sure that there is no validation errors left. But I have fix many, many of errors since 12/2010 until now and I will appreciate if you show me is there any issue and I will continued  to fix it!

P/s: sr for my English :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Groovy™ on April 14, 2011, 03:21:09 PM
After you install this mod, the forum I always refresh

Please fix bug :(

RC5
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 14, 2011, 06:21:58 PM
Quote from: Groovy™ on April 14, 2011, 03:21:09 PM
After you install this mod, the forum I always refresh

Please fix bug :(

RC5

did you CHMOD for 2 file I name in readme??

after that, check the httx://you-forum.com/NChat/index.php by paste it to browser, if any error (may be 403 or 500) check again all the file permission.

CHMOD: NChatMess.php, NChatSetting.php to write able (maybe 0666 or 0777)
all the left maybe 0644 or anything else that can help it run!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Groovy™ on April 14, 2011, 06:33:12 PM
I did what you said and still no changes
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Protectionist on April 14, 2011, 06:55:40 PM
Got any screenshot of this plugin in action?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 15, 2011, 05:21:58 AM

Quote from: nvcnvn on April 14, 2011, 06:21:58 PM
Quote from: Groovy™ on April 14, 2011, 03:21:09 PM
After you install this mod, the forum I always refresh

Please fix bug :(

RC5

did you CHMOD for 2 file I name in readme??

after that, check the httx://you-forum.com/NChat/index.php by paste it to browser, if any error (may be 403 or 500) check again all the file permission.

CHMOD: NChatMess.php, NChatSetting.php to write able (maybe 0666 or 0777)
all the left maybe 0644 or anything else that can help it run!


Can you install the mod for a new theme that not and show me your forum.
Did you realy try to CHMOD:
./NChat 0755
./NChat/NChatMess.php 0666 (or 0777)
./NChat/NChatSetting.php 0666 (or 0777)
./NChat/index.php 0644
./NChat/NChatBoardIndex.php 0644
./NChat/NChatHandle.php 0644


Quote from: Protectionist on April 14, 2011, 06:55:40 PM
Got any screenshot of this plugin in action?
live demo:http://forum.thi.vn/index.php (http://forum.thi.vn/index.php)


see ataachments for screenshot
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Groovy™ on April 15, 2011, 06:31:44 AM
now is ok ... is it possible to have this added to the bottom of the chat forums

Translation for serbian_latin-utf8

$txt['NChat_add_smileys'] = 'Dodaj smajli';
$txt['NChat_blod'] = 'B';
$txt['NChat_italic'] = 'U';
$txt['NChat_underline'] = 'I';
$txt['NChat_black'] = 'Crna';
$txt['NChat_red'] = 'Crvena';
$txt['NChat_teal'] = 'Plavo-zelena';
$txt['NChat_blue'] = 'Plava';
$txt['NChat_green'] = 'Zelena';
$txt['NChat_brown'] = 'Braon';
$txt['NChat_orange'] = 'Naranđasta';
$txt['NChat_more_smileys'] = 'Vise...';
$txt['NChat_save'] = 'Sačuvaj';
$txt['NChat_clean'] = 'Očisti';
$txt['NChat_disable_guest'] = 'Onemogući pristup gostima';
$txt['NChat_enable_guest'] = 'Omogući pristup gostima';
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 15, 2011, 09:03:28 AM
Quote from: Groovy™ on April 15, 2011, 06:31:44 AM
now is ok ... is it possible to have this added to the bottom of the chat forums

Translation for serbian_latin-utf8

$txt['NChat_add_smileys'] = 'Dodaj smajli';
$txt['NChat_blod'] = 'B';
$txt['NChat_italic'] = 'U';
$txt['NChat_underline'] = 'I';
$txt['NChat_black'] = 'Crna';
$txt['NChat_red'] = 'Crvena';
$txt['NChat_teal'] = 'Plavo-zelena';
$txt['NChat_blue'] = 'Plava';
$txt['NChat_green'] = 'Zelena';
$txt['NChat_brown'] = 'Braon';
$txt['NChat_orange'] = 'Naranđasta';
$txt['NChat_more_smileys'] = 'Vise...';
$txt['NChat_save'] = 'Sačuvaj';
$txt['NChat_clean'] = 'Očisti';
$txt['NChat_disable_guest'] = 'Onemogući pristup gostima';
$txt['NChat_enable_guest'] = 'Omogući pristup gostima';


Yes, you can show it every where you want by add this line
require_once($boarddir."/NChat/NChatBoardIndex.php");

You should add this line before or some where to show the chat box at the bottom
template_info_center();

P/s: a update available, in this up date, I decided to display a unavailable error message instead of reload the window - I thought I'll help if your Internet line was disconect - but it was a stupid idea :))

Thanks for your Translation. It's very helpfull when you tranlate the unavilable error message to serbian_latin-utf8 too!

Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on April 22, 2011, 11:29:51 AM
How could you change the default color of the text? MY theme is dark, and you can't see the text at all when it's set at black.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 22, 2011, 11:48:45 AM
Quote from: Alb0 on April 22, 2011, 11:29:51 AM
How could you change the default color of the text? MY theme is dark, and you can't see the text at all when it's set at black.

You can change the style of NChat_admin_shoutbox DIV tag by adding color:red; at the end of style attribute:
find this tag in NChatBoardIndex.php and NChatHandle.php

<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;"></div>

Replace with this code if you want the text is red

<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;]color:red;"></div>
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on April 22, 2011, 12:42:22 PM
Tried the edit. Default color still comes up as black.

EDIT: Just found out that the code you gave me changes the username colors in the chat. I was asking to change the actual message default color from black to a different one.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 22, 2011, 07:55:05 PM
Oh men, Sorry! How stupid I am! I just forgot what I have done before!
Open NChatBoardIndex.php and NChatHandle.php
You will find:

      <select onchange="NChat_color();" id="NChat_color">
         <option selected="selected" value="Black">'.$txt['NChat_black'].'</option>
         <option style="background: Red;" value="Red">'.$txt['NChat_red'].'</option>
         <option style="background: Teal;" value="Teal">'.$txt['NChat_teal'].'</option>
         <option style="background: Blue;" value="Blue">'.$txt['NChat_blue'].'</option>
         <option style="background: Green;" value="Green">'.$txt['NChat_green'].'</option>
         <option style="background: Brown;" value="Brown">'.$txt['NChat_brown'].'</option>
         <option style="background: Orange;" value="Orange">'.$txt['NChat_orange'].'</option>
      </select>

Now you see:
         <option selected="selected" value="Black">'.$txt['NChat_black'].'</option>
Remove the selected="selected" and add it to the Color option that you like.

Replace this code will show the default text is red:

      <select onchange="NChat_color();" id="NChat_color">
         <option value="Black">'.$txt['NChat_black'].'</option>
         <option selected="selected" style="background: Red;" value="Red">'.$txt['NChat_red'].'</option>
         <option style="background: Teal;" value="Teal">'.$txt['NChat_teal'].'</option>
         <option style="background: Blue;" value="Blue">'.$txt['NChat_blue'].'</option>
         <option style="background: Green;" value="Green">'.$txt['NChat_green'].'</option>
         <option style="background: Brown;" value="Brown">'.$txt['NChat_brown'].'</option>
         <option style="background: Orange;" value="Orange">'.$txt['NChat_orange'].'</option>
      </select>


Add this line before the end tag (</script>) of the javascript block of NChat Mod:
    NChatInput.style.color = document.getElementById(\'NChat_color\').value;
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on April 22, 2011, 09:39:22 PM
Thank you, worked liek a charm.
So I got the admins names to change to red, with your previous code. Anyway to get the moderators a different color from users?
Or even better, is there a way to recognize colors of membergroups?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: azjeepclub on April 23, 2011, 12:41:12 AM
Nice mod, I too changed it to default red - works great!

I would like to change posts from bottom to top to top being oldest to bottom newest is this easy to do? Thanks again for the gr8 mod!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 23, 2011, 03:40:38 AM
Quote from: Alb0 on April 22, 2011, 09:39:22 PM
Thank you, worked liek a charm.
So I got the admins names to change to red, with your previous code. Anyway to get the moderators a different color from users?
Or even better, is there a way to recognize colors of membergroups?
Yes, but now you just can define color for 3 gruops: Admin, Supper Mod, Guest
just open NChatSetting.php and you will see a serialized string. Find the part "admincolor";s:7:"#ff0000" and change it to the color you want!
Not that you should you the #rrggbb format for the color (so you do not need change the string len....)
I'm working for this feature, that you can edit some more thing in the index (like the way you disable, enableguest), but I was too busy. :(

Quote from: azjeepclub on April 23, 2011, 12:41:12 AM
Nice mod, I too changed it to default red - works great!

I would like to change posts from bottom to top to top being oldest to bottom newest is this easy to do? Thanks again for the gr8 mod!
Yes, that simple open NChatHandle.php, In NChatReader Function find and replace this line:

      for($i=(count($mess)-1);$i>=0;$i--){

With this line

      for($i=0;$i<=(count($mess)-1);$i++){
Title: Re: NChat - No SQL Save BW shoutbox
Post by: azjeepclub on April 23, 2011, 11:39:40 AM
That worked, only when the page loads or is refreshed it is showing the oldest and I have to scroll down to see the newest each time the page gets loaded. Any quick fix?

Where do I donate for the cause?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on April 24, 2011, 12:13:41 AM
Quote from: nvcnvn on April 23, 2011, 03:40:38 AM
Quote from: Alb0 on April 22, 2011, 09:39:22 PM
Thank you, worked liek a charm.
So I got the admins names to change to red, with your previous code. Anyway to get the moderators a different color from users?
Or even better, is there a way to recognize colors of membergroups?
Yes, but now you just can define color for 3 gruops: Admin, Supper Mod, Guest
just open NChatSetting.php and you will see a serialized string. Find the part "admincolor";s:7:"#ff0000" and change it to the color you want!
Not that you should you the #rrggbb format for the color (so you do not need change the string len....)
I'm working for this feature, that you can edit some more thing in the index (like the way you disable, enableguest), but I was too busy. :(

For mods it was alrady set to blue, but it gives them as green in the chatcolor. "modcolor";s:7:"#0000ff"
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 24, 2011, 12:47:52 AM
Quote from: azjeepclub on April 23, 2011, 11:39:40 AM
That worked, only when the page loads or is refreshed it is showing the oldest and I have to scroll down to see the newest each time the page gets loaded. Any quick fix?

Where do I donate for the cause?
Yes, you can do it, quite of simple, just a single javascript line.
But it work not exaclly in IE, but 100% in FF, GC and Opera.

Add this line before the end of NChatMod javascript block

document.getElementById("NChat_admin_shoutbox").scrollTop = 2500;


Quote from: azjeepclub on April 23, 2011, 11:39:40 AM
Where do I donate for the cause?
My English is not good. Quite of confuse what is yout means!

Quote from: Alb0 on April 24, 2011, 12:13:41 AM
For mods it was alrady set to blue, but it gives them as green in the chatcolor. "modcolor";s:7:"#0000ff"

No comment ;))
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on April 25, 2011, 09:20:08 PM
This isn't showing on my theme laGusta for RC5. Works on my other themes though.
Any help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 26, 2011, 04:31:31 AM
Quote from: Alb0 on April 25, 2011, 09:20:08 PM
This isn't showing on my theme laGusta for RC5. Works on my other themes though.
Any help?
What is your mean when you say This isn't showing ... "this" is the mod?
I don't know about that theme. But I sure that you can add this Mod for any theme by:

1. Open BoardIndex.template.php
2. Find
function template_main()
{

add after

   global $boarddir, $boardurl;


go any where (inside function template_main) where toy want to show this shout box, add:


   //NChat Mod
   //You can move this line to somewhere that you hope to see the chatbox
   require_once($boarddir."/NChat/NChatBoardIndex.php");
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jaisi on April 26, 2011, 04:23:47 PM
all setting i have done but i'am getting this error some time
[/b] The ./NChat/index.php is now unavailable! Please contact admin forum about this issue! [/b]

please tell me how to solve this problem
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 26, 2011, 08:25:09 PM
Quote from: jaisi on April 26, 2011, 04:23:47 PM
all setting i have done but i'am getting this error some time
[/b] The ./NChat/index.php is now unavailable! Please contact admin forum about this issue! [/b]

please tell me how to solve this problem
You say ... i'am getting this error some time
How is some time?
You can chat ok, and suddenly the error happen you  can't chat any more, and suddenly again you can chat ok?
Or you see it when you reload the page(press F5), or clicking in some topic url?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dzonny on April 26, 2011, 08:54:58 PM
Hey there.

Thanks for quite good and very simple, but still functional mod, and all that with minimal changes to core files :)
I will try it on some my forums soon :)

Regards.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Groovy™ on April 26, 2011, 09:35:05 PM
I tried to add chat to the bottom of the forum, but I do not know PHP very well ... here's to you my BoardIndex.template.php the attac

Thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 28, 2011, 05:08:03 AM
I just add after Info Center.

Title: Re: NChat - No SQL Save BW shoutbox
Post by: Groovy™ on April 28, 2011, 06:54:08 AM
Quote from: nvcnvn on April 28, 2011, 05:08:03 AM
I just add after Info Center.

still no changes: (
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on April 28, 2011, 07:49:42 AM
Hmm, my mistake.


This is the file :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jaisi on April 28, 2011, 08:17:34 PM
When refreshing forum page i'am getting error please check
Title: Re: NChat - No SQL Save BW shoutbox
Post by: steeltape on May 01, 2011, 10:48:50 AM
when i click disable guest chat this error comes out

QuoteThe ./NChat/index.php is now unavailable! Please contact admin forum about this issue!

i look into nchatboardindex.php and guest is already disabled from chatting but still i can chat as guest.
solution?

$NChatInfo['NChatMess'] = $boarddir.'/NChat/'.$NChat['NChatMess'];
$NChatInfo['admin']     = false;
$NChatInfo['mod']       = false;
$NChatInfo['guest']     = false;
$NChatInfo['can_mod']   = false;
$NChatInfo['can_chat']  = true;
if($context['user']['is_admin']){
   $NChatInfo['admin'] = true;
   $NChatInfo['can_mod'] = true;

if($context['user']['is_guest']){
   $NChatInfo['guest'] = true;
   if($NChat['guest'] != true)
      $NChatInfo['can_chat'] = false;

why i can still chat as guest?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Braxton Leo on May 01, 2011, 02:28:21 PM
How do I change the shout text?  My forum has a black background and NChat uses black text by default.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: ascaland on May 01, 2011, 02:41:58 PM
Quote from: Braxton Leo on May 01, 2011, 02:28:21 PM
How do I change the shout text?  My forum has a black background and NChat uses black text by default.

If you want to make the text (other than the actual shouts) whit, then in NChatBoardIndex,
Code (Find) Select
<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;">
Code (Replace) Select
<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;color: white;">

If you want the option to have white text in shouts (and enabling it by default), in the same file,
Code (Find) Select
<option selected="selected" value="Black">'.$txt['NChat_black'].'</option>
Code (Replace) Select
<option selected="selected" value="White">White</option>
<option value="Black">'.$txt['NChat_black'].'</option>
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 01, 2011, 10:14:45 PM
Quote from: jaisi on April 28, 2011, 08:17:34 PM
When refreshing forum page i'am getting error please check

And after the page load finish. This you see the message?
If there is no message after page loades, this is not a bug, I thought just how to the browser work. When you refesh the page, the browser will stop all the current request...so you get the message.
Quote from: steeltape on May 01, 2011, 10:48:50 AM
when i click disable guest chat this error comes out

QuoteThe ./NChat/index.php is now unavailable! Please contact admin forum about this issue!

i look into nchatboardindex.php and guest is already disabled from chatting but still i can chat as guest.
solution?

$NChatInfo['NChatMess'] = $boarddir.'/NChat/'.$NChat['NChatMess'];
$NChatInfo['admin']     = false;
$NChatInfo['mod']       = false;
$NChatInfo['guest']     = false;
$NChatInfo['can_mod']   = false;
$NChatInfo['can_chat']  = true;
if($context['user']['is_admin']){
   $NChatInfo['admin'] = true;
   $NChatInfo['can_mod'] = true;

if($context['user']['is_guest']){
   $NChatInfo['guest'] = true;
   if($NChat['guest'] != true)
      $NChatInfo['can_chat'] = false;

why i can still chat as guest?

When you click on disable guest, the page will refesh, and so, you get the message (I have exaplaned).
Did you wait untill the page reloaded? And did you remember to logout? When you disable guest, guest no way can chat any  more!
Rememmber to check the button -  if you still see It say "Disable Guest" thats mean something wrong!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 02, 2011, 09:46:26 AM
The functions of the Italic button and Underline buttons are reversed - the Italic button causes underlined text, and the Underline button causes Italic text.  :P

Where do I change the color of the control button text (disable guest, clean, add smileys)? Now it's' white and I can barely read it.

Where do I set the refresh time of the chat box - I don't want it to refresh too often because my host might not like it!

When I click the Add Smileys button the smileys appear, but when I click the button again they do not disappear.

How can I add the chat box to the unread replies screen also?

After installing the Chat, I cannot use Home and End keys to move up and down the forum page. Before I could hit Home and it would go to the top of the forum, and End would move to the bottom of the forum.



I think it's just what I need, but I would suggest you add more and easier ways for the admin to customize it, maybe in a new update.

Thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 02, 2011, 06:10:13 PM
I think there is an error in one of your files.

From the file NChatBoardIndex.php

<button id="bold" onclick="NChat_format(this.id);" style="width:35px;font-weight:bold;color:black;">'.$txt['NChat_blod'].'</button>

Shouldn't this --> NChat_blod

be spelled like this --> NChat_bold
?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: duckydan69 on May 02, 2011, 07:04:07 PM
Is there any way to have this on every page in the forum (i.e. if I click on "General Chat" it stays up top) and not just the main page?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 02, 2011, 08:34:05 PM
Quote from: xrunner on May 02, 2011, 09:46:26 AM
The functions of the Italic button and Underline buttons are reversed - the Italic button causes underlined text, and the Underline button causes Italic text.  :P

Stupid misstake :D I will fix it soon!
Quote from: xrunner on May 02, 2011, 09:46:26 AM
Where do I change the color of the control button text (disable guest, clean, add smileys)? Now it's' white and I can barely read it.
You can do it by some css. add your css in your heaader or your index.css
Quote from: xrunner on May 02, 2011, 09:46:26 AM
Where do I set the refresh time of the chat box - I don't want it to refresh too often because my host might not like it!
Open the NChatSetting.php, you will find "time";i:3; change it to "time";i:5; gor 5 second for example.

Quote from: xrunner on May 02, 2011, 09:46:26 AM
When I click the Add Smileys button the smileys appear, but when I click the button again they do not disappear.
Have you try do the same with SMF editor or any orther forum editor....what if the user want :) :) :) triple icon? Well, you may do this by some javascript, maybe I will help you some other time.
Quote from: xrunner on May 02, 2011, 09:46:26 AM
How can I add the chat box to the unread replies screen also?
Sorry for my bad english, but I don't under stand what is your means.
Quote from: xrunner on May 02, 2011, 09:46:26 AM
After installing the Chat, I cannot use Home and End keys to move up and down the forum page. Before I could hit Home and it would go to the top of the forum, and End would move to the bottom of the forum.
this function still work fine for me, did you remember to click on the forum area? you will be unable to use Home or End key when the poointer in the replie text box

About the $txt['NChat_blod'] you can just forget it. Yup, its my bad english error but it will not hurt any forum function ;)

Thanks for you comment!

Quote from: duckydan69 on May 02, 2011, 07:04:07 PM
Is there any way to have this on every page in the forum (i.e. if I click on "General Chat" it stays up top) and not just the main page?


instead of edit the BoardIndex.template.php you edit the index.template.php as the same way.

Sory beacuse i do not help you but now I'm to busy, I just have enought time to replies :D maybe in the next two months there will be the next version which more flexible




Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 02, 2011, 08:40:08 PM
Thank you for your work on this mod - I have it running on my forum. Please continue to improve it in the time you have available.

Thank you.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Xarcell on May 03, 2011, 12:41:28 AM
yes, this mod seems interested. Looking forward to future development.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 04, 2011, 08:28:24 AM
Quote from: duckydan69 on May 02, 2011, 07:04:07 PM
Is there any way to have this on every page in the forum (i.e. if I click on "General Chat" it stays up top) and not just the main page?

That's what I'm trying to figure out.

I've placed

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


After this -

// The main content should go here.

echo '

<div id="content_section"><div class="frame">
<div id="main_content_section">';

// Custom banners and shoutboxes should be placed here, before the linktree.


and everywhere else I can think of in index.template.php and the chat box never shows up. Where in the file is the code supposed to go?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 04, 2011, 09:09:30 AM
@xrunner: you forgot something so the shoutbox does not show. Here is the step for showing the shoutbox before the link tree default themes:


1. in the function template_body_above()
{

add
global $boarddir, $boardurl;



2 Find:
   theme_linktree();
replace with:
   //NChat Mod
   //You can move this line to somewhere that you hope to see the chatbox

   require_once($boarddir."/NChat/NChatBoardIndex.php");
   theme_linktree();
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 04, 2011, 09:28:45 AM
OK it's working!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 04, 2011, 01:37:47 PM
Love the mod! Very simple.

But, on my themes it shows a black border around the chat box. Doesn't show the border on the default theme. It's not a HUGE deal but it looks bad. Anyway to edit the border out?  8)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 04, 2011, 10:38:00 PM
Quote from: roughkut on May 04, 2011, 01:37:47 PM
Love the mod! Very simple.

But, on my themes it shows a black border around the chat box. Doesn't show the border on the default theme. It's not a HUGE deal but it looks bad. Anyway to edit the border out?  8)

Did you now anything about html and css. If yes you can edit the border by adding some css in to the div tag...
I'm very bad as designing, when I erite the mod I wonder that shuold I do anything ... like a frame around the shoutbox, but i say no because i think it never suit for all the theme :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 05, 2011, 01:07:55 AM
Appreciate the reply, I tried to change the CSS from border-style: solid; to border-style: none;

I tried, dotted, thin, etc, etc, etc. Nothing seems to affect the border at all? Anyone know more about CSS that knows how to change it?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 05, 2011, 02:01:38 AM
Seems the border only shows up on firefox of all places. So maybe I'm doing the CSS wrong?

I'd also like to be able to float the text input box to the right of the coding boxes and make it smaller to make the shout a bit more compact. But nothing I'm doing seems to be affecting anything lol.

Anyone good with CSS?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 05, 2011, 02:26:10 AM
lol, I figured it out.

I put a couple of &nbsp next to the text box, changed the width to 50% and added a float left to the div container that starts the html code boxes.

It goes back to normal when you select smilies, but hey.. can't have it all.

Oh yeah, I had to add a br clear=left right after the text box or the whole forum below will float too. If this helps anyone.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 07, 2011, 07:15:47 PM
I tried to show the chat on all pages using your instructions. I cannot figure it out.

Does this work by editing the default theme? Or do you edit each theme? I tried both, it won't show up.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 07, 2011, 07:53:58 PM
Quote from: roughkut on May 07, 2011, 07:15:47 PM
Does this work by editing the default theme? Or do you edit each theme? I tried both, it won't show up.

I tried editing index.template.php in the default theme first and it didn't work. I was using a custom theme though, and when I edited the index.template.php file in the custom theme directory it appeared on all the pages. make sure you put in the new variables too - $boarddir, $boardurl;
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 07, 2011, 07:56:38 PM
Quote from: xrunner on May 07, 2011, 07:53:58 PM
Quote from: roughkut on May 07, 2011, 07:15:47 PM
Does this work by editing the default theme? Or do you edit each theme? I tried both, it won't show up.

I tried editing index.template.php in the default theme first and it didn't work. I was using a custom theme though, and when I edited the index.template.php file in the custom theme directory it appeared on all the pages. make sure you put in the new variables too - $boarddir, $boardurl;

Can I have a quick example of what you mean with the variables? I don't see this in the thread.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 07, 2011, 07:58:17 PM
Quote from: roughkut on May 07, 2011, 07:56:38 PM
Can I have a quick example of what you mean with the variables? I don't see this in the thread.

What you need to do is in this post by the Mod author -

http://www.simplemachines.org/community/index.php?topic=429695.msg3034990#msg3034990
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 07, 2011, 08:19:22 PM
Ok thanks bud! Works fine, must have missed this part. lol

Did we ever figure out how to get moderators working?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 07, 2011, 09:54:43 PM
Just wondering. Is there any chance of playing a small sound wav or flash when people post? I kinda miss that.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 08, 2011, 05:46:35 AM
Quote from: roughkut on May 07, 2011, 09:54:43 PM
Just wondering. Is there any chance of playing a small sound wav or flash when people post? I kinda miss that.
So....what people? You or someone else?
You just can do the thing (the sound when post) just for your seft - and there is no way for your freind! :))
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 09, 2011, 12:38:03 AM
IS there any way to use a submit button? Because it's not possible to chat from the PS3 browser. Enter brings up the ps3 on screen keyboard even with a keyboard plugged in.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 09, 2011, 09:15:51 AM
Quote from: roughkut on May 09, 2011, 12:38:03 AM
IS there any way to use a submit button? Because it's not possible to chat from the PS3 browser. Enter brings up the ps3 on screen keyboard even with a keyboard plugged in.

Just add:
<input type="button" value="Submit" onclick="NChat_sender(); return false;" />
affter the text feild.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 09, 2011, 11:45:49 PM
You are awesome! Thanks!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Luis- on May 10, 2011, 10:57:30 AM
I sound like such an idiot but how can I edit it by adding new colours to the colours tab?

- Luis.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 10, 2011, 11:47:11 AM
nvcnvn,

I know you are busy now, but I sincerely hope you can find time to make a second version and incorporate some additional suggestions in the future. I think with a few more improvements it's going to be the best shout box available for SMF.

Thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 10, 2011, 10:15:26 PM
Quote from: Luis Geramia on May 10, 2011, 10:57:30 AM
I sound like such an idiot but how can I edit it by adding new colours to the colours tab?

- Luis.

Luis, nothing idiot here! :)
You can open the NChatBoardIndex.php
FInd:

<option style="background: Orange;" value="Orange">'.$txt['NChat_orange'].'</option>

and add after

<option style="background: #c0c0c0;" value="#c0c0c0">Gray</option>

this will add the gray color (not sure this color called gray ornot ;)) my Enlgish very bad :D ). You should now something about RGB format for more color!


Hi xrunner!
Quote from: xrunner on May 10, 2011, 11:47:11 AM
I know you are busy now, but I sincerely hope you can find time to make a second version and incorporate some additional suggestions in the future.
yes, i'm trying but just one 1 or 1/2h per day so I thought the next version should be at the end of August. Hmm first year in university make me quite of busy and stress...! I'm waiting for the summer vacation at the end of July :(
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 12, 2011, 01:08:37 AM
Is it possible to make links clickable? Or is that a new feature on the next version?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 12, 2011, 03:40:41 AM
Quote from: roughkut on May 12, 2011, 01:08:37 AM
Is it possible to make links clickable? Or is that a new feature on the next version?
Nice guest! yes it will on the next version.
But maybe if you want you can:
Open NChatHandle.php Find:

function NChatParser($subject = ''){
global $NChat, $smilies;

Add after

// Only do this if the preg survives. These line is SMF's code :P
if (is_string($result = preg_replace(
'~(?<=[\s>\.(;\'"]|^)((?:http|https)://[\w\-_%@:|]+(?:\.[\w\-_%]+)*(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i'
,'<a href="$1" target="_blank">$1</a>'
, $subject)))
$subject = $result;
Title: Re: NChat - No SQL Save BW shoutbox
Post by: steeltape on May 12, 2011, 11:50:13 PM
how can i make so that guest can see the chat but not able to chat?
thanks.. great mod here
Title: Re: NChat - No SQL Save BW shoutbox
Post by: roughkut on May 13, 2011, 01:49:02 AM
Thank you, the code works! (But I had to make sure that wordwrap wasn't checked in notepad)  ;D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 13, 2011, 05:46:26 AM
Quote from: roughkut on May 13, 2011, 01:49:02 AM
Thank you, the code works! (But I had to make sure that wordwrap wasn't checked in notepad)  ;D
:D can you tell me more detail! the fact is my englsh very bad, and I not sure what is your means!

Quote from: steeltape on May 12, 2011, 11:50:13 PM
how can i make so that guest can see the chat but not able to chat?
thanks.. great mod here

1 Remeber to disable Guest.
2. Edit these code:
2a. Open NChatBoardIndex.php
find

if($NChatInfo['can_chat'] == true){
echo '

replace

if(true){
echo '


2b. Open NChatHandle.php
find

function NChatReader(){
global $NChat, $NChatInfo;
if($NChatInfo['can_chat'] == true){

replace

function NChatReader(){
global $NChat, $NChatInfo;
if(true){
Title: Re: NChat - No SQL Save BW shoutbox
Post by: steeltape on May 13, 2011, 11:39:56 PM
thanks that works  :laugh:
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 3voLutioN on May 17, 2011, 06:24:08 PM
hello...at first i have to say your Shoutbox is really great good work.....Now to my question...is it possible to change the Background of the Shoutbox?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 18, 2011, 05:22:14 AM
Quote from: 3voLutioN on May 17, 2011, 06:24:08 PM
hello...at first i have to say your Shoutbox is really great good work.....Now to my question...is it possible to change the Background of the Shoutbox?

Open NChatHandler.php
Find
<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;"></div>
Replace
<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;background-color:yellow;"></div>

For the background as yellow!

Have some fun!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 18, 2011, 07:05:09 PM
That background code doesn't have any effect on my forum. I tried many different colors and checked the code - it has no effect.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 18, 2011, 08:47:35 PM
Quote from: xrunner on May 18, 2011, 07:05:09 PM
That background code doesn't have any effect on my forum. I tried many different colors and checked the code - it has no effect.
So unusual!
Can I have you forum link with an ID?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 18, 2011, 08:56:41 PM
Quote from: nvcnvn on May 18, 2011, 08:47:35 PM

Can I have you forum link with an ID?

Just click on my banner - but I don't know what you mean by "id". If you want to register you can.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 18, 2011, 09:24:24 PM
hi xrunner
I'm not sure which browser platform you are using but I have tested in Google Chrome (Ubuntu 10.04)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 18, 2011, 09:27:24 PM
I use Firefox. It doesn't seem to work under that browser.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 18, 2011, 09:51:47 PM
Quote from: xrunner on May 18, 2011, 09:27:24 PM
I use Firefox. It doesn't seem to work under that browser.
I'm sure that there is a misstake here!
Please try to edit the code as I said, and reply this topic that I can sure that you edit it at the correct way!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Tomas1 on May 23, 2011, 03:59:18 AM
thise are my simple custom changes to the NChat MOD ( Browser - Mozzila Firefox ) :

Step 1 : Find and add these lines :

.../NChat/NChatBoardIndex.php

find -if($NChatInfo['can_chat'] == true){
echo '


add after - <center>
<span style="text-align:justify;color:red;text-shadow:4px 4px 8px #758ACC;"><blink><font size="4";>Oui5 General Chat[/color]</font></blink></span>
</center>
<p> </p>



find - <div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;"></div>

replace with - <div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;background-color:#DCE3E9;"></div>
<div style="height:35px;">
<p> </p>




find - <input id="NChat_input" onkeypress="if((event.keyCode == 13) && (this.value.length > 0)){ NChat_sender(); return false;}" contenteditable="true" style="width:100%;" />

replace with - <p> </p>
<center><blink><b><span style="color:darkblue;text-shadow:4px 4px 8px #758ACC;">Type here :</span></b><blink> <input id="NChat_input" onkeypress="if((event.keyCode == 13) && (this.value.length > 0)){ NChat_sender(); return false;}" contenteditable="true" style="width:70%;background-color:#DCE3E9" /></center>
<p> </p>
<hr>


New Full .../NChat/NChatBoardIndex.php will look like this :


<?php
//Now, some setiing for chating, make sure you know how to change it!
$NChat unserialize(file_get_contents($boarddir.'/NChat/NChatSetting.php'NULLNULL14));

$NChatInfo['url'] = $boardurl.'/NChat/index.php';
//Check if user can or not
//Set some value and change it
$NChatInfo['name']      = $context['user']['name'];
$NChatInfo['time']      = $context['current_time'];
$NChatInfo['NChatMess'] = $boarddir.'/NChat/'.$NChat['NChatMess'];
$NChatInfo['admin']     = false;
$NChatInfo['mod']       = false;
$NChatInfo['guest']     = false;
$NChatInfo['can_mod']   = false;
$NChatInfo['can_chat']  = true;
if(
$context['user']['is_admin']){
$NChatInfo['admin'] = true;
$NChatInfo['can_mod'] = true;
}
if(
$context['user']['is_mod'] && !$context['user']['is_admin']){
$NChatInfo['mod'] = true;
$NChatInfo['can_mod'] = true;
}
if(
$context['user']['is_guest']){
$NChatInfo['guest'] = true;
if($NChat['guest'] != true)
$NChatInfo['can_chat'] = false;
}
//Load Yahoo Smile to use if need!
if($NChat['smile'] == 1)
$smilies unserialize(file_get_contents($boarddir.'/NChat/NChatSmiles.txt'));

if(
$NChatInfo['admin'] == true){
echo '
<div id="NChat_tools">
<button onclick="NChat_ajax(\'NChat=clean\');">'
.$txt['NChat_clean'].'</button>
<button onclick="NChat_ajax(\'NChatSetting=guest&NChatSettingVal='
.($NChat['guest'] ? 'disableguest\');window.location.reload();">'.$txt['NChat_disable_guest'] : 'enableguest\');window.location.reload();">'.$txt['NChat_enable_guest']).'</button>';
echo '
</div><br />'
;
}
if(
$NChatInfo['can_chat'] == true){
echo '
<center>
<span style="text-align:justify;color:red;text-shadow:4px 4px 8px #758ACC;"><blink><font size="4";>Oui5 General Chat</font></blink></span>
</center>
<p> </p>
<div id="NChat_admin_shoutbox" style="width:100%;height:150px;overflow:auto;border-style:solid;border-width:0.5px;background-color:#DCE3E9;"></div>
<div style="height:35px;">
<p> </p>
<button id="bold" onclick="NChat_format(this.id);" style="width:35px;font-weight:bold;">'
.$txt['NChat_blod'].'</button>
<button id="underline" onclick="NChat_format(this.id);" style="width:35px;text-decoration:underline;">'
.$txt['NChat_underline'].'</button>
<button id="italic" onclick="NChat_format(this.id);" style="width:35px;font-style:italic;">'
.$txt['NChat_italic'].'</button>
<button onclick="document.getElementById(\'NChat_smiles\').style.display = \'block\';">'
.$txt['NChat_add_smileys'].'</button>
<select onchange="NChat_color();" id="NChat_color">
<option selected="selected" value="Black">'
.$txt['NChat_black'].'</option>
<option style="background: Red;" value="Red">'
.$txt['NChat_red'].'</option>
<option style="background: Teal;" value="Teal">'
.$txt['NChat_teal'].'</option>
<option style="background: Blue;" value="Blue">'
.$txt['NChat_blue'].'</option>
<option style="background: Green;" value="Green">'
.$txt['NChat_green'].'</option>
<option style="background: Brown;" value="Brown">'
.$txt['NChat_brown'].'</option>
<option style="background: Orange;" value="Orange">'
.$txt['NChat_orange'].'</option>
</select>
</div>'
;
if($NChat['smile'] == 1){
echo '
<div id="NChat_smiles" style="display:none;">'
;
$faces array_values($smilies);
$icons array_keys($smilies);
$i 0;
$j 0;
while($j<20){
if($faces[$i] != $faces[$i 1]){
echo '<span onclick="NChat_smile(this.id)" id="'.$icons[$i].'">'.$faces[$i].'</span>';
$j ++;
}
$i++;
}
echo '<a href="#" onclick="document.getElementById(\'NChat_smiles_2\').style.display = \'block\';">'.$txt['NChat_more_smileys'].'</a>
<div id="NChat_smiles_2" style="display:none;">'
;
for($j=$i;$j<=85;$j++){
if($faces[$j] != $faces[$j 1]){
echo '<span onclick="NChat_smile(this.id)" id="'.$icons[$j].'">'.$faces[$j].'</span>';
}
}
echo '
</div>
</div>'
;
}
echo '
<div>
<p> </p>
<center><blink><b><span style="color:darkblue;text-shadow:4px 4px 8px #758ACC;">Type here :</span></b><blink> <input id="NChat_input" onkeypress="if((event.keyCode == 13) && (this.value.length > 0)){ NChat_sender(); return false;}" contenteditable="true" style="width:70%;background-color:#DCE3E9" /></center>
<p> </p>
<hr>
</div>
<script type="text/javascript">
var refreshtime = '
.($NChat['time']*1000).';
var NChatUrl = "'
.$NChatInfo['url'].'";
var NChatInput = document.getElementById("NChat_input");
var format_bold = false;
var format_underline = false;
var format_italic = false;
function NChat_reload()
{
NChat_ajax("NChat=read");
reload = setTimeout("NChat_reload();",refreshtime);
}
function NChat_ajax(param)
{
var xmlhttp;
if (window.XMLHttpRequest){
xmlhttp = new XMLHttpRequest();
}else{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function(){
if(xmlhttp.readyState == 4){
if (xmlhttp.status == 200)
document.getElementById("NChat_admin_shoutbox").innerHTML = xmlhttp.responseText;
else
document.getElementById("NChat_admin_shoutbox").innerHTML = "<div class=\'errorbox\'>'
.$txt['NChat_index_unavailable'].'</div>";

}
}
//xmlhttp.open("GET", NChatUrl, true);
//xmlhttp.send();

xmlhttp.open("POST", NChatUrl, true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.setRequestHeader("Content-length", param.length);
xmlhttp.setRequestHeader("Connection", "close");
xmlhttp.send(param);
}
function NChat_replace(str)
{
str = str.replace(/\+/g, "%2B");
str = str.replace(/\&/g, "%26");
str = str.replace(/\#/g, "%23");
return str;
}
function NChat_format(what)
{
if(document.getElementById(what).innerHTML.length > 1) {
document.getElementById(what).innerHTML = document.getElementById(what).innerHTML[0];
if(what == "bold"){
NChatInput.style.fontWeight = "normal";
format_bold = false;
}
if(what == "italic"){
NChatInput.style.fontStyle = "normal";
format_italic = false;
}
if(what == "underline"){
NChatInput.style.textDecoration = "none";
format_underline = false;
}
}else{
document.getElementById(what).innerHTML += "*";
if(what == "bold"){
NChatInput.style.fontWeight = "bold";
format_bold = true;
}
if(what == "italic"){
NChatInput.style.fontStyle = "italic";
format_italic = true;
}
if(what == "underline"){
NChatInput.style.textDecoration = "underline";
format_underline = true;
}
}
NChatInput.focus();
}
function NChat_color()
{
NChatInput.style.color = document.getElementById(\'NChat_color\').value;
NChatInput.focus();
}
function NChat_smile(what)
{
NChatInput.value += what;
NChatInput.focus();
}
function NChat_sender()
{
var formatString = "";
if(format_bold) formatString += "&&bold=true";
if(format_underline) formatString += "&&underline=true";
if(format_italic) formatString += "&&italic=true";
formatString += "&&color=" + document.getElementById("NChat_color").value;
sender = NChat_ajax("NChat=write&&NChat_mess=" + NChat_replace(NChatInput.value) + formatString);
clearTimeout(reload);
NChat_reload();
NChatInput.value = "";
}
NChat_reload();
window.onunload = function() {
clearTimeout(reload);
};
</script>'
;
}
?>




Nice MOD dude thx for sharing it

The result will be this :

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fm%2F69%2F1640%2Fqqqqza.jpg&hash=5508c9e10c433c5438e1a93502d32cd4f78521fb)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 23, 2011, 08:41:37 AM
Very nice, Tomas :X
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Tomas1 on May 23, 2011, 08:52:12 AM
thx

i also add this tutorial for : How to add free secured live chat to SMF 2.0 RC5 forums

http://www.simplemachines.org/community/index.php?topic=435101.0

Best regards,

Tom
Title: Re: NChat - No SQL Save BW shoutbox
Post by: AzorMachine on May 26, 2011, 09:26:19 AM
Hi.
Is there a simple way to show the members that are online in the chat?


Best Regards
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 26, 2011, 08:50:40 PM
Quote from: AzorMachine on May 26, 2011, 09:26:19 AM
Is there a simple way to show the members that are online in the chat?

I don't mean to speak for the author, but I'm pretty sure whoever is logged into the forum is automatically an online chatter, effectively (unless guests are allowed to chat).
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Tomas1 on May 27, 2011, 04:55:14 AM
this is a global forum chat, not individual , all online members will be also online for chat too, by default

in the next update will be included :

Future Developments:
Ability to set:
+ Chat Window refresh time (default : 3s)
+ Number of messages shown in the window (25)
+ Set maximum length of each message
+ Turn On/off censor (On by default right now)
+ Turn On/off smilies, bbcode support, etc
+ Admin, Mod, Guest user colors in chat
+ Archive function
+ Channel chat (private chat with one person)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: AzorMachine on May 30, 2011, 09:52:56 AM
You two are wrong, if I didn't use it inside my board.

I can use it acessing the link : www.mycommunity.com/forum/chat

What I want to show, are the users online on that page.


Best Regards.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on May 30, 2011, 09:56:41 AM
Quote from: AzorMachine on May 30, 2011, 09:52:56 AM
You two are wrong, if I didn't use it inside my board.

I can use it acessing the link : www.mycommunity.com/forum/chat


I get a 404 Not Found error when I try to go to that link.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: AzorMachine on May 30, 2011, 10:23:13 AM
Err, www.mycommunity.com was a example adress...

But you can acess my website chat, here : http://reinorpg.com/forum/chat/
The design is WIP, so don't get over it.


Best Regards.
Title: I need help :S
Post by: K33NY on May 30, 2011, 02:36:13 PM
Hello I need help

Im trying to make this mod work but when installing i get this error : unavailable (see picture)

with some editing in FTP I can manage to make "work" but with an error saying undefined index (picture)


I allso noticed that when writing when having it working with the other error, background is black as well as The letters, how to i get rid of the errors and make a different background color?



Thanks

K33NY
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Xarcell on May 30, 2011, 03:07:27 PM
Quote from: K33NY on May 30, 2011, 02:36:13 PM
Hello I need help

Im trying to make this mod work but when installing i get this error : unavailable (see picture)

with some editing in FTP I can manage to make "work" but with an error saying undefined index (picture)


I allso noticed that when writing when having it working with the other error, background is black as well as The letters, how to i get rid of the errors and make a different background color?



Thanks

K33NY

try disabling TP or the other shoutbox. Report back any changes.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: K33NY on May 30, 2011, 03:20:17 PM
No changes :( i tried several values of the files in FTP 777, 745 etc etc etc I cant seem to make it work :S
Title: Re: NChat - No SQL Save BW shoutbox
Post by: K33NY on May 30, 2011, 04:00:15 PM
Is it allso possible to make it show in frontpage?and inside forum topics?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 31, 2011, 03:48:20 AM
Quote from: K33NY on May 30, 2011, 02:36:13 PM
Hello I need help

Im trying to make this mod work but when installing i get this error : unavailable (see picture)

with some editing in FTP I can manage to make "work" but with an error saying undefined index (picture)


I allso noticed that when writing when having it working with the other error, background is black as well as The letters, how to i get rid of the errors and make a different background color?



Thanks

K33NY
For the bg color see: http://www.simplemachines.org/community/index.php?topic=429695.msg3047991#msg3047991
The other issue... I never try TP, so I can give you any suggestion!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: AzorMachine on May 31, 2011, 05:58:11 AM
Quote from: AzorMachine on May 26, 2011, 09:26:19 AM
Hi.
Is there a simple way to show the members that are online in the chat?


Best Regards

Please, a answer?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 31, 2011, 06:19:38 AM
Quote from: AzorMachine on May 31, 2011, 05:58:11 AM
Hi.
Is there a simple way to show the members that are online in the chat?


Best Regards
Sr, I forget this, the answer is:
There is no simple way to do this!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: SG Whiteout on May 31, 2011, 08:20:21 PM
Okay, so I am getting a similar issue to the guy who posted on the second page. I installed the mod, and it said that the mod was installed successfully. The chat box shows up on the front page of my forum, but right above it, it says "The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!" I cannot post in the chat box, but it is visible and appears to be functional except that message.

Anyone have any ideas what could be wrong? Thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on May 31, 2011, 08:53:36 PM
Quote from: SG Whiteout on May 31, 2011, 08:20:21 PM
Okay, so I am getting a similar issue to the guy who posted on the second page. I installed the mod, and it said that the mod was installed successfully. The chat box shows up on the front page of my forum, but right above it, it says "The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!" I cannot post in the chat box, but it is visible and appears to be functional except that message.

Anyone have any ideas what could be wrong? Thanks.

Have you try my note?
Quote
****NOTE***
+Remeber to CHMOD these file, folder to Wirteable:
./NChat/NChatSetting.php
./NChat/NChatMess.php

+If you see the unavailable error message, make sure you can access your ./NChat/index.php
+If you got a 500 error when access ./NChat/index.php (directly in browser)try CHMOD these file to 0644:
./NChat/index.php
./NChat/NChatHandle.php
./NChat/NChatBoardIndex.php
Title: Re: NChat - No SQL Save BW shoutbox
Post by: SG Whiteout on May 31, 2011, 10:47:32 PM
Yes, I got it to work.

Thank you!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on June 08, 2011, 08:34:02 AM
using smf 2.0 rc5, tiny portal

installed nchat and it turned off the tp shoutbox, which is fine if we are going to use the nchat mod BUT

when the chat window came up we got this error message and for the life of me I have no clue why it is looking for something in the tpsubs file.


Notice:  Undefined index:  show_download in .../Source.php on line 201

that line deals with the tiny portal downloads part and I even turn off shoutbox and downloads removing the block for shoutbox too and yet it still came with that error

is it not compatible to use with tiny portal mod?

Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 08, 2011, 09:13:06 AM
Quote from: DarkAngel612 on June 08, 2011, 08:34:02 AM
using smf 2.0 rc5, tiny portal

installed nchat and it turned off the tp shoutbox, which is fine if we are going to use the nchat mod BUT

when the chat window came up we got this error message and for the life of me I have no clue why it is looking for something in the tpsubs file.


Notice:  Undefined index:  show_download in .../Source.php on line 201

that line deals with the tiny portal downloads part and I even turn off shoutbox and downloads removing the block for shoutbox too and yet it still came with that error

is it not compatible to use with tiny portal mod?


Yes, I not sure why, never try TP so for now ....I cannot tell any thing else.
I will try to fix this issue if I can!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on June 08, 2011, 10:59:48 AM
Quote from: nvcnvn on June 08, 2011, 09:13:06 AM
Quote from: DarkAngel612 on June 08, 2011, 08:34:02 AM
using smf 2.0 rc5, tiny portal

installed nchat and it turned off the tp shoutbox, which is fine if we are going to use the nchat mod BUT

when the chat window came up we got this error message and for the life of me I have no clue why it is looking for something in the tpsubs file.


Notice:  Undefined index:  show_download in .../Source.php on line 201

that line deals with the tiny portal downloads part and I even turn off shoutbox and downloads removing the block for shoutbox too and yet it still came with that error

is it not compatible to use with tiny portal mod?


Yes, I not sure why, never try TP so for now ....I cannot tell any thing else.
I will try to fix this issue if I can!

alright, I have uninstalled it for now but would love to have it work with Tiny Portal
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on June 08, 2011, 04:55:40 PM
just to let you know that Tiny Portal sent me the adjustment to their file to get it to behave with the portalThis is an error that I've fixed in the next release of TP. If you go to that line #201 in TPSubs.php you will see something like this:
Code: if($context['TPortal']['show_download'] == 0)
Change it to this:
Code: if(!empty($context['TPortal']['show_download']))
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on June 08, 2011, 06:32:21 PM
sorry if i missed it in all the answers here but so far i have got it to show on all pages, added a space between the box and the bbc buttons, fixed it so the I and U are no longer reversed and the B shows now too. A nice silver border and a submit button. font color is set now too for both the input box and the main area.

how to get the member group colors to show in the box for members?

is there a way to set the time stamp to be universal to show for everyone, something like month/date/year/time for instance 06/08/2011 then the time?

also -- sometimes when it refreshes or we go from one page to another in the forum I get that "unavailable message too. Is there a way to disable that message or if it is to show the page is refreshing....where to change the text
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 09, 2011, 12:04:19 AM
Quote from: DarkAngel612 on June 08, 2011, 06:32:21 PM
how to get the member group colors to show in the box for members?
For now Just 3 simple color gruops: admin, supper mod and all the left as member.
There is no simple way to do that, I thought... but I'm thinking about that.

Quote from: DarkAngel612 on June 08, 2011, 06:32:21 PM
is there a way to set the time stamp to be universal to show for everyone, something like month/date/year/time for instance 06/08/2011 then the time?
The mod timestamp is forum timestamp (you can edit in the Features and Options)

Quote from: DarkAngel612 on June 08, 2011, 06:32:21 PM
also -- sometimes when it refreshes or we go from one page to another in the forum I get that "unavailable message too. Is there a way to disable that message or if it is to show the page is refreshing....where to change the text
You can edit the message in Modifications.english.php
I'm asking my freind abuot javascript even and hope some one will help :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on June 09, 2011, 01:27:59 AM
ok we can make do with only 3 colors right now...lol

I will look again in the features and options area, am seeing blurry from going through each and every page in admin...whew

I shall look at modification file to edit wording but wierd...it seems to have gone away for now

the smilies that it uses are they located somewhere else and not in the smileys folder.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 09, 2011, 06:04:30 AM
Quote from: DarkAngel612 on June 09, 2011, 01:27:59 AM
I will look again in the features and options area, am seeing blurry from going through each and every page in admin...whew
...................
the smilies that it uses are they located somewhere else and not in the smileys folder.
For forum timestamp: Features and Options >> General >> Default time format
The smiles come from Yahoo as the feature of the MOD
Quote from: K33NY on June 09, 2011, 05:58:01 AM
Is it possible to assign other groups, color?
Not for now.....
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Vrooom on June 14, 2011, 02:56:16 PM
Quote from: nvcnvn on April 24, 2011, 12:47:52 AM
Quote from: azjeepclub on April 23, 2011, 11:39:40 AM
That worked, only when the page loads or is refreshed it is showing the oldest and I have to scroll down to see the newest each time the page gets loaded. Any quick fix?

Where do I donate for the cause?
Yes, you can do it, quite of simple, just a single javascript line.
But it work not exaclly in IE, but 100% in FF, GC and Opera.

Add this line before the end of NChatMod javascript block

document.getElementById("NChat_admin_shoutbox").scrollTop = 2500;

It's not working, really. I was trying that before read this post... and after that too. Sorry for my bad english.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 14, 2011, 08:17:43 PM
Quote from: Vrooom on June 14, 2011, 02:56:16 PM
It's not working, really. I was trying that before read this post... and after that too. Sorry for my bad english.

Wait for the next version of the Mod coming soon!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BeingSimplest on June 14, 2011, 10:24:21 PM
What did you do with the looping in the mod? I couldn't really install it since my browsers detected never-ending loops and returned faults. Have a check soon (:

PS: great to see a Vietnamese here :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 14, 2011, 11:36:49 PM
Quote from: BeingSimplest on June 14, 2011, 10:24:21 PM
What did you do with the looping in the mod? I couldn't really install it since my browsers detected never-ending loops and returned faults. Have a check soon (:

PS: great to see a Vietnamese here :D
Quote from: BeingSimplest on June 14, 2011, 10:24:21 PM
What did you do with the looping in the mod? I couldn't really install it since my browsers detected never-ending loops and returned faults. Have a check soon (:
Sory but when you see it and where!?
Did you see the live demo here!? http://forum.thi.vn/
And what is your browser (anme and version!)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BeingSimplest on June 15, 2011, 12:06:54 AM
When I installed it on my server @ vnsp-community.net, have a look.

I used SMF's package installer to do the job, but the browser returns faults, both with Chrome and Firefox.

See these images:

1) Chrome: trisle.net/pictures/chrome.png
2) Firefox: trisle.net/pictures/firefox.png

The fault basically means that there are too many loops/redirects that can never end. Maybe I will lock at the script myself to see what happens...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 15, 2011, 12:39:10 AM
Quote from: BeingSimplest on June 15, 2011, 12:06:54 AM
When I installed it on my server @ vnsp-community.net, have a look.

I used SMF's package installer to do the job, but the browser returns faults, both with Chrome and Firefox.

See these images:

1) Chrome: trisle.net/pictures/chrome.png
2) Firefox: trisle.net/pictures/firefox.png

The fault basically means that there are too many loops/redirects that can never end. Maybe I will lock at the script myself to see what happens...
Oh men! Thats some issue link to the package installation sytem, not my mod! Try to logout, delete all cookies and install agian!



Bạn ơi, đó là vấn đề liên quan tới hệ thống cài đặt, chứ đâu phải do gói Mod! Thử đăng xuất, xòa hết cookies rồii cài lại thử nhé!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BeingSimplest on June 15, 2011, 12:54:46 AM
It is possibly a server configuration issue, not the cookies/cache's since all the other mods are installed properly.

It works on my localhost as well, will try to install it manually.

Anyway, cám ơn (:
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 15, 2011, 11:25:37 AM
Quote from: BeingSimplest on June 15, 2011, 12:54:46 AM
It is possibly a server configuration issue, not the cookies/cache's since all the other mods are installed properly.

It works on my localhost as well, will try to install it manually.

Anyway, cám ơn (:
You should try the lasted version of this mod now available from download!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Wintaru on June 16, 2011, 10:19:54 AM
Is it possible to put the configuration options in the Admin pages somewhere?  I like the mod, but having to stare at all of those configuration options are making me want to disable it.  I apologize if there is a way to hide them that I'm not seeing.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 16, 2011, 10:32:28 AM
Quote from: Wintaru on June 16, 2011, 10:19:54 AM
Is it possible to put the configuration options in the Admin pages somewhere?  I like the mod, but having to stare at all of those configuration options are making me want to disable it.  I apologize if there is a way to hide them that I'm not seeing.

Just simple open the NChatBoardIndex.php
Find:
if($NChatInfo['admin'] == true)
Replace with:
if(false)

When you want to modify some thing, just visit: your-domain.com/forum/NChat/index.php
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Wintaru on June 16, 2011, 12:10:31 PM
Quote from: nvcnvn on June 16, 2011, 10:32:28 AM
Quote from: Wintaru on June 16, 2011, 10:19:54 AM
Is it possible to put the configuration options in the Admin pages somewhere?  I like the mod, but having to stare at all of those configuration options are making me want to disable it.  I apologize if there is a way to hide them that I'm not seeing.

Just simple open the
Find:
if($NChatInfo['admin'] == true)
Replace with:
if(false)

When you want to modify some thing, just visit: your-domain.com/forum/NChat/index.php

Awesome, thank you!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Vrooom on June 17, 2011, 06:42:14 AM
Quote from: nvcnvn on June 14, 2011, 08:17:43 PM
Quote from: Vrooom on June 14, 2011, 02:56:16 PM
It's not working, really. I was trying that before read this post... and after that too. Sorry for my bad english.

Wait for the next version of the Mod coming soon!

It's ok now, nice solution. ty!
What about time? You can make options "show time" and "time format". Using $context['current_time'] for base ofc...

Also making nicks clickable for fast reply
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 17, 2011, 08:36:44 AM
Quote from: Vrooom on June 17, 2011, 06:42:14 AM
It's ok now, nice solution. ty!
What about time? You can make options "show time" and "time format". Using $context['current_time'] for base ofc...

Also making nicks clickable for fast reply
The time format is your forum time format!
Thanks for your suggestion I will add these future for the next version of this Mod
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Vrooom on June 18, 2011, 04:13:20 AM
Quote from: nvcnvn on June 17, 2011, 08:36:44 AM
Quote from: Vrooom on June 17, 2011, 06:42:14 AM
It's ok now, nice solution. ty!
What about time? You can make options "show time" and "time format". Using $context['current_time'] for base ofc...

Also making nicks clickable for fast reply
The time format is your forum time format!
Thanks for your suggestion I will add these future for the next version of this Mod

I mean to make option to reformat time format in chat :) I hardcoded your chat in my own format - just time [XX:XX]Nick:message, coz my forum time format is too long [Month 18, 2011, 11:01:36] and users with low resolution and small monitors making me crazy :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 18, 2011, 09:15:17 AM
Quote from: Vrooom on June 18, 2011, 04:13:20 AM
I mean to make option to reformat time format in chat :) I hardcoded your chat in my own format - just time [XX:XX]Nick:message, coz my forum time format is too long [Month 18, 2011, 11:01:36] and users with low resolution and small monitors making me crazy :)
Oh, I see! I will spend time for that!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on June 19, 2011, 12:34:20 PM
Oh my gosh ... Why did you put all those configuration settings at the top of the chat box! Oh please, please put all that stuff on a configuration page under "Modifications"!

Also, can you please tell me how to remove that entire Horizontal Admin help bar? It's taking up too much room vertically. It would be better if all that configuration and help was placed under Admin - Configuration - Modification Settings - that's really where it's supposed to go.

Thanks for your work on improving this mod.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on June 19, 2011, 06:35:12 PM
Oops - found another small bug.

When "Last line on top" is selected, and a new Shout is made, all the existing shouts automatically move down and you can see the new shout.

But, if "First line on top" is selected, and a new shout is entered, the existing shouts do not automatically move up. You need to move the scroll bar at the right to see the new shouts. This should be corrected so the new shouts move up automatically, like they do when "Last line on top" is selected.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 20, 2011, 04:22:54 AM
You have not read my note (http://thismod.com/community/index.php?topic=3.0) yet...
Quote from: xrunner on June 19, 2011, 12:34:20 PM
Oh my gosh ... Why did you put all those configuration settings at the top of the chat box! Oh please, please put all that stuff on a configuration page under "Modifications"!

Also, can you please tell me how to remove that entire Horizontal Admin help bar? It's taking up too much room vertically. It would be better if all that configuration and help was placed under Admin - Configuration - Modification Settings - that's really where it's supposed to go.

Thanks for your work on improving this mod.
1 To let it on the Modification Settings it will take more time! The thing is I quite of busy so I choose this way.
2 There is a point for that, for some setting the admin can edit the setting and see the changes immediately, but it really a mess so 3 show you how to hide it.
3 See http://www.simplemachines.org/community/index.php?topic=429695.msg3077644#msg3077644
Just you, an Admin can see the setting area so I do not thing it taking to much room.
Quote from: xrunner on June 19, 2011, 06:35:12 PM
Oops - found another small bug.

When "Last line on top" is selected, and a new Shout is made, all the existing shouts automatically move down and you can see the new shout.

But, if "First line on top" is selected, and a new shout is entered, the existing shouts do not automatically move up. You need to move the scroll bar at the right to see the new shouts. This should be corrected so the new shouts move up automatically, like they do when "Last line on top" is selected.
This is not a bug!
I sure that there is a message that say you should reload the page to take effect for this setting!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on June 20, 2011, 08:30:33 AM
Quote from: nvcnvn on June 20, 2011, 04:22:54 AM
1 To let it on the Modification Settings it will take more time! The thing is I quite of busy so I choose this way.
2 There is a point for that, for some setting the admin can edit the setting and see the changes immediately, but it really a mess so 3 show you how to hide it.
3 See http://www.simplemachines.org/community/index.php?topic=429695.msg3077644#msg3077644
Just you, an Admin can see the setting area so I do not thing it taking to much room.

Yes, I know how to hide the settings box, but I don't even want to see the Admin help bar - it doesn't belong there, it belongs in the Mod configuration area.

If it takes too much time for you at the moment then so be it, but it still needs to be located in the proper area. I appreciate your efforts on the mod, but It takes up more space than the previous version and it doesn't look as good on my forum. I hope you can find the time later to move it all to the proper area. I don't even want the single Admin help line there, It's taking up vertical space that I don't want to lose. To compensate for the loss of vertical space by that Admin help bar, how could the "Save" button be moved to the front of the text entry box, making them both on the same line? That would save vertical space. How could I do that?

Quote from: xrunner on June 19, 2011, 06:35:12 PM
Oops - found another small bug.

When "Last line on top" is selected, and a new Shout is made, all the existing shouts automatically move down and you can see the new shout.

But, if "First line on top" is selected, and a new shout is entered, the existing shouts do not automatically move up. You need to move the scroll bar at the right to see the new shouts. This should be corrected so the new shouts move up automatically, like they do when "Last line on top" is selected.

Quote
This is not a bug!

Well, I do think it's a bug, I've used other shout boxes that put the newest shouts on the bottom and they scroll up automatically. Your shout box scrolls them all down automatically when the Last line on top mode is selected, but it doesn't scroll them up automatically when first line on top is selected. That's a bug in my book. I don't mean to seem unappreciative of your work, but a bug is a bug.

Quote
I sure that there is a message that say you should reload the page to take effect for this setting!

There is no message telling you to reload the page ... Have you tried it yourself? Anyway - reloading the page doesn't fix the bug. I'm not even sure exactly what it is you are trying to tell me here. I'm not saying the first line on top mode is not working at all, I'm saying it doesn't automatically scroll the responses upwards like it should. You should not have to move the scroll bar every time a new shout is entered in this mode. Do you understand what I'm telling you? Do I need to explain it better? I don't want to use that mode if all my members have to scroll the shout box responses up every time they enter a new shout.

Maybe I'd better make another post with a picture of what is going on.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 20, 2011, 09:35:16 AM
maybe I will moe the admin setting area to the right way but not right now, maybe it look ugly, but just only you can see it not your member! And...
1. what is the Admin help bar  you are talking about?
2. If you do not like Admin message line, open NChatBoardIndex.php
FInd and remove:
<div class="title_barIC"><h4 class="titlebg">'.parse_bbc($NChat['admin_mess']).'</h4></div>
3. Try to download the mod agian, I not sure but I remember that I have upload the wrong file, after that (about 10 min) I have delete and upload the new one, so just download and try agian!

If there still the issue, so what is your Browser?
I have some test in:
Google Chrome 12.0.742.100 (windows 7 and Ubuntu 10.04)
FireFox 4.0.1 (windows 7) 3.5 (ubuntu 10.04)
Internet Explorer 9 (windows 7)

here I have a demo clip:
http://www.youtube.com/watch?v=Fx9mWcR3y4Y
Title: Re: NChat - No SQL Save BW shoutbox
Post by: xrunner on June 21, 2011, 11:26:36 AM
Quote from: nvcnvn on June 20, 2011, 09:35:16 AM
maybe I will moe the admin setting area to the right way but not right now, maybe it look ugly, but just only you can see it not your member! And...
1. what is the Admin help bar  you are talking about?
2. If you do not like Admin message line, open NChatBoardIndex.php
FInd and remove:
<div class="title_barIC"><h4 class="titlebg">'.parse_bbc($NChat['admin_mess']).'</h4></div>

OK, thanks, that's what I wanted to remove.

Quote
here I have a demo clip:
http://www.youtube.com/watch?v=Fx9mWcR3y4Y

OK, the video helped break the language barrier. I now have the shouts scrolling properly.

Thanks again.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Inti31 on June 22, 2011, 09:26:01 AM
Okay - I tested it on my testboard - nice... - and easy... - thx for that.

uhm, I won't talk again about layout - I know, only the admin sees that setting area... - I don't care... I use another NChatBoardindex.php (http://www.simplemachines.org/community/index.php?topic=429695.msg3052344#msg3052344) (thx tomas1 ) and that is fine...

If there is need to modify the settings, it easy to rename and (re-rename) that file via ftp....

one question - don't know if this is asked before - I miss the collapse/expand button to this chat like every board/category has it....
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 22, 2011, 10:10:02 AM
Quote from: Inti31 on June 22, 2011, 09:26:01 AM
Okay - I tested it on my testboard - nice... - and easy... - thx for that.

uhm, I won't talk again about layout - I know, only the admin sees that setting area... - I don't care... I use another NChatBoardindex.php (http://www.simplemachines.org/community/index.php?topic=429695.msg3052344#msg3052344) (thx tomas1 ) and that is fine...

If there is need to modify the settings, it easy to rename and (re-rename) that file via ftp....

one question - don't know if this is asked before - I miss the collapse/expand button to this chat like every board/category has it....

my testforum (http://aida32-inventory.netboom.de/smf/index.php?action=forum)
Sorry but NChat does not have  the collapse/expand function!
Thanks for using this mod!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: NikolaCruss on June 22, 2011, 07:04:52 PM
Quote from: Vrooom on June 18, 2011, 04:13:20 AM
Quote from: nvcnvn on June 17, 2011, 08:36:44 AM
Quote from: Vrooom on June 17, 2011, 06:42:14 AM
It's ok now, nice solution. ty!
What about time? You can make options "show time" and "time format". Using $context['current_time'] for base ofc...

Also making nicks clickable for fast reply
The time format is your forum time format!
Thanks for your suggestion I will add these future for the next version of this Mod

I mean to make option to reformat time format in chat :) I hardcoded your chat in my own format - just time [XX:XX]Nick:message, coz my forum time format is too long [Month 18, 2011, 11:01:36] and users with low resolution and small monitors making me crazy :)

Tatts just what I need, can you explain how you have managed that? Chat is GREAT, thats only thing i want to change, through this topic you all have solved prety all :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 22, 2011, 08:49:33 PM
Quote from: NikolaCruss on June 22, 2011, 07:04:52 PM
Tatts just what I need, can you explain how you have managed that? Chat is GREAT, thats only thing i want to change, through this topic you all have solved prety all :)

These steps will help you do it (it may take you ONE LONG NIGHT to .............sleep well with pleasure :D)
For example, open the NChatHandle.php, find:
$NChatInfo['time']      = $context['current_time'];
replace with:
$NChatInfo['time']      = date("H:i");

The time is now (Hour 00 - 23 : minute  00 - 59)
for more format see : http://www.php.net/manual/en/function.date.php
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on June 26, 2011, 11:05:21 AM
Before installing it, i have some questions...
Can you edit the permissions for each membergroup? Like can i block regular members to see it or maybe open to see but no access to write?
Which translations you have so far? I can help you with Turkish translation if i end up installing it.

Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 27, 2011, 04:35:37 AM
Quote from: PLAYBOY on June 26, 2011, 11:05:21 AM
Before installing it, i have some questions...
Can you edit the permissions for each membergroup? Like can i block regular members to see it or maybe open to see but no access to write?
Which translations you have so far? I can help you with Turkish translation if i end up installing it.


This mod does not have the permissions for each membergroup, just 2 option (read-only or disable) for guest!
For now I just have only English, I really appreciate if you help me with Turkish
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jaisi on June 27, 2011, 12:14:25 PM
Quote from: nvcnvn on June 16, 2011, 10:32:28 AM
Quote from: Wintaru on June 16, 2011, 10:19:54 AM
Is it possible to put the configuration options in the Admin pages somewhere?  I like the mod, but having to stare at all of those configuration options are making me want to disable it.  I apologize if there is a way to hide them that I'm not seeing.

Just simple open the NChatBoardIndex.php
Find:
if($NChatInfo['admin'] == true)
Replace with:
if(false)

When you want to modify some thing, just visit: your-domain.com/forum/NChat/index.php


i have changed that setting but still showing admin help messenge in please help me how to remove that option
here is my nchatbordindex.php file
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on June 28, 2011, 12:09:28 AM
QuoteFor now I just have only English, I really appreciate if you help me with Turkish

Put all the texts that needs to be translated and i will help you if they are not so much.

Do you think you can add permissions for each membergroup to see/read only/participate?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 28, 2011, 05:11:56 AM
Quote from: PLAYBOY on June 28, 2011, 12:09:28 AM
Put all the texts that needs to be translated and i will help you if they are not so much.

Do you think you can add permissions for each membergroup to see/read only/participate?
The permission will be in the next version.

Quote from: jaisi on June 27, 2011, 12:14:25 PM
i have changed that setting but still showing admin help messenge in please help me how to remove that option
here is my nchatbordindex.php file
here is what you need: http://www.simplemachines.org/community/index.php?topic=429695.msg3082193#msg3082193
Title: Re: NChat - No SQL Save BW shoutbox
Post by: studiowi33 on June 28, 2011, 11:59:28 AM
VERY nice mod, and Very nice support!

Thank you for taking the time to help us ppl that aren't coders!

-s.w
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on June 28, 2011, 06:08:53 PM
$txt['NChat_chatbox'] = 'Sohbet Kutusu';
$txt['NChat_save'] = 'Kaydet';
$txt['NChat_clean'] = 'Hepsini Temizle';

$txt['NChat_blod'] = 'B';
$txt['NChat_italic'] = 'I';
$txt['NChat_underline'] = 'U';

$txt['NChat_default_color'] = 'Varsayilan Renk';
$txt['NChat_red'] = 'Kirmizi';
$txt['NChat_teal'] = 'Teal';
$txt['NChat_blue'] = 'Mavi';
$txt['NChat_green'] = 'Yesil';
$txt['NChat_brown'] = 'Kahve';
$txt['NChat_orange'] = 'Portakal';

$txt['NChat_order_last'] = 'En ustteki son satir';
$txt['NChat_order_first'] = 'En ustteki ilk satir';

$txt['NChat_disable_guest'] = 'Misafirlere kapat';
$txt['NChat_readonly_guest'] = 'Misafirler sadece gorsun';
$txt['NChat_enable_guest'] = 'Misafirlerin kullanimina ac';

$txt['NChat_add_smileys'] = 'Gulumseme ekle';
$txt['NChat_more_smileys'] = 'daha fazla...';
$txt['NChat_disable_smileys'] = 'Gulumsemeleri kapat';
$txt['NChat_smf_smileys'] = 'SMF Smiles';
$txt['NChat_ym_smileys'] = 'Yahoo Smiles';

$txt['NChat_disable_auto_link'] = 'Auto-linki Kapat';
$txt['NChat_enable_auto_link'] = 'Auto-linki Ac';

$txt['NChat_disable_consensor'] = 'Sansurlu kelimeleri kapat';
$txt['NChat_enable_consensor'] = 'Sansurlu kelimeleri ac';

$txt['NChat_time_reload'] = ' Yenileme saniyesi';

$txt['NChat_line_show'] = ' mesajlar sohbette gorulecek';

$txt['NChat_lenght_show'] = ' kadar her mesajin uzunlugu olacak';

$txt['NChat_admincolor_edit'] = 'Admin rengini degistir';

$txt['NChat_modcolor_edit'] = 'Mod rengini degistir';

$txt['NChat_memcolor_edit'] = 'Uye rengini degistir';

$txt['NChat_guestcolor_edit'] = 'Misafir rengini degistir';

$txt['NChat_textcolor_edit'] = 'Varsayilan yazi rengini degistir';

$txt['NChat_bgcolor_edit'] = 'Arka plan rengini degistir';

$txt['NChat_admin_mess'] = 'Admin mesajini degistir';

$txt['NChat_edit_success'] = 'Degisim basarili! Etkilesim icin yenileyin!';
$txt['NChat_so_fast'] = 'Yavas! Cok hizli yaziyorsunuz!!';
$txt['NChat_empty_mess'] = 'Mesaj bos!';
$txt['NChat_index_unavailable'] = 'The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!';

I think it would be lot better to have an option of writing color of each membergroup set to their own membergroup color. Like admin is gonna write in red etc. I am waiting for the update to install it to my forum. Let me know what other translations you need with the update.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 29, 2011, 09:03:03 AM
Yes, thanks PLAYBOY
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jessica. on June 29, 2011, 02:59:46 PM
is it possible for you to put the Admin settings in a spoiler so you can hide and show them at will?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jessica. on June 29, 2011, 04:24:33 PM
it's not letting me change the Admin color


edit: never mind, I thought it would change all the posts with my name but apparently the newest one I made after I tried changing did change color -_-
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Perspective on June 29, 2011, 10:14:14 PM
Implemented on my 2.0 version and works great!
The settings on the top of the chat are fine in my opinion; it's simply to edit everything very quick.
Very nice, simple, clean mod!
Congratulations nvcnvn & keep up the good work!

Later edit:
1 suggestion for the next release: some kind of "mute user" feature; basically... admin and globals should be able to mute users for a specific period of time. It would be a great feature! Thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jessica. on June 29, 2011, 10:33:17 PM
^agree with the mute feature

and is it possible to do something like this:

typing in /me is bored will make

*Jessica is bored*
Title: Re: NChat - No SQL Save BW shoutbox
Post by: teos55 on June 30, 2011, 04:03:30 AM
SMF 2.0  Default theme  Nchat

  From time to time,  smiles button is not shown .  Smilies is set to SMF smiles ... Reseting toı Yahoo and back again to SMF does not
bring Smiles button back.  Ctrl+F5 does not help.

What causes this button to dissappear ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 30, 2011, 05:43:43 AM
Quote from: Perspective on June 29, 2011, 10:14:14 PM
Implemented on my 2.0 version and works great!
The settings on the top of the chat are fine in my opinion; it's simply to edit everything very quick.
Very nice, simple, clean mod!
Congratulations nvcnvn & keep up the good work!

Later edit:
1 suggestion for the next release: some kind of "mute user" feature; basically... admin and globals should be able to mute users for a specific period of time. It would be a great feature! Thanks.
Nice suggestion
Quote from: Jessica. on June 29, 2011, 10:33:17 PM
^agree with the mute feature

and is it possible to do something like this:

typing in /me is bored will make

*Jessica is bored*
Yes you can do it! Just simple:
Open NChatHandle.php
Find:
$subject = htmlspecialchars(shorten_subject($subject , $NChat['lenght']));
add after:
$subject = str_replace('/me', $NChatInfo['name'], $subject);
Now try "Hi /me" and see what will show!
Quote from: teos55 on June 30, 2011, 04:03:30 AM
SMF 2.0  Default theme  Nchat

  From time to time,  smiles button is not shown .  Smilies is set to SMF smiles ... Reseting toı Yahoo and back again to SMF does not
bring Smiles button back.  Ctrl+F5 does not help.

What causes this button to dissappear ?
The issue is.....I have not add the smiles box for SMF smiles yet! :|
Title: Re: NChat - No SQL Save BW shoutbox
Post by: teos55 on June 30, 2011, 07:49:39 AM
  The problem is ;  as if the "no smiles" option has been choosen.  Niether "yahoo"  nor "smf"  brings the smiles button back.
I dont how this happens. Either  logout / reboot / refresh makes smiles button invisible. The browsers I tried chrome and  FF.
  Where do you check the slimes button to be displayed and on what conditions ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on June 30, 2011, 08:53:10 AM
Quote from: teos55 on June 30, 2011, 07:49:39 AM
  The problem is ;  as if the "no smiles" option has been choosen.  Niether "yahoo"  nor "smf"  brings the smiles button back.
I dont how this happens. Either  logout / reboot / refresh makes smiles button invisible. The browsers I tried chrome and  FF.
  Where do you check the slimes button to be displayed and on what conditions ?

The Add siles button will hide in SMF smiles.
If you switch back to Yahoo smiles, reload your forum the Smiles will show again!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: teos55 on June 30, 2011, 08:55:01 AM
  Selecting yahoo smiles and ctrl+f5 brings back the smiles button. Thanks 
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Fred Biles on June 30, 2011, 02:44:41 PM
Is it possible for us to add smileys to the list in the file NChatSmiles.txt  ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 02, 2011, 04:53:40 AM
Quote from: Fred Biles on June 30, 2011, 02:44:41 PM
Is it possible for us to add smileys to the list in the file NChatSmiles.txt  ?
Yes, or even you ca replace your new smiles.

1. To add some more
Open NChat folder, creat a test.php.
In test.php, for example you want a new smiles with the icon is T.T and the image url is hxxp://example.com/path/example1.gif

<?php
$smiles 
unserialize(file_get_contents('NChatSmiles.txt'));

$smiles['T.T'] = "<img src='http://example.com/path/example1.gif' alt='*' border='0' />";
$smiles['Oo'] = "<img src='http://example.com/path/example2.gif' alt='*' border='0' />";

echo 
serialize($smiles);
?>


After that brows your test.php in your browser and view source it.
You will see a new serialized string, copy and paste it to your NChatSmiles.txt
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on July 02, 2011, 04:58:36 AM
How close is the next update with all these features and translations?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Fred Biles on July 02, 2011, 08:20:11 PM
ok, thanks :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Adrek on July 03, 2011, 08:02:31 AM
Where can i remove limit for lenght of messages ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 03, 2011, 08:11:55 AM
Quote from: ph4ntom on July 03, 2011, 08:02:31 AM
Where can i remove limit for lenght of messages ?
You cannot remove the limit but can increase the lenght up to 300.
I think 300 is long enough for a chat message :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: MarkLeevE on July 03, 2011, 09:27:18 AM
How to hide it from the guests?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 03, 2011, 10:24:53 AM
Quote from: MarkLeevE on July 03, 2011, 09:27:18 AM
How to hide it from the guests?
Give a look at col 1, row 2
There is a option for you
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Adrek on July 03, 2011, 12:43:00 PM
Quote from: nvcnvn on July 03, 2011, 08:11:55 AM
You cannot remove the limit but can increase the lenght up to 300.
I think 300 is long enough for a chat message :)

It could be more for me, but if i cannot remove limit... i guess i have to write smaller messages :E




Here is polish translation:
Modifications.polish-utf8.php
/* NChat */
//NChat
$txt['NChat_chatbox'] = 'Chat Box';
$txt['NChat_save'] = 'Wyślij';
$txt['NChat_clean'] = 'Wyczyść';

$txt['NChat_blod'] = 'B';
$txt['NChat_italic'] = 'I';
$txt['NChat_underline'] = 'U';

$txt['NChat_default_color'] = 'Kolor domyślny';
$txt['NChat_red'] = 'Czerwony';
$txt['NChat_teal'] = 'Turkusowy';
$txt['NChat_blue'] = 'Niebieski';
$txt['NChat_green'] = 'Zielony';
$txt['NChat_brown'] = 'Brązowy';
$txt['NChat_orange'] = 'Pomarańczowy';

$txt['NChat_order_last'] = 'Najnowsze na górze';
$txt['NChat_order_first'] = 'Najstarsze na górze';

$txt['NChat_disable_guest'] = 'Wyłącz dostęp dla gości';
$txt['NChat_readonly_guest'] = 'Goście tylko czytają';
$txt['NChat_enable_guest'] = 'Włącz dostęp dla gości';

$txt['NChat_add_smileys'] = 'Emotikony';
$txt['NChat_more_smileys'] = 'Więcej...';
$txt['NChat_disable_smileys'] = 'Wyłącz emotikony';
$txt['NChat_smf_smileys'] = 'Emotikony SMF';
$txt['NChat_ym_smileys'] = 'Emotikony Yahoo';

$txt['NChat_disable_auto_link'] = 'Wyłącz Automatyczne linki';
$txt['NChat_enable_auto_link'] = 'Włącz Automatyczne linki';

$txt['NChat_disable_consensor'] = 'Wyłącz cenzurowane słowa';
$txt['NChat_enable_consensor'] = 'Włącz cenzurowane słowa';

$txt['NChat_time_reload'] = ' sekund do przeładowania';

$txt['NChat_line_show'] = ' wiadomości na czacie';

$txt['NChat_lenght_show'] = ' znaków na wiadomość';

$txt['NChat_admincolor_edit'] = 'Zmień kolor admina';

$txt['NChat_modcolor_edit'] = 'Zmień kolor moda';

$txt['NChat_memcolor_edit'] = 'Zmień kolor usera';

$txt['NChat_guestcolor_edit'] = 'Zmień kolor gościa';

$txt['NChat_textcolor_edit'] = 'Zmień domyślny kolor tekstu';

$txt['NChat_bgcolor_edit'] = 'Zmień kolor tła';

$txt['NChat_admin_mess'] = 'Edytuj wiadomość admina';

$txt['NChat_edit_success'] = 'Zapisano! Aby zobaczyć zmiany odśwież stronę!';
$txt['NChat_so_fast'] = 'Zwolnij! Za szybko piszesz!!';
$txt['NChat_empty_mess'] = 'Pusta wiadomość!';
$txt['NChat_index_unavailable'] = 'Plik ./NChat/index.php nie jest dostępny! Powiadom o problemie administratora!';
/* NChat */


Modifications.polish.php
/* NChat */
//NChat
$txt['NChat_chatbox'] = 'Chat Box';
$txt['NChat_save'] = 'Wy¶lij';
$txt['NChat_clean'] = 'Wyczy¶ć';

$txt['NChat_blod'] = 'B';
$txt['NChat_italic'] = 'I';
$txt['NChat_underline'] = 'U';

$txt['NChat_default_color'] = 'Kolor domy¶lny';
$txt['NChat_red'] = 'Czerwony';
$txt['NChat_teal'] = 'Turkusowy';
$txt['NChat_blue'] = 'Niebieski';
$txt['NChat_green'] = 'Zielony';
$txt['NChat_brown'] = 'Br±zowy';
$txt['NChat_orange'] = 'Pomarańczowy';

$txt['NChat_order_last'] = 'Najnowsze na górze';
$txt['NChat_order_first'] = 'Najstarsze na górze';

$txt['NChat_disable_guest'] = 'Wył±cz dostęp dla go¶ci';
$txt['NChat_readonly_guest'] = 'Go¶cie tylko czytaj±';
$txt['NChat_enable_guest'] = 'Wł±cz dostęp dla go¶ci';

$txt['NChat_add_smileys'] = 'Emotikony';
$txt['NChat_more_smileys'] = 'Więcej...';
$txt['NChat_disable_smileys'] = 'Wył±cz emotikony';
$txt['NChat_smf_smileys'] = 'Emotikony SMF';
$txt['NChat_ym_smileys'] = 'Emotikony Yahoo';

$txt['NChat_disable_auto_link'] = 'Wył±cz Automatyczne linki';
$txt['NChat_enable_auto_link'] = 'Wł±cz Automatyczne linki';

$txt['NChat_disable_consensor'] = 'Wył±cz cenzurowane słowa';
$txt['NChat_enable_consensor'] = 'Wł±cz cenzurowane słowa';

$txt['NChat_time_reload'] = ' sekund do przeładowania';

$txt['NChat_line_show'] = ' wiadomo¶ci na czacie';

$txt['NChat_lenght_show'] = ' znaków na wiadomo¶ć';

$txt['NChat_admincolor_edit'] = 'Zmień kolor admina';

$txt['NChat_modcolor_edit'] = 'Zmień kolor moda';

$txt['NChat_memcolor_edit'] = 'Zmień kolor usera';

$txt['NChat_guestcolor_edit'] = 'Zmień kolor go¶cia';

$txt['NChat_textcolor_edit'] = 'Zmień domy¶lny kolor tekstu';

$txt['NChat_bgcolor_edit'] = 'Zmień kolor tła';

$txt['NChat_admin_mess'] = 'Edytuj wiadomo¶ć admina';

$txt['NChat_edit_success'] = 'Zapisano! Aby zobaczyć zmiany od¶wież stronę!';
$txt['NChat_so_fast'] = 'Zwolnij! Za szybko piszesz!!';
$txt['NChat_empty_mess'] = 'Pusta wiadomo¶ć!';
$txt['NChat_index_unavailable'] = 'Plik ./NChat/index.php nie jest dostępny! Powiadom o
problemie administratora!';
/* NChat */


/edit:

Aktualne spolszczenie (updated polish lang): http://www.smf.pl/index.php/topic,8162.0.html
Title: Re: NChat - No SQL Save BW shoutbox
Post by: applelakshan on July 07, 2011, 03:34:05 AM
Hello, im using your product. its really nice.  thanks for that.

i have one requirement, How to grab this in to bottom of the page ?
Now by default its in top of the page , i want this chat room to stay  bottom of the page (after my topics)

Thanks and waiting for your reply.

AL
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 07, 2011, 08:54:49 AM
Quote from: applelakshan on July 07, 2011, 03:34:05 AM
Hello, im using your product. its really nice.  thanks for that.

i have one requirement, How to grab this in to bottom of the page ?
Now by default its in top of the page , i want this chat room to stay  bottom of the page (after my topics)

Thanks and waiting for your reply.

AL
You can read here http://thismod.com/community/index.php?topic=3.0#post_faq2
Title: Re: NChat - No SQL Save BW shoutbox
Post by: studiowi33 on July 08, 2011, 05:12:07 PM
An EDIT feature just for Admins would be appreciated.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Adrek on July 10, 2011, 10:19:49 AM
@up +1
and some popup with confirmation question before delete entry ;)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Alb0 on July 11, 2011, 05:19:06 PM
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.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg703.imageshack.us%2Fimg703%2F9420%2Fnchat.png&hash=dd94dea741a658bf87f306d64fe4108fa637da70) (http://imageshack.us/photo/my-images/703/nchat.png/)


EDIT: Got this fixed by going to each custom theme, and deleting the nchat lines from the boardindex.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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.

Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on July 18, 2011, 05:16:21 AM
I am still waiting for an update with turkish translation and the new features.
Permissions for each membergroups are desperetely needed.
Thank you.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: sportforum on July 19, 2011, 10:30:16 AM
Is it possible to show the chatbox above the last 10 messages or statics ?  :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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??
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 25, 2011, 09:00:32 PM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on July 29, 2011, 10:39:41 AM
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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: [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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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 ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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;
}



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!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: teos55 on August 17, 2011, 10:37:31 AM
"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 .. 
--------------------------------------------------------------------------------
Title: Re: NChat - No SQL Save BW shoutbox
Post by: [Crash_Override] on August 17, 2011, 12:38:04 PM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: mxcape21 on August 25, 2011, 09:15:15 PM
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!  ;)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: mulch on August 27, 2011, 12:30:18 AM
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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: steveb72 on September 05, 2011, 07:06:07 PM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 06, 2011, 04:17:16 PM
How do I hide/disable the big white menu I see above my NChat:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi56.tinypic.com%2Fe04vlv.png&hash=c6ad00b2cad62c1c5528217d9d072f81a0445504)

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, there is a nother admin settings area.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 06, 2011, 11:28:07 PM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dblog on September 07, 2011, 01:49:54 AM
is there anyway to use this /Nchat in new window(without forums, only chatbox) or popup
when i tried, it had issues with SSI.php as one needs to be logged in or his session sent through forum index page
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Adrek on September 07, 2011, 04:13:49 AM
Can't you simply use someurl/NChat/index.php ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dblog on September 07, 2011, 05:18:17 AM
i tried but it had problems with login.
header needed ./Sources/SSI.php to be executed once before running /NChat/index.php
if someone goes to /NChat through forum index page , then no problem.
but if someone goes directlt to /NChat/index.php, then header shows sessions error
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 07, 2011, 11:03:18 AM
Hi all!
First of all, I want to say sory for the delay! I too busy to answer all of you question!

Second, just want all of you to know that the newest version (1.3) of the mod is now available to download!
I will try to reply for you all soon! But I will spend 1 or 2 day off... :D

This mod take me 2 weeks of my summer (my summer last 1 month.. :()
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hotwheels on September 07, 2011, 05:28:12 PM
I am using simpleportal 2.3.3 and would like to have this on the portal page as well. I have tried several different way's of adding a block to my site, but i cannot get it to work on my portal page. Has anyone come up with the code required to place this on simpleportal?

I have selected php block and added this:
require_once($boarddir."./NChat/NChatBoardIndex.php");
But all i get is a black box with the name of my chat box...........any help would be greatly appreciated. thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: kingkingston on September 07, 2011, 06:41:59 PM
Quote from: hotwheels on September 07, 2011, 05:28:12 PM
I am using simpleportal 2.3.3 and would like to have this on the portal page as well. I have tried several different way's of adding a block to my site, but i cannot get it to work on my portal page. Has anyone come up with the code required to place this on simpleportal?

I have selected php block and added this:
require_once($boarddir."./NChat/NChatBoardIndex.php");
But all i get is a black box with the name of my chat box...........any help would be greatly appreciated. thanks

Why not just use the simpleportal shoutbox ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hotwheels on September 07, 2011, 08:27:48 PM
Because it is very server intensive. Each time i use simple portals shoutbox, the cpu usage goes to 100%. It refreshes terribly and there is no way to delete shouts. Nchat is suppose to be set up to not use as much of the servers cpu and save bandwidth. I would think there is a simple code for using this mod in simple portal and not have to use simple portals junk shoutbox.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 07, 2011, 09:00:13 PM
Quote from: hotwheels on September 07, 2011, 05:28:12 PM
I am using simpleportal 2.3.3 and would like to have this on the portal page as well. I have tried several different way's of adding a block to my site, but i cannot get it to work on my portal page. Has anyone come up with the code required to place this on simpleportal?

I have selected php block and added this:
require_once($boarddir."./NChat/NChatBoardIndex.php");
But all i get is a black box with the name of my chat box...........any help would be greatly appreciated. thanks
Can you insert HTML code in to your block? If yes...here

Create a file, let say name embed.php and but it in NChat folder

<?php
//NChat by ThidMod.com
require_once('../SSI.php');
require_once(
'NChatBoardIndex.php')
?>



After that insert an html code:

<iframe src="your-domain.com/forum/NChat/embed.php"></iframe>
Title: Re: NChat - No SQL Save BW shoutbox
Post by: kingkingston on September 08, 2011, 11:23:13 AM
Quote from: hotwheels on September 07, 2011, 08:27:48 PM
Because it is very server intensive. Each time i use simple portals shoutbox, the cpu usage goes to 100%. It refreshes terribly and there is no way to delete shouts. Nchat is suppose to be set up to not use as much of the servers cpu and save bandwidth. I would think there is a simple code for using this mod in simple portal and not have to use simple portals junk shoutbox.
you click on the red button to delete shouts
Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 08, 2011, 01:16:18 PM
now i have using nCHAT 1.3 thanks for this mod

i have problem all user cannot see the chat  .. whats wrong about this ?

help me for fix this

thanks before
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 08, 2011, 03:24:08 PM
Quote from: BrokenFEMALE on September 06, 2011, 11:28:07 PM
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.
I still need help with this issue and no one has replied yet. Maybe it was over looked so I decided to bring it to attention. How do I get the NChat to show up on themes it's not displaying on?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 08, 2011, 06:47:40 PM
Quote from: flysky on September 08, 2011, 01:16:18 PM
now i have using nCHAT 1.3 thanks for this mod

i have problem all user cannot see the chat  .. whats wrong about this ?

help me for fix this

thanks before

Have you edit the permission for your user?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 08, 2011, 07:09:39 PM
Quote from: nvcnvn on September 08, 2011, 06:47:40 PM
Quote from: flysky on September 08, 2011, 01:16:18 PM
now i have using nCHAT 1.3 thanks for this mod

i have problem all user cannot see the chat  .. whats wrong about this ?

help me for fix this

thanks before

Have you edit the permission for your user?
in the permision all default ... i try to re install but some problem and i have trouble
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 09, 2011, 04:59:59 AM
Quote from: flysky on September 08, 2011, 07:09:39 PM
Quote from: nvcnvn on September 08, 2011, 06:47:40 PM
Quote from: flysky on September 08, 2011, 01:16:18 PM
now i have using nCHAT 1.3 thanks for this mod

i have problem all user cannot see the chat  .. whats wrong about this ?

help me for fix this

thanks before

Have you edit the permission for your user?
in the permision all default ... i try to re install but some problem and i have trouble

You must set the new permission for your user!
After the installation by default just you the admin can chat or read....
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 09, 2011, 09:21:38 AM
How do I get the chat to show up on themes: Core, Pink Floral, and Skm Light? I looked every where in my admin panel and don't see how to fix this.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 09, 2011, 09:27:05 AM
Quote from: BrokenFEMALE on September 09, 2011, 09:21:38 AM
How do I get the chat to show up on themes: Core, Pink Floral, and Skm Light? I looked every where in my admin panel and don't see how to fix this.
HI, did you know about Manual installation of mods.
You can read here http://wiki.simplemachines.org/smf/Manual_installation_of_mods
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 09, 2011, 11:53:33 PM
I looked in the .xml file for the Pink Floral theme and it doesn't contain any of the tags listed in these instructions. I also looked for a .xml or .mod file in the NChat directory and it doesn't have these files.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: puncy on September 10, 2011, 12:11:42 AM
Hi love the chat mod,

But i dont know why but it uses a lot of bandwidth, it is using about 6GB a day with only 30 people using it, is there anyway to bring that down.

also Version 1.3 doesnt autoscroll to the newest message
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 10, 2011, 12:58:25 AM
Quote from: puncy on September 10, 2011, 12:11:42 AM
Hi love the chat mod,

But i dont know why but it uses a lot of bandwidth, it is using about 6GB a day with only 30 people using it, is there anyway to bring that down.

also Version 1.3 doesnt autoscroll to the newest message

There is my big mistake of me with the mod! I have a new fixed path for it!




About the BW issue, you say 6GB a day with only 30 people using i, that's mean your website just have 30 visitor a day or what? Are you sure all of 6 GB is come from NChat?
The fact is you can reach that if you have 30 member online 24/24 just for chat!
To reducedt he BW, I think you should try:
1 increase the reload time (6000 or 8000)
2 Use Yahoo! Smile instead of your SMF smiles
3 Do not enable sound.
4 decrease the number and length of message.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 10, 2011, 01:16:50 AM
Quote from: nvcnvn on September 09, 2011, 04:59:59 AM
Quote from: flysky on September 08, 2011, 07:09:39 PM
Quote from: nvcnvn on September 08, 2011, 06:47:40 PM
Quote from: flysky on September 08, 2011, 01:16:18 PM
now i have using nCHAT 1.3 thanks for this mod

i have problem all user cannot see the chat  .. whats wrong about this ?

help me for fix this

thanks before

Have you edit the permission for your user?
in the permision all default ... i try to re install but some problem and i have trouble

You must set the new permission for your user!
After the installation by default just you the admin can chat or read....
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 10, 2011, 01:46:57 AM
Quote from: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
check PM
so how to change the sound volume coz very small voice  ;)
thanks before

Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 10, 2011, 11:47:44 AM
Quote from: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
Thanks very much ... all resolved

best regards
flysky

Title: Re: NChat - No SQL Save BW shoutbox
Post by: puncy on September 10, 2011, 08:48:21 PM
Quote from: nvcnvn on September 10, 2011, 12:58:25 AM
Quote from: puncy on September 10, 2011, 12:11:42 AM
Hi love the chat mod,

But i dont know why but it uses a lot of bandwidth, it is using about 6GB a day with only 30 people using it, is there anyway to bring that down.

also Version 1.3 doesnt autoscroll to the newest message

There is my big mistake of me with the mod! I have a new fixed path for it!




About the BW issue, you say 6GB a day with only 30 people using i, that's mean your website just have 30 visitor a day or what? Are you sure all of 6 GB is come from NChat?
The fact is you can reach that if you have 30 member online 24/24 just for chat!
To reducedt he BW, I think you should try:
1 increase the reload time (6000 or 8000)
2 Use Yahoo! Smile instead of your SMF smiles
3 Do not enable sound.
4 decrease the number and length of message.


Thanks for the quick reply,

30 or less members or so on chat for about 12 hours of the day
50 messages shown in chat
150 length of message
3 sec reload time
SMF smilies enabled

checked my cpanel usage and it all points to nchat as the culprit. ive now put the reload time to 5seconds, disabled smilies, will see how it goes.

HERE IS A SCREENSHOT OF WHAT MY CPANEL SAYS
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg832.imageshack.us%2Fimg832%2F5259%2Fclipboard01xw.jpg&hash=64078d61b98ce5654d264170b692d714f2ec5918)


Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 11, 2011, 02:47:42 AM
Quote from: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
my forum error again :
Fatal error: Cannot redeclare nchatsettings() (previously declared in /home2/forumpa1/public_html/Sources/ManageSettings.php:2106) in /home2/forumpa1/public_html/Sources/ManageSettings.php on line 2216
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 11, 2011, 05:45:55 AM
Quote from: flysky on September 11, 2011, 02:47:42 AM
Quote from: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
my forum error again :
Fatal error: Cannot redeclare nchatsettings() (previously declared in /home2/forumpa1/public_html/Sources/ManageSettings.php:2106) in /home2/forumpa1/public_html/Sources/ManageSettings.php on line 2216
Oh....so open the ManageSettings.php, you will find 2 nchatsettings(), remove 1!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: flysky on September 11, 2011, 06:32:28 AM
Quote from: nvcnvn on September 11, 2011, 05:45:55 AM
Quote from: flysky on September 11, 2011, 02:47:42 AM
Quote from: nvcnvn on September 10, 2011, 01:24:57 AM
Quote from: flysky on September 10, 2011, 01:16:50 AM
thanks ... now chat work succesed but in the admin CP not show configutration setting like picture above...... any idea to resolve modification setting ?
Something wrong when you reinstall the mod!
If you trust me, you can PM me your hosting control panel pass and I will try to fix it for you!
my forum error again :
Fatal error: Cannot redeclare nchatsettings() (previously declared in /home2/forumpa1/public_html/Sources/ManageSettings.php:2106) in /home2/forumpa1/public_html/Sources/ManageSettings.php on line 2216
Oh....so open the ManageSettings.php, you will find 2 nchatsettings(), remove 1!
thanks very much .... all is resolved ... we hope for futur the nChat can include BBCODE (//) .... :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 12, 2011, 07:28:58 AM
Quote from: nvcnvn on September 09, 2011, 09:27:05 AM
Quote from: BrokenFEMALE on September 09, 2011, 09:21:38 AM
How do I get the chat to show up on themes: Core, Pink Floral, and Skm Light? I looked every where in my admin panel and don't see how to fix this.
HI, did you know about Manual installation of mods.
You can read here http://wiki.simplemachines.org/smf/Manual_installation_of_mods
I looked in the .xml file for the Pink Floral theme and it doesn't contain any of the tags listed in these instructions. I also looked for a .xml or .mod file in the NChat directory and it doesn't have these files.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 15, 2011, 08:26:23 AM
where do i find the .xml or .mod file?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 15, 2011, 10:11:54 AM
Unzip the file that you have downloaded (http://custom.simplemachines.org/mods/index.php?action=download;mod=2846;id=186421).

Give me your theme's downlaod link, I will try if I could :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 16, 2011, 07:43:04 AM
Do you mean this link? This is the page where I got the Pink Floral theme
http://custom.simplemachines.org/themes/index.php?lemma=2277
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jaisi on September 16, 2011, 08:47:46 AM
it's taking to much check CPU resources and my forum is going very slow please help me
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 16, 2011, 10:15:49 AM
Quote from: BrokenFEMALE on September 16, 2011, 07:43:04 AM
Do you mean this link? This is the page where I got the Pink Floral theme
http://custom.simplemachines.org/themes/index.php?lemma=2277
NO I mean here http://custom.simplemachines.org/mods/index.php?mod=2846 un zip what you download in this page!

Quote from: jaisi on September 16, 2011, 08:47:46 AM
it's taking to much check CPU resources and my forum is going very slow please help me

Try this, hope I can help!
1 increase the reload time (6000 or 8000)
2 Use Yahoo! Smile instead of your SMF smiles
3 Do not enable sound.
4 decrease the number and length of message.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jaisi on September 16, 2011, 12:58:48 PM
yeah i have try that but problem is not slove so i have uninstalled nchat mod now work fine but i need this mod
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 16, 2011, 03:06:52 PM
Quote from: nvcnvn on September 16, 2011, 10:15:49 AM
Quote from: BrokenFEMALE on September 16, 2011, 07:43:04 AM
Do you mean this link? This is the page where I got the Pink Floral theme
http://custom.simplemachines.org/themes/index.php?lemma=2277
NO I mean here http://custom.simplemachines.org/mods/index.php?mod=2846 un zip what you download in this page!

I located the .xml file and i do not see the tags any where in the file
<edit file>...</edit file>  <search for>...</search for> <add after>...</add after> <add before>...</add before> <replace>...</replace>
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Perspective on September 19, 2011, 11:23:24 AM
Umm.. one question: In order to use the new version (meaning 1.3) I have to remove the old one then reinstall the fresh version of this mod ? Or how do I update to 1.3 ?
Thanks!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on September 19, 2011, 11:34:41 AM
Quote from: Perspective on September 19, 2011, 11:23:24 AM
Umm.. one question: In order to use the new version (meaning 1.3) I have to remove the old one then reinstall the fresh version of this mod ? Or how do I update to 1.3 ?
Thanks!

Oh you need to uninstall the old one!

Quote from: jaisi on September 16, 2011, 12:58:48 PM
yeah i have try that but problem is not slove so i have uninstalled nchat mod now work fine but i need this mod

In many case, increase time to reload to 10.000 milisecond will help! And...
Open ./NChat/NChatBoardIndex.php
find:
var limit_time = 1; //in second
replace with:
var limit_time = 2; //in second
The bigger number will help you reduce the cpu loads... but it will make the chat quite of delay!
But the fact is: If your forum is to big, you may need a big enough hosting!

@BrokenFEMALE: wait, I will help you with your theme soon!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Perspective on September 19, 2011, 12:06:30 PM
Mmm... I'm getting an error when using IE 8. I can't see what others are writing.. and can't add messages. Look:


Also.. when I'm trying to mute someone on all browsers.. I can't. I just get an error .. on address bar is javascript:nchat_mute(nchat_small_mess[2]) and the page is full white with a small text in the left up corner: false
Also.. how do I set the colors of the users ?

Suggestions ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 20, 2011, 02:59:19 PM
Quote
@BrokenFEMALE: wait, I will help you with your theme soon!

Ok nvcnvn, no problem :)
I hope you can because i feel lost, lol!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BrokenFEMALE on September 25, 2011, 11:26:16 PM
nvcnvn, I just wanted to see if you were able to find a solution to my issue?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BaghdadGhost on September 28, 2011, 11:04:03 PM
Great work nvcnvn,

yet I have installed the box and gave me the usual error. The ./nchat/index.php is now unavailable! Please contact admin forum about this issue! I changed permission of the mentioned files, yet I was not able to find NChatSetting.php ! I even extracted the files on my computer from the .rar and NChatSetting.php was not there. I uninstalled and re-installed manually but unfortunately got the same error.

what also was noticed during the manual or self installation that I was not able to locate the chat setting that as far as I understood should be located above/before (Modification Settings) according to the place of the code in Admin.php due to parse ... but when I install

Quote//NChat by ThisMod.com
                  'nchat' => array($txt['nchat_name']),

AFTER

Quote// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.

I was able to have chat setting field!

do you have any idea what is going on here?

btw, I use 2 RC4


thanks in advance
Title: Re: NChat - No SQL Save BW shoutbox
Post by: krash661 on October 03, 2011, 09:27:54 PM
im using smf 2.0.1 with the insidious template.
i installed this ,it works fine when im logged in as admin.but when i log in as user,there is no nchat.it doesnt show up when im loged in as a user.please help
Title: Re: NChat - No SQL Save BW shoutbox
Post by: gizbaz on October 05, 2011, 06:18:59 AM
I have added this mod and when I try to shout i get a pop up box with the error message "Message from website" "Slow down you type to fast" - have I missed a step.

Forum version is 2.0.1 with themes 2.0

Thanks,
Les
Title: Re: NChat - No SQL Save BW shoutbox
Post by: bwakino on October 05, 2011, 03:25:55 PM
i noticed that when i installed shoutbox, that the text on the board for guests becomes white (illegible), would changing the size of the box help?  When logged in as member or admin, the text is fine... any help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: danthe on October 05, 2011, 08:00:45 PM
chmodded files, but
Quote
The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!"

occurs again...what could be the problem?

also tried all files 777,not working

access directly to NChat/index.php is possible,it opens blank page


something is related to reload time,when higher,error occurs later
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Navzzy on October 06, 2011, 01:30:36 PM
im getting this error

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: danthe on October 06, 2011, 03:03:10 PM
I figured out that this mod is no longer supported,as author don't reply to mails, so I gave up trying to fix it... if somebody has alternative shoutbox(chat) mod,please post link for me...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: bwakino on October 06, 2011, 03:04:15 PM
when i changed themese from Red-it-Random... to Black Storm.... the chat box disappeared.... can someone help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on October 06, 2011, 04:24:47 PM
Quote from: danthe on October 06, 2011, 03:03:10 PM
I figured out that this mod is no longer supported,as author don't reply to mails, so I gave up trying to fix it... if somebody has alternative shoutbox(chat) mod,please post link for me...

I use the default one that comes with Tiny Portal add-on, does not refresh but is site friendly and not resource heavy at all


Quote
  Posted by: bwakino « on: Today at 02:04:15 PM »   
when i changed themese from Red-it-Random... to Black Storm.... the chat box disappeared.... can someone help?


I think you may have to manually edit the other themes board index file? not sure been awhile since I took a look at the readme it comes with.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on October 12, 2011, 12:38:00 AM
Hi,

first off great little mod and working perfectly on 2.0.1. I am trying to figure out a simple way to use the upshrink on smf or a similar method to either enable NChat to be seen or hidden.

Reason some of our members are old and don't want to chat  ;)

Has anyone successfully done this or got some good ideas on how to go about it. I have been playing unsuccessfully with using the info center upshrink code so far

cheers

Tim
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on October 12, 2011, 05:48:22 AM
Quote from: beanflying on October 12, 2011, 12:38:00 AM
Hi,

first off great little mod and working perfectly on 2.0.1. I am trying to figure out a simple way to use the upshrink on smf or a similar method to either enable NChat to be seen or hidden.

Reason some of our members are old and don't want to chat  ;)

Has anyone successfully done this or got some good ideas on how to go about it. I have been playing unsuccessfully with using the info center upshrink code so far

cheers

Tim


Build one more membergroup - set the permission about chat, but all of them who  don't want to chat on this!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on October 12, 2011, 08:38:28 AM
Thanks for that nice quick reply and temporary fix, already done  :).

It still doesn't quite achieve what I want. To encourage participation on the forum and sense of community I still want everyone to see the Chat Box shrink bar up the top and be able to single click it down and have a look and hopefully join in.

So is it possible to consider in the next version? or if anyone else has done it I would appreciate a bit of guidance.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: XxWhit3meatxX on October 12, 2011, 09:54:04 PM
Hey, I would really like to know why I always get this mesage whenever I try to type anything in the chatbox "Slow down you type so fast". I have version 2.0.1 and everything up to date. When I put the chatbox on my site it showed up but I couldnt type anything, the same problem also happened with my friend who was trying to use the chatbox at the time also. Please help me out!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on October 13, 2011, 08:02:54 AM
Quote from: XxWhit3meatxX on October 12, 2011, 09:54:04 PM
Hey, I would really like to know why I always get this mesage whenever I try to type anything in the chatbox "Slow down you type so fast". I have version 2.0.1 and everything up to date. When I put the chatbox on my site it showed up but I couldnt type anything, the same problem also happened with my friend who was trying to use the chatbox at the time also. Please help me out!

I had that funny glitch with Internet Exploder I found Nchat doesn't like being run without sound on it? Try enabling the sound and give it another go. It worked fine on FF Chrome and even a clunky early version of Opera with the sound off but IE was strange.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: tweaka on October 20, 2011, 03:10:57 PM
Quote from: gizbaz on October 05, 2011, 06:18:59 AM
I have added this mod and when I try to shout i get a pop up box with the error message "Message from website" "Slow down you type to fast" - have I missed a step.

Forum version is 2.0.1 with themes 2.0

Thanks,
Les


Ditto, except I am using default theme
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on October 22, 2011, 08:34:07 AM
I just release NChat ver 1.3.2 will some bug fix, please try!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Samera on October 23, 2011, 10:57:06 PM
hello to all

when i try to wright any thing on shout box just blank coming

any help.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on October 25, 2011, 07:53:01 AM
Quote from: nvcnvn on October 22, 2011, 08:34:07 AM
I just release NChat ver 1.3.2 will some bug fix, please try!

Nice work added the IE code fix for the sound and working in silence on IE8 (NOT that I use it)  ;)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on October 25, 2011, 09:04:26 AM
Quote from: Samera on October 23, 2011, 10:57:06 PM
hello to all

when i try to wright any thing on shout box just blank coming

any help.
Can I have your forum address?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BaghdadGhost on October 25, 2011, 09:06:30 AM
Hi nvcnvn

can you please take a look at my problem and give an advice


thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on October 26, 2011, 10:52:55 AM
Quote from: BaghdadGhost on October 25, 2011, 09:06:30 AM
Hi nvcnvn

can you please take a look at my problem and give an advice


thanks

Ohh...
can you tell me where you get the rar file? My mod always zipped under zip or tar.gz

I would suggest you upgrade your forum to 2.0.1, so if there is any code that was changed will be restore.

Have you try NChat 1.3.2?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BaghdadGhost on October 26, 2011, 11:08:00 AM
Quote from: nvcnvn on October 26, 2011, 10:52:55 AM
Quote from: BaghdadGhost on October 25, 2011, 09:06:30 AM
Hi nvcnvn

can you please take a look at my problem and give an advice


thanks

Ohh...
can you tell me where you get the rar file? My mod always zipped under zip or tar.gz

I would suggest you upgrade your forum to 2.0.1, so if there is any code that was changed will be restore.

Have you try NChat 1.3.2?

I am considering upgrading to 2.0.1 and also will try 1.3.2 and will let you know the results at that time.

btw, my website on shared hosting. and I expect an average of 5 users to chat at a time. do you think this may take a lot of resources from the hosting company?

I already used Ajax chat before and they complained about it, therefore I had to uninstall it. do you think I may face the same problem with NChat?

thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Samera on October 26, 2011, 03:03:24 PM
Quote from: nvcnvn on October 25, 2011, 09:04:26 AM
Quote from: Samera on October 23, 2011, 10:57:06 PM
hello to all

when i try to wright any thing on shout box just blank coming

any help.
Can I have your forum address?

site link   www.pakidilse.com
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Shrink on October 27, 2011, 12:48:35 AM
Thank You very nice mod.& working for me.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BaghdadGhost on October 29, 2011, 12:24:02 AM
Quote from: nvcnvn on October 26, 2011, 10:52:55 AM
Quote from: BaghdadGhost on October 25, 2011, 09:06:30 AM
Hi nvcnvn

can you please take a look at my problem and give an advice


thanks

Ohh...
can you tell me where you get the rar file? My mod always zipped under zip or tar.gz

I would suggest you upgrade your forum to 2.0.1, so if there is any code that was changed will be restore.

Have you try NChat 1.3.2?


Hi Again,

well now my forum is 2.0.1 and I downloaded the Nchat 1.3.2 and followed your steps but still have the same error

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!

I am able to write but it appears for a second then changes back to the error message!


please help

Title: Re: NChat - No SQL Save BW shoutbox
Post by: Samera on October 29, 2011, 04:39:19 AM
Quote from: Samera on October 26, 2011, 03:03:24 PM
Quote from: nvcnvn on October 25, 2011, 09:04:26 AM
Quote from: Samera on October 23, 2011, 10:57:06 PM
hello to all

when i try to wright any thing on shout box just blank coming

any help.
Can I have your forum address?

site link   www.pakidilse.com


any help ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Am' on October 29, 2011, 07:39:30 AM
how ban a user?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Armen on October 29, 2011, 12:40:26 PM
Any post/reply notification mod?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on November 01, 2011, 12:27:54 AM
Due to a pale grey background used in my site and to try and keep the look consistent throughout I am running into a problem with the color_online for regular members.

I have set all my post based groups to Black from zero post on up but the nchat code is returning white which I understand is the base color for regular members.

Is there a simple code change to pick up the post based colors rather than the member class color? Either that or just change all users to color #...... would be fine but I am having trouble following the query code?

TIA
Title: Re: NChat - No SQL Save BW shoutbox
Post by: imburner on November 01, 2011, 05:07:11 AM
removed  the previous version and installed the newer one and it seems to not like it as I get this code at the top /* NChat by ThisMod.com */ $txt['nchat_name'] = 'NChat Shoutbox'; $txt['nchat_chatbox'] = 'Chat Box'; $txt['nchat_save'] = 'Save'; $txt['nchat_clean'] = 'Clean All'; $txt['nchat_blod'] = 'B'; $txt['nchat_italic'] = 'I'; $txt['nchat_underline'] = 'U'; $txt['nchat_default_color'] = 'Default color'; $txt['nchat_red'] = 'Red'; $txt['nchat_teal'] = 'Teal'; $txt['nchat_blue'] = 'Blue'; $txt['nchat_green'] = 'Green'; $txt['nchat_brown'] = 'Brown'; $txt['nchat_orange'] = 'Orange'; $txt['nchat_admin_mess'] = 'Admin Message'; $txt['nchat_order'] = 'Order'; $txt['nchat_order_first'] = 'First line on top'; $txt['nchat_order_last'] = 'Last line on top'; $txt['nchat_sound'] = 'Enable Sound
Work only with `First line n top`.'; $txt['nchat_disable_sound'] = 'Disable Sound'; $txt['nchat_enable_sound'] = 'Enable Sound'; $txt['nchat_censor'] = 'Censored Words'; $txt['nchat_disable_censor'] = 'Disable Censored Words'; $txt['nchat_enable_censor'] = 'Enable Censored Words'; $txt['nchat_smile'] = 'Smlies Option'; $txt['nchat_disable_smileys'] = 'Disable Smiles'; $txt['nchat_smf_smileys'] = 'SMF Smiles'; $txt['nchat_ym_smileys'] = 'Yahoo Smiles'; $txt['nchat_add_smileys'] = 'Add Smiles'; $txt['nchat_more_smileys'] = 'More...'; $txt['nchat_auto_link'] = 'Auto-link'; $txt['nchat_disable_auto_link'] = 'Disable Auto-link'; $txt['nchat_enable_auto_link'] = 'Enable Auto-link'; $txt['nchat_disable_consensor'] = 'Disable Censored Words'; $txt['nchat_enable_consensor'] = 'Enable Censored Words'; $txt['nchat_time'] = 'Reload time
in miliseconds'; $txt['nchat_line'] = 'Number of message'; $txt['nchat_lenght'] = 'Lenght of Message'; $txt['nchat_text'] = 'Default text color'; $txt['nchat_background'] = 'Default background color'; $txt['nchat_time_format'] = 'Time format'; $txt['nchat_mute_list'] = 'Mute List Manager'; $txt['nchat_add_mute'] = 'Mute this user (in minutes)'; $txt['nchat_remove_mute'] = 'Remove'; $txt['nchat_be_muted'] = '%s - was muted by %s from now to %s.'; $txt['nchat_so_fast'] = 'Slow down! You type so fast!!'; $txt['nchat_empty_mess'] = 'Empty message!'; $txt['nchat_index_unavailable'] = 'The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!'; //nchat permission area $txt['permissiongroup_simple_nchat'] = 'NChat PLay around with the chat box.'; $txt['permissionname_nchat_mute'] = 'Mute a member from chat.'; $txt['permissionhelp_nchat_mute'] = 'Mute a member fro chat, but you cannot mute the Admin.'; $txt['cannot_nchat_mute'] = 'Sorry, but you can\'t mute any member!.'; $txt['permissionname_nchat_delete'] = 'Delete a chat message.'; $txt['permissionhelp_nchat_delete'] = 'Delete the message in the chat box.'; $txt['cannot_nchat_delete'] = 'Sorry, but you can\'t delete the chat content.'; $txt['permissionname_nchat_write'] = 'Write something and chat.'; $txt['permissionhelp_nchat_write'] = 'Join the chat box and talkative.'; $txt['cannot_nchat_write'] = 'Sorry, but you can\'t write to the chat box.'; $txt['permissionname_nchat_read'] = 'Read the chat content.'; $txt['permissionhelp_nchat_read'] = 'See waht the other shout in our big chat box.'; $txt['cannot_nchat_read'] = 'Sorry, but you can\'t read the chat content.'; /* NChat by ThisMod.com */
Title: Re: NChat - No SQL Save BW shoutbox
Post by: imburner on November 03, 2011, 02:49:18 AM
?Help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Inti31 on November 03, 2011, 04:16:55 AM
hmmh - seems like I've a problem with that mod (v1.3.2)...

I installed it sucessful (testforum (http://aida32-inventory.netboom.de/index.php?action=forum)), set all the permissions (also guests now are allowed to type sth.) - for those who may want a look to my testforum.
all features like show smileys, bold text, change textcolor, etc - all works - but when I click on send/save - nothing happen - the textarea appears blank - it doesn't matter if I am logged in as the admin, as a member or a guest...

I set all chmod like is shown on the first page....



Maybe someone could assist me - thx

cheers inti31

Addition: I tried that with FF, IE, Chrome - it raises the same issue
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BaghdadGhost on November 03, 2011, 11:19:08 AM
I faced the same problem and looked in the supporting website and her what the author of this mode wrote



I can say the issue due to your hosting config! Because I cannot run any test with your host, so:

Open NChatBoardIndex.php, Find:
Code: [Select]
  xmlhttp.open("POST", nchatUrl, true);
  xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  xmlhttp.setRequestHeader("Content-length", param.length);
  xmlhttp.setRequestHeader("Connection", "close");
Replace with:
Code: [Select]
  if(load == true) {
    xmlhttp.open("POST", nchatUrl, true);
    xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlhttp.setRequestHeader("Content-length", param.length);
    xmlhttp.setRequestHeader("Connection", "close");
  } else {
    xmlhttp.open("GET", nchatUrl, true);
  }


it worked with me and other people.

the problem now it does not do auto refresh. users of the chat are not able to see other users comments only when they push a comment. not a
proper way to communicate. I tried to register there to explain the current problem but had no luck with the security question lol


http://thismod.com/community/index.php?topic=3.msg196#msg196
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Inti31 on November 03, 2011, 05:53:33 PM
@BaghdadGhost - thx for that info - I removed that mod from my testforum

cheers inti31

Addition
I implemented now SMFPacks Shoutbox (http://custom.simplemachines.org/mods/index.php?mod=1295) - it works like a charme
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jcommander on November 03, 2011, 07:27:01 PM
Great mod!
Is there a way to add an icon for different ppl just like the picture below?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi170.photobucket.com%2Falbums%2Fu263%2Fcommander29thID%2Fnchat2.png&hash=973f24518fc908fd69e918a267335de1cd58fa33)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: imburner on November 05, 2011, 03:20:43 AM
Anyone help with this issue?


Quote from: imburner on November 01, 2011, 05:07:11 AM
removed  the previous version and installed the newer one and it seems to not like it as I get this code at the top /* NChat by ThisMod.com */ $txt['nchat_name'] = 'NChat Shoutbox'; $txt['nchat_chatbox'] = 'Chat Box'; $txt['nchat_save'] = 'Save'; $txt['nchat_clean'] = 'Clean All'; $txt['nchat_blod'] = 'B'; $txt['nchat_italic'] = 'I'; $txt['nchat_underline'] = 'U'; $txt['nchat_default_color'] = 'Default color'; $txt['nchat_red'] = 'Red'; $txt['nchat_teal'] = 'Teal'; $txt['nchat_blue'] = 'Blue'; $txt['nchat_green'] = 'Green'; $txt['nchat_brown'] = 'Brown'; $txt['nchat_orange'] = 'Orange'; $txt['nchat_admin_mess'] = 'Admin Message'; $txt['nchat_order'] = 'Order'; $txt['nchat_order_first'] = 'First line on top'; $txt['nchat_order_last'] = 'Last line on top'; $txt['nchat_sound'] = 'Enable Sound
Work only with `First line n top`.'; $txt['nchat_disable_sound'] = 'Disable Sound'; $txt['nchat_enable_sound'] = 'Enable Sound'; $txt['nchat_censor'] = 'Censored Words'; $txt['nchat_disable_censor'] = 'Disable Censored Words'; $txt['nchat_enable_censor'] = 'Enable Censored Words'; $txt['nchat_smile'] = 'Smlies Option'; $txt['nchat_disable_smileys'] = 'Disable Smiles'; $txt['nchat_smf_smileys'] = 'SMF Smiles'; $txt['nchat_ym_smileys'] = 'Yahoo Smiles'; $txt['nchat_add_smileys'] = 'Add Smiles'; $txt['nchat_more_smileys'] = 'More...'; $txt['nchat_auto_link'] = 'Auto-link'; $txt['nchat_disable_auto_link'] = 'Disable Auto-link'; $txt['nchat_enable_auto_link'] = 'Enable Auto-link'; $txt['nchat_disable_consensor'] = 'Disable Censored Words'; $txt['nchat_enable_consensor'] = 'Enable Censored Words'; $txt['nchat_time'] = 'Reload time
in miliseconds'; $txt['nchat_line'] = 'Number of message'; $txt['nchat_lenght'] = 'Lenght of Message'; $txt['nchat_text'] = 'Default text color'; $txt['nchat_background'] = 'Default background color'; $txt['nchat_time_format'] = 'Time format'; $txt['nchat_mute_list'] = 'Mute List Manager'; $txt['nchat_add_mute'] = 'Mute this user (in minutes)'; $txt['nchat_remove_mute'] = 'Remove'; $txt['nchat_be_muted'] = '%s - was muted by %s from now to %s.'; $txt['nchat_so_fast'] = 'Slow down! You type so fast!!'; $txt['nchat_empty_mess'] = 'Empty message!'; $txt['nchat_index_unavailable'] = 'The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!'; //nchat permission area $txt['permissiongroup_simple_nchat'] = 'NChat PLay around with the chat box.'; $txt['permissionname_nchat_mute'] = 'Mute a member from chat.'; $txt['permissionhelp_nchat_mute'] = 'Mute a member fro chat, but you cannot mute the Admin.'; $txt['cannot_nchat_mute'] = 'Sorry, but you can\'t mute any member!.'; $txt['permissionname_nchat_delete'] = 'Delete a chat message.'; $txt['permissionhelp_nchat_delete'] = 'Delete the message in the chat box.'; $txt['cannot_nchat_delete'] = 'Sorry, but you can\'t delete the chat content.'; $txt['permissionname_nchat_write'] = 'Write something and chat.'; $txt['permissionhelp_nchat_write'] = 'Join the chat box and talkative.'; $txt['cannot_nchat_write'] = 'Sorry, but you can\'t write to the chat box.'; $txt['permissionname_nchat_read'] = 'Read the chat content.'; $txt['permissionhelp_nchat_read'] = 'See waht the other shout in our big chat box.'; $txt['cannot_nchat_read'] = 'Sorry, but you can\'t read the chat content.'; /* NChat by ThisMod.com */

Title: Re: NChat - No SQL Save BW shoutbox
Post by: noskos on November 05, 2011, 11:59:48 AM
Is there a way to add a space between the name of the poster and the message?

Now it's like this [time] noskos:text

But I would like [time] noskos: text

That way it's a little more readable.

Thanks a lot in advance,

noskos
Title: Re: NChat - No SQL Save BW shoutbox
Post by: erkro1 on November 07, 2011, 10:19:12 AM
I removed NChat mod from my SMF installation, and now the main page is blank:
If you want site link PM me.

Does someone has an idea whats wrong, even when I upgrade (again) to SMF 2.0.1 its still blank.

My defenition of blank: it only shows the header, not the categories and boards. :P
Title: Re: NChat - No SQL Save BW shoutbox
Post by: noskos on November 08, 2011, 02:09:35 PM
I have NCat running on my forum and it is causing a massive load on the MySQL server, such a big load that my host keeps suspending my site.
When I checked the stats it showed that NChat created over half a million hits in 8 days! Is that normal? And is there a way to make the load smaller and my host happy?

Thanks in advance!

noskos
Title: Re: NChat - No SQL Save BW shoutbox
Post by: autarh on November 08, 2011, 04:29:19 PM
Hi ,
First i want to congratulate on this mod. I will alsko liek to ask is it posible to add images in mod ?
In some previous chat we did have options to put images from url with [  img  ]  [ /img ] tab, is it posible in this mod?

thans
Title: Re: NChat - No SQL Save BW shoutbox
Post by: tectonny on November 08, 2011, 04:37:38 PM
I need help, how can I put down all chat pages on the forum?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on November 09, 2011, 04:22:04 AM
Quote from: erkro1 on November 07, 2011, 10:19:12 AM
I removed NChat mod from my SMF installation, and now the main page is blank:
If you want site link PM me.

Does someone has an idea whats wrong, even when I upgrade (again) to SMF 2.0.1 its still blank.

My defenition of blank: it only shows the header, not the categories and boards. :P
You should try to remove the mod manual. For some reason the mode not removed in correct way!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: erkro1 on November 09, 2011, 08:34:50 AM
Quote from: nvcnvn on November 09, 2011, 04:22:04 AM
Quote from: erkro1 on November 07, 2011, 10:19:12 AM
I removed NChat mod from my SMF installation, and now the main page is blank:
If you want site link PM me.

Does someone has an idea whats wrong, even when I upgrade (again) to SMF 2.0.1 its still blank.

My defenition of blank: it only shows the header, not the categories and boards. :P
You should try to remove the mod manual. For some reason the mode not removed in correct way!

I have deleted the NChat folder, still thesame problem, do I need to remove more?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on November 09, 2011, 09:11:43 AM
NO, not just delete the folder.
Do some search about "manual uninstall mod"
Title: Re: NChat - No SQL Save BW shoutbox
Post by: erkro1 on November 09, 2011, 09:41:28 AM
Quote from: nvcnvn on November 09, 2011, 09:11:43 AM
NO, not just delete the folder.
Do some search about "manual uninstall mod"

Fixed, thanks :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: autarh on November 11, 2011, 04:32:02 AM
jus to check is there any info how to put pictures inside chat ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: projectnaija on November 14, 2011, 07:34:24 AM
Can this mod be integrated for wap2
Title: Re: NChat - No SQL Save BW shoutbox
Post by: TheKhemist on November 18, 2011, 09:22:32 AM
Hi All

I am new to SMF I am really enjoying it   :D

I have one problem though,  I am trying to install NChat - Little SQL Save BW shoutbox.

I am using SMF 2.0.1, I download the package click install, results say all is ok. But it does not give me the option to install to my theme. Only the default and core are options to install too.

Hope someone can help, Thanks in advance

The Khemist
Title: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: OMGPeace on December 03, 2011, 09:29:33 PM
The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!

The fix for this problem above

is to remove the peace of //text lmao outta the index.php  file      remove this crap and it will work //NChat by ThisMod.com it's nice to use a free mod but it gives me the ******s to have to spend 3hrs working out why it will not work

<?php
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>//NChat by ThisMod.com <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_order''1'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_sound''0'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_censor''1'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_smile''1'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_auto_link''0'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_admin_mess''Thank for choosing NChat! Need Help or any questions? Read here: http://thismod.com/community/index.php?topic=2.0'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_time''3000'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_line''30'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_lenght''100'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_background''#ffffff'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_text''#000000'),
array(
'variable'));

$smcFunc['db_insert']('ignore',
'{db_prefix}settings',
array(
'variable' => 'string-255''value' => 'string-65534'),
array(
'nchat_time_format''M d H:i:s'),
array(
'variable'));
?>
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: HunterP on December 04, 2011, 03:24:37 PM
Quote from: OMGPeace on December 03, 2011, 09:29:33 PM
The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!

The fix for this problem above

is to remove the peace of //text lmao outta the index.php  file      remove this crap and it will work //NChat by ThisMod.com it's nice to use a free mod but it gives me the ******s to have to spend 3hrs working out why it will not work

Sorry, but your solution is very difficult to understand. What exactly did you do to fix this issue? I can't figure it out :(
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: OMGPeace on December 04, 2011, 05:54:12 PM
Quote from: HunterP on December 04, 2011, 03:24:37 PM
Quote from: OMGPeace on December 03, 2011, 09:29:33 PM
The ./NChat/index.php is now unavailable! Please contact admin forum about this issue!

The fix for this problem above

is to remove the peace of //text lmao outta the index.php  file      remove this crap and it will work //NChat by ThisMod.com it's nice to use a free mod but it gives me the ******s to have to spend 3hrs working out why it will not work

Sorry, but your solution is very difficult to understand. What exactly did you do to fix this issue? I can't figure it out :(

remove this //NChat by ThisMod.com out of the index.php file .


i have to say as you have made 727 post on this forum and your telling me you don't understand lmao haha
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hvyhitter on December 04, 2011, 06:19:15 PM
That doesnt work either.
I dont see any //text lines in nchat/index.php
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: HunterP on December 05, 2011, 02:57:25 AM

You talk like you are drunk, that's why it's difficult to understand, regardless my amount of postings.

I have removed ALL occurences of //NChat but I still get the same error.

Pretty odd that you pretend like you found the solution for World Peace, not?

Anyway, I just removed the lines which show this error, just for testing. And now the chatbox seems to work. The only thing is that it doesn't seem to auto-refresh.
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: OMGPeace on December 06, 2011, 12:07:28 AM
Quote from: HunterP on December 05, 2011, 02:57:25 AM



Anyway, I just removed the lines which show this error, just for testing. And now the chatbox seems to work.

What lines did you remove ?.
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: HunterP on December 06, 2011, 02:53:29 AM
Quote from: OMGPeace on December 06, 2011, 12:07:28 AM
What lines did you remove ?.

//            else if(show_err == true)
//               nchatOutput.innerHTML = "<div class=\'errorbox\'>'.$txt['nchat_index_unavailable'].'</div>";
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: DjBearocks on December 06, 2011, 03:29:46 PM
Quote from: HunterP on December 06, 2011, 02:53:29 AM
Quote from: OMGPeace on December 06, 2011, 12:07:28 AM
What lines did you remove ?.

//            else if(show_err == true)
//               nchatOutput.innerHTML = "<div class=\'errorbox\'>'.$txt['nchat_index_unavailable'].'</div>";

I removed the lines and no change

Maybe I removed them the wrong way any other help would be great
Title: Re: The ./NChat/index.php is now unavailable! Please contact admin forum about this
Post by: HunterP on December 06, 2011, 03:36:33 PM

Since this mod doesn't seem to be supported anymore, I opened a separate topic for the refresh issue. Ofcourse removing these lines doesn't solve the problem, it just hides it. It works on my forum (but it doesn't refresh), but I can't guarantee that it works for others...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DjBearocks on December 06, 2011, 09:21:27 PM
thanks for the response, I hope that someone is working on a chat box that will work

Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on December 07, 2011, 03:09:15 PM
Quote from: DjBearocks on December 06, 2011, 09:21:27 PM
thanks for the response, I hope that someone is working on a chat box that will work

Well I've been using it for a few days now and I really like it. There just seem to be some minor bugs in the AJAX part, so we'll have to wait until an AJAX-expert is willing to have a look at it :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on December 10, 2011, 04:29:04 AM
With FireBug I noticed that I'm getting these errors :

POST http://www.hulpverleningsforum.nl/NChat/last.html 405 Method Not Allowed 1.23s

That's why I (and others) got to see this error "The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

And that is odd, since the filenames are different...?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on December 10, 2011, 05:01:14 AM
Quote from: DjBearocks on December 06, 2011, 09:21:27 PM
thanks for the response, I hope that someone is working on a chat box that will work

Before condemning the product which has been working very nicely for a lot of us you might like to take a look at what problems YOU may have with either your server/host or SMF install. Seems to me a lot of issues with nchat have been server/host and or bandwidth issues so maybe time to start paying for hosting or looking elsewhere?

Some of the last posts apart from being smoke and fog from OMGPeace make no sense at all to me and others.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on December 10, 2011, 05:22:03 AM
Quote from: beanflying on December 10, 2011, 05:01:14 AM
Some of the last posts apart from being smoke and fog from OMGPeace make no sense at all to me and others.

Sorry? I see lot of complaints about the index.php error. Do all these complaints make no sense? As far as I know, my SMF install is ok, having no problems with other functions or modifications and my forum is running on a dedicated server. Also, I'm trying to get a bit closer to this problem, as I seem to be the first to report a "405 Method not allowed" error.

Someone is asking for a 'working' chatbox, well, there ARE alternatives, but I think this one fits best on my forum. I'm trying to place it on all pages, but first I have to make it collapsable, and the refresh has to work.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: BigMike on December 11, 2011, 02:57:30 PM
This looks like a nice chat box (I am looking for something simple).

Quick question: For a large board (we have 1 million posts serving 1.5 million page views a month), how will this compare to a AJAX powered or database driven chat box? Bandwidth is never an issue as we have unlimited bandwidth on a dedicated server.

Thanks
Mike
Title: Re: NChat - No SQL Save BW shoutbox
Post by: dantg on December 13, 2011, 04:49:26 AM
Hello!

I have same problem with:
The ./nchat/index.php is now unavailable! Please contact admin forum about this issue

all what was written here  (http://thismod.com/community/index.php?topic=3.0#post_faq1) was done but nothing helped

maybe the clue is that problem was noticed at IE and Opera, at FF is all okay
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on December 13, 2011, 11:25:56 AM

I got it working

Try and rename all occurences of "last.html" to "last.php". THis should occur twice, in NChatBoardIndex.php and NChatHandle.php.
Thanks to my hoster :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: dantg on December 14, 2011, 04:22:19 AM
I did that also few minutes ago and problem still occurs.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hardyb1963 on January 03, 2012, 01:47:05 AM
I have installed Nchat  and made the permission changes as the FAQ section directs.  I still get the The error "./nchat/index.php is now unavailable! Please contact admin forum about this issue!"
Title: Re: NChat - No SQL Save BW shoutbox
Post by: AEKGoblin on January 03, 2012, 04:59:29 PM
Can not get Nchat to work, I suspect it has to do with the following that I get when I click on the Mute List Manager.

Not sure what else to do, have installed and reinstalled three times, all permissions in the CMod have been set.

QuoteNotice: Undefined index: custom_tab_label_default in /....../Sources/Subs.php on line 3909

Notice: Undefined index: cb_default_2 in /......./Sources/Subs.php on line 3943

Notice: Undefined index: cb_default_3 in /......../Sources/Subs.php on line 3970

Notice: Undefined index: cb_default_4 in /........./Sources/Subs.php on line 3997

Notice: Undefined index: cb_default_5 in /......../Sources/Subs.php on line 4024

Notice: Undefined index: cb_default_6 in /........./Sources/Subs.php on line 4051
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Get Pumped Saltwater on January 03, 2012, 06:11:54 PM
Quote from: hardyb1963 on January 03, 2012, 01:47:05 AM
I have installed Nchat  and made the permission changes as the FAQ section directs.  I still get the The error "./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

I had the same issue... But, I had a major crash on my forum, witch made me have to use my backup files to re boot the whole thing... I don't know what happened, but when it came back up. My files are all 0644 except my sounds file which is 0755... For once its finally is working!! with out the "The error "./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

Now, I don't know if something in the files changed.. but, I'm not playing with it anymore!!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hardyb1963 on January 04, 2012, 07:33:34 AM
Quote from: Get Pumped Saltwater on January 03, 2012, 06:11:54 PM
Quote from: hardyb1963 on January 03, 2012, 01:47:05 AM
I have installed Nchat  and made the permission changes as the FAQ section directs.  I still get the The error "./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

I had the same issue... But, I had a major crash on my forum, witch made me have to use my backup files to re boot the whole thing... I don't know what happened, but when it came back up. My files are all 0644 except my sounds file which is 0755... For once its finally is working!! with out the "The error "./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

Now, I don't know if something in the files changed.. but, I'm not playing with it anymore!!


I tried your changes and no help.  I noticed an earlier thread that suggested changing all incidences of "last.html" to "last.php".  They suggested changing the occurrences in NChatBoardIndex.php (1 occurrence) and NChat Handle.php (1occurence).  That didn't help either.  I noticed that in the NChat directory there was a file named "last.html".  I changed it to "last.php" also and now it works!!!  Thanks for responding!!!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: wiecher on January 11, 2012, 03:23:00 PM
When i ban a user for a couple of minutes i get this     javascript:nchat_mute(nchat_small_mess[2])
Title: Re: NChat - No SQL Save BW shoutbox
Post by: wiecher on January 11, 2012, 05:38:06 PM
Quote from: nvcnvn on September 07, 2011, 09:00:13 PM
Quote from: hotwheels on September 07, 2011, 05:28:12 PM
I am using simpleportal 2.3.3 and would like to have this on the portal page as well. I have tried several different way's of adding a block to my site, but i cannot get it to work on my portal page. Has anyone come up with the code required to place this on simpleportal?

I have selected php block and added this:
require_once($boarddir."./NChat/NChatBoardIndex.php");
But all i get is a black box with the name of my chat box...........any help would be greatly appreciated. thanks
Can you insert HTML code in to your block? If yes...here

Create a file, let say name embed.php and but it in NChat folder

<?php
//NChat by ThidMod.com
require_once('../SSI.php');
require_once(
'NChatBoardIndex.php')
?>



After that insert an html code:

<iframe src="your-domain.com/forum/NChat/embed.php"></iframe>

I am using simpleportal 2.3.4 and that don`t work for me  :( :( :(
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Birdhouse919 on January 11, 2012, 09:48:45 PM
When i installed it, all of this poped up...

/* NChat by ThisMod.com */ $txt['nchat_name'] = 'NChat Shoutbox'; $txt['nchat_chatbox'] = 'Chat Box'; $txt['nchat_save'] = 'Save'; $txt['nchat_clean'] = 'Clean All'; $txt['nchat_blod'] = 'B'; $txt['nchat_italic'] = 'I'; $txt['nchat_underline'] = 'U'; $txt['nchat_default_color'] = 'Default color'; $txt['nchat_red'] = 'Red'; $txt['nchat_teal'] = 'Teal'; $txt['nchat_blue'] = 'Blue'; $txt['nchat_green'] = 'Green'; $txt['nchat_brown'] = 'Brown'; $txt['nchat_orange'] = 'Orange'; $txt['nchat_admin_mess'] = 'Admin Message'; $txt['nchat_order'] = 'Order'; $txt['nchat_order_first'] = 'First line on top'; $txt['nchat_order_last'] = 'Last line on top'; $txt['nchat_sound'] = 'Enable Sound
Work only with `First line n top`.'; $txt['nchat_disable_sound'] = 'Disable Sound'; $txt['nchat_enable_sound'] = 'Enable Sound'; $txt['nchat_censor'] = 'Censored Words'; $txt['nchat_disable_censor'] = 'Disable Censored Words'; $txt['nchat_enable_censor'] = 'Enable Censored Words'; $txt['nchat_smile'] = 'Smlies Option'; $txt['nchat_disable_smileys'] = 'Disable Smiles'; $txt['nchat_smf_smileys'] = 'SMF Smiles'; $txt['nchat_ym_smileys'] = 'Yahoo Smiles'; $txt['nchat_add_smileys'] = 'Add Smiles'; $txt['nchat_more_smileys'] = 'More...'; $txt['nchat_auto_link'] = 'Auto-link'; $txt['nchat_disable_auto_link'] = 'Disable Auto-link'; $txt['nchat_enable_auto_link'] = 'Enable Auto-link'; $txt['nchat_disable_consensor'] = 'Disable Censored Words'; $txt['nchat_enable_consensor'] = 'Enable Censored Words'; $txt['nchat_time'] = 'Reload time
in miliseconds'; $txt['nchat_line'] = 'Number of message'; $txt['nchat_lenght'] = 'Lenght of Message'; $txt['nchat_text'] = 'Default text color'; $txt['nchat_background'] = 'Default background color'; $txt['nchat_time_format'] = 'Time format'; $txt['nchat_mute_list'] = 'Mute List Manager'; $txt['nchat_add_mute'] = 'Mute this user (in minutes)'; $txt['nchat_remove_mute'] = 'Remove'; $txt['nchat_be_muted'] = '%s - was muted by %s from now to %s.'; $txt['nchat_so_fast'] = 'Slow down! You type so fast!!'; $txt['nchat_empty_mess'] = 'Empty message!'; $txt['nchat_index_unavailable'] = 'The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!'; //nchat permission area $txt['permissiongroup_simple_nchat'] = 'NChat PLay around with the chat box.'; $txt['permissionname_nchat_mute'] = 'Mute a member from chat.'; $txt['permissionhelp_nchat_mute'] = 'Mute a member fro chat, but you cannot mute the Admin.'; $txt['cannot_nchat_mute'] = 'Sorry, but you can\'t mute any member!.'; $txt['permissionname_nchat_delete'] = 'Delete a chat message.'; $txt['permissionhelp_nchat_delete'] = 'Delete the message in the chat box.'; $txt['cannot_nchat_delete'] = 'Sorry, but you can\'t delete the chat content.'; $txt['permissionname_nchat_write'] = 'Write something and chat.'; $txt['permissionhelp_nchat_write'] = 'Join the chat box and talkative.'; $txt['cannot_nchat_write'] = 'Sorry, but you can\'t write to the chat box.'; $txt['permissionname_nchat_read'] = 'Read the chat content.'; $txt['permissionhelp_nchat_read'] = 'See waht the other shout in our big chat box.'; $txt['cannot_nchat_read'] = 'Sorry, but you can\'t read the chat content.'; /* NChat by ThisMod.com */
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Buddymc on January 12, 2012, 01:25:18 PM
I  installed the chat box and also get the :

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue

But when I clean all it goes away and funtions fine.

So think I need to chmod some files. So where did the installer put the files at on my ftp? I can not seem to find anyfiles concerning the chat box. Maybe they are hidden? I know how to change chmod files manually but do not know how to do it through cpanel.

./NChat/index.php
./NChat/NChatBoardIndex.php
./NChat/NChatHandle.php
./NChat/NChatSetting.php~
./NChat/NChatSmiles.txt
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Buddymc on January 15, 2012, 09:37:33 AM
Is there still support for this mod?

I do not have these to files in the list:
./NChat/NChatSetting.php~
./NChat/NChatSmiles.txt
Still have:
./nchat/index.php is now unavailable! Please contact admin forum about this issue


Also can not figure out permissions.

Someone help? please
Title: Re: NChat - No SQL Save BW shoutbox
Post by: KAOS Brady on January 15, 2012, 10:27:42 AM
I installed this but only admin can see the shoutbox and I can't figure out why
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Buddymc on January 16, 2012, 06:56:07 AM
Quote from: KAOS Brady on January 15, 2012, 10:27:42 AM
I installed this but only admin can see the shoutbox and I can't figure out why

Same here. Must be a permission thing.
Guess there is no more support for this mod so will uninstall and find another.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on January 16, 2012, 10:06:05 AM
Quote from: KAOS Brady on January 15, 2012, 10:27:42 AM
I installed this but only admin can see the shoutbox and I can't figure out why

You should set permission for each group that you want them to see the chat box
Title: Re: NChat - No SQL Save BW shoutbox
Post by: RednecK1 on January 17, 2012, 07:42:22 PM
Okay so I found a different chat i wanted to use and when i Uninstalled NChat then deleted it when i went to the home page i got this error

Fatal error: require_once() [function.require]: Failed opening required '/home/a2290820/public_html/NChat/NChatBoardIndex.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2290820/public_html/Sources/Load.php(2159) : eval()'d code on line 20
Title: Re: NChat - No SQL Save BW shoutbox
Post by: RednecK1 on January 17, 2012, 08:09:36 PM
Bump!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nvcnvn on January 17, 2012, 10:46:19 PM
Quote from: KuT on January 17, 2012, 08:09:36 PM
Bump!

Go to boradindex.template.php of you current theme, make sure you remove all the thing about Nchat
Title: Re: NChat - No SQL Save BW shoutbox
Post by: RednecK1 on January 18, 2012, 06:36:40 AM
Well if it worked I would want to use it.  But if i type something and hit save to post it nothing comes up its like its froze.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Zipclaw on January 19, 2012, 01:42:35 PM
Hi!

I have a little question to this Mod.

I have installed it on a test installation of SMF 2.0.1 (local, in Xampp) a while ago, and it worked perfectly fine. Now, I would like to install it in SMF 2.0.2 (on my website), but it seems it hasn't been updated since 2.0.2 is out. Does it work with SMF 2.0.2 anyway? If not, when it's going to be updated?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: SA™ on January 20, 2012, 02:53:54 PM
if it worked on 2.0.1 then chances are that it will on 2.0.2 just use version emulate when installing it
if your unsure why not install 2.0.2 on your local xampp and test it?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: ABREWCADABREW on January 20, 2012, 09:36:55 PM
I've just discovered the following error message when using Safari:

"The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

I've gotten the error on different machines, so it's not isolated.

Help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on January 21, 2012, 05:40:59 PM
As I mentioned before it generally seems to be bandwidth or host related. It is not a browser or software fault. Occasionally it was turning up on chat before we migrated to a faster server and better plan.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: zapiy on January 21, 2012, 06:00:41 PM
Can this be run in a simpleportal block?

Thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: hoffy97 on January 27, 2012, 07:55:26 PM
Anyone get this to work on the 2.0.2 version?
Been trying to get it to work for days with no luck.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rootuid on January 28, 2012, 07:18:24 PM
It installs
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

Admin/configuration page works.


I get The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!
I think this is permissions based as I haven't yet changed the permissions as required.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: autarh on January 30, 2012, 05:23:20 PM
hi , is there possibility to insert pictures in chat and is there a log file ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: newmem on February 01, 2012, 01:37:24 AM
Forum is 2.0.2 with latest tinyportal.N-chat is installed butt it's visible only for admins,not for regular members?How to allow everybody to see and use nchat?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: iMaNiac on February 17, 2012, 04:43:53 PM
Hi guys,

i've installed this mod and it works perfect beside the sounds. i've all the sounds @/Nchat/sounds but i can't get it to work
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jeremy M. on February 26, 2012, 11:26:16 PM
No matter what Chat/ShoutBox mods i install, none of them will work. I can make someone (who knows what their doing) a temporary admin account, if they would be willing to install and get it to work for me. I want the best shoutbox that is available out there. . (I am running 2.0.2)

I want a shoutbox to be displayed at the top of the forum right below my "Home, Help, Search, Admin......." menu
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mstcool on February 27, 2012, 12:10:56 AM
Cant find out how to make it work with 2.0.2
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mstcool on March 04, 2012, 08:09:54 PM
Please help
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Misa95 on March 09, 2012, 10:23:12 AM
When I click on Mute List Manager it show me an error:

Warning: Invalid argument supplied for foreach() in /home/ultrafor/public_html/Sources/Load.php(2432) : eval()'d code on line 247

How can i fix it?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: THE BRA1N on March 25, 2012, 05:22:15 PM
Does this mod have an ignore feature for users? If so, how do you activate it?

Title: Re: NChat - No SQL Save BW shoutbox
Post by: kegyen on March 27, 2012, 12:38:24 PM
I can not go to my admin section on the forum now, I get this error:

Fatal error: require_once() [function.require]: Failed opening required '/home/content/21/6641821/html/forum/Sources/Admin.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/21/6641821/html/forum/index.php on line 355



Could anyone please give me some guidance?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: planetxtownhall on March 27, 2012, 03:00:55 PM
My users never got interested in this app and I am trying to remove it from my system.  It is a nightmare to uninstall.  Am I stuck with this thing forever?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: kegyen on March 27, 2012, 03:03:43 PM
I am having a horrible time as well cleaning it up, its really bugging my forum
Title: Re: NChat - No SQL Save BW shoutbox
Post by: DarkAngel612 on March 27, 2012, 05:05:35 PM
Quote from: planetxtownhall on March 27, 2012, 03:00:55 PM
My users never got interested in this app and I am trying to remove it from my system.  It is a nightmare to uninstall.  Am I stuck with this thing forever?

generally all you need to do is run the uninstall/then delete through the package manager to uninstall  a mod

I also go to the server fiels and manually remove the files too that go to a mod. If you look at the install.xml file in the zip you will see what files were edited to manually make sure they were removed too.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Illuminatus on March 28, 2012, 01:44:09 PM
Hi. Thanks for this mod.

Which files do I edit to make the whole thing smaller?

Also, is there any way I can move the chat to a different position? I would like it half the width and put alongside a leaderboard ad which is served from an ad manager. This is to make better use of the space.

Thanks! :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Carol_i28 on March 31, 2012, 12:31:23 PM
I have smf 2.0.2 I tried to install this but it never showed up after installation.

I have ajaxchat, but not impressed with it.

Should I have uninstalled ajaxchat first?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 01, 2012, 08:03:08 PM
It installed and working fine but i really wish i could disable that time thing and X thing that every message starts with ... anyone knws how to do that?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mstcool on April 01, 2012, 08:18:47 PM
Carol yes uninstall ajax
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 02, 2012, 05:07:58 AM
what is the default time for it? i by chance removed it from the modification settings, now it just shows xx in the chat box and i dunno which format it uses.

Can someone please look up their settings menu and tell ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Carol_i28 on April 02, 2012, 03:55:09 PM
Uninstalled ajax, but still not showing up

I get this error message

Fatal error: Cannot redeclare nchatsettings() (previously declared in /hermes/waloraweb005/b1574/moo.universalfriendsus/smf/Sources/ManageSettings.php:2066) in /hermes/waloraweb005/b1574/moo.universalfriendsus/smf/Sources/ManageSettings.php on line 2176
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 02, 2012, 04:14:24 PM
can somone pls look into their NChat and let me know what the default time format on this mod is?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 03, 2012, 02:35:39 AM
Does it sometimes become unavailable too? Server down or something? It suddenly stopped working and for last 2 hrs.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: THE BRA1N on April 03, 2012, 05:55:17 PM
No one knows?

Quote from: THE BRA1N on March 25, 2012, 05:22:15 PM
Does this mod have an ignore feature for users? If so, how do you activate it?


Also, if someone can tell me where the coding for the color of the chat user name and time is located, Id appreciate it

For future development, it would be great if each user could turn the sound off and on according to their preference.

Title: Re: NChat - No SQL Save BW shoutbox
Post by: Misa95 on April 05, 2012, 11:45:28 AM
Mute List Manager didn't work. Can anybody help me? Please send me PM who now how to fix it?! Thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 12, 2012, 11:33:33 PM
Quote from: Saahilk2000 on April 03, 2012, 02:35:39 AM
Does it sometimes become unavailable too? Server down or something? It suddenly stopped working and for last 2 hrs.

Same problem again today ... just a blank white window for last few hrs ... no chat messages outgoing on incoming ...

Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on April 13, 2012, 12:24:19 AM
@Saahilk2000: Same thing just happened to me. I have two sites that run the NChat, one is working and the other isn't, its really weird. So I think that may rule out a server issue or something of the sort. So if anyone knows how this could be fixed or whatever, it would be great, I tried to delete it from packages etc and got this error;

Fatal error: require_once() [function.require]: Failed opening required '/home/xwfmike/public_html/efeds.net/forums/NChat/NChatBoardIndex.php' (include_path='.:/usr/lib/php') in /home/xwfmike/public_html/efeds.net/forums/Sources/Load.php(2239) : eval()'d code on line 291


I put everything back together and it was fine, but the white box is that, just a white box. I'm sure I screwed it up myself in my case, so if anyone has any ideas, I'm all ears. Thanks!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 13, 2012, 12:30:22 AM
Quote from: uecwmike on April 13, 2012, 12:24:19 AM
@Saahilk2000: Same thing just happened to me. I have two sites that run the NChat, one is working and the other isn't, its really weird. So I think that may rule out a server issue or something of the sort. So if anyone knows how this could be fixed or whatever, it would be great, I tried to delete it from packages etc and got this error;

Fatal error: require_once() [function.require]: Failed opening required '/home/xwfmike/public_html/efeds.net/forums/NChat/NChatBoardIndex.php' (include_path='.:/usr/lib/php') in /home/xwfmike/public_html/efeds.net/forums/Sources/Load.php(2239) : eval()'d code on line 291


I put everything back together and it was fine, but the white box is that, just a white box. I'm sure I screwed it up myself in my case, so if anyone has any ideas, I'm all ears. Thanks!


Yeah its really weird .... last time it went off, it came back up after a couple of hours so i was under the impression that its a chat server issue ... but i guess that isnt really the case.

You know of any other chat mods that runs on a 3rd party chat sever and dont eat up the bandwidth?

Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on April 13, 2012, 12:32:21 AM
No, I tried them all but the NChat is by far the best IMO. I would just try and wait and see what happens, who knows maybe in a few hours it will work. I have no clue why yours is doing it, I think my issue is with the error, but who knows lol
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 13, 2012, 12:35:36 AM
Quote from: uecwmike on April 13, 2012, 12:32:21 AM
No, I tried them all but the NChat is by far the best IMO. I would just try and wait and see what happens, who knows maybe in a few hours it will work. I have no clue why yours is doing it, I think my issue is with the error, but who knows lol


Yeah i hav no idea either ... its the 2nd time it happened ... one minute it was working and in another it was all blank ....

Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 13, 2012, 12:41:14 AM
Quote from: uecwmike on April 13, 2012, 12:32:21 AM
No, I tried them all but the NChat is by far the best IMO. I would just try and wait and see what happens, who knows maybe in a few hours it will work. I have no clue why yours is doing it, I think my issue is with the error, but who knows lol


Ok the weirdest thing just happened .... there is a "Clean All" button on the chat window ... i pressed it once and voila, it came right back up


Title: Re: NChat - No SQL Save BW shoutbox
Post by: TFroehlichIII on April 14, 2012, 09:20:43 AM
I cannot get this mod to work with my 2.0.2 smf version. When I install everything goes great, but there is no chat window or anything after the install.... Help?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Robert. on April 14, 2012, 09:22:01 AM
Have you enabled NChat? What theme are you using?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: TFroehlichIII on April 14, 2012, 09:28:58 AM
Quote from: 医生唱片骑师 on April 14, 2012, 09:22:01 AM
Have you enabled NChat? What theme are you using?


I am using the Chemical Theme. And just to make sure, it redirects you to the settings page, which would have the enable on that page, or somewhere else?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: painkller on April 15, 2012, 06:10:03 AM
hi!
My websites smf 2.0.2. I installed modification of Nchat. I'am Turk. I use turkish letters in forums. But, I don't use Turkish letters (ü, ş, ç, ğ) in chatbox. 

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1096.photobucket.com%2Falbums%2Fg339%2Fpainkller%2Fsorun.jpg&hash=996d8f1ceeb6fbd63190953566edbe432bf660ea)

Sorry, my english bad :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on April 16, 2012, 05:20:11 PM
Just wandering if anyone is able to help me with my issue, my link is at http://efeds.net and I hope that doesn't break any rules. It just has a white box and nothing inside of it and cant do nothing, when I uninstall it it gives me the error I stated before. If someone can help me with this issue I would be very thankful. If need be, I can have someone become an admin to help me figure out the said issue.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 16, 2012, 08:47:13 PM
Quote from: uecwmike on April 16, 2012, 05:20:11 PM
Just wandering if anyone is able to help me with my issue, my link is at http://efeds.net and I hope that doesn't break any rules. It just has a white box and nothing inside of it and cant do nothing, when I uninstall it it gives me the error I stated before. If someone can help me with this issue I would be very thankful. If need be, I can have someone become an admin to help me figure out the said issue.

Was it working before and then just went white?

Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on April 17, 2012, 12:47:48 PM
Yeah it was
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Saahilk2000 on April 22, 2012, 04:00:06 PM
Quote from: uecwmike on April 17, 2012, 12:47:48 PM
Yeah it was

If that happens and the chat box goes blank, just hit "Clean All" and u will be all set ...

Title: Re: NChat - No SQL Save BW shoutbox
Post by: BoxingChaos on April 22, 2012, 04:14:04 PM


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2F2ry1ze9.jpg&hash=a65b53c1f8bc1a0ac67c6671e1a2bc6f71a67a53)

Can the dev please tell what I need to do to make the reply part bigger?

I love this chat btw. TY :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: zapiy on May 29, 2012, 03:01:19 PM
Can this work within simpleportal?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mstcool on May 29, 2012, 05:04:23 PM
No i dont think so
Because Simple portal have there own shoutbox
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rootuid on May 30, 2012, 07:35:20 AM
Nice mod; My problem is that text is truncated. If I type a 100 character string and press enter some of the text is not displayed. Anyone else get this?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on May 30, 2012, 11:24:43 AM
Quote from: rootuid on May 30, 2012, 07:35:20 AM
Nice mod; My problem is that text is truncated. If I type a 100 character string and press enter some of the text is not displayed. Anyone else get this?

This is a setting, go to Mod Settings, Nchat, etc.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on May 31, 2012, 02:59:51 AM
For the life of me I can't get the NChat to appear on all the pages of the forums. I know there is a way as I have it on my other sites but for some reason i can't get it to work out. Is there anyway that someone can help me here? I know that I have to edit the current themes etc but I don't remember where to remove things and than replace it.

So if anyone can help me here, that would be great. Thanks in advance!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on May 31, 2012, 05:45:03 AM
Anyone know what I'm talking about? lol
Title: Re: NChat - No SQL Save BW shoutbox
Post by: scsouders on June 04, 2012, 10:43:43 AM
I know what your talking about, Ive seen earlier posts about how to make the chat box available throughout the forums, but nothing much since SMF 2.0.2 came out, Im having the same issues trying to figure out what I can edit to hopefully let me do that.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mstcool on June 05, 2012, 12:15:49 AM
@uecwmike

I know im not helping but please dont bump your post less then 24hrs. Thank you.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 09, 2012, 03:03:24 PM
Still waiting if anyone is out there to help me.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: nend on June 09, 2012, 03:26:56 PM
Question about mod, just a quick question. I have been seeing this mod in the Recent Unread Topics list quite often and I have been wanting to ask this. My question though, what does SQL have to do with bandwidth? Using a database over a flat file actually shouldn't increase bandwidth usage. The title IMHO is misleading as it tells users if you use a database your using more bandwidth, which is false.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Yiorgos on June 10, 2012, 07:53:26 AM
I noticed that Nchat did not filter my censored words, although I tried different settings.

Then I edited .... Nchat/NChatHandle.php

I replaced line 107 function NChatParser($subject = ''){

with function NChatParser($subject){

Now NChat filters my censored words fine.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 12, 2012, 03:43:42 AM
Soo....still nothing? lol
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Yiorgos on June 19, 2012, 04:11:54 PM
Quote from: uecwmike on May 31, 2012, 02:59:51 AM
For the life of me I can't get the NChat to appear on all the pages of the forums. I know there is a way as I have it on my other sites but for some reason i can't get it to work out. Is there anyway that someone can help me here? I know that I have to edit the current themes etc but I don't remember where to remove things and than replace it.

So if anyone can help me here, that would be great. Thanks in advance!

We assume that you have already installed the mod without any errors.
Try this way to desplay that in your particular theme:
  1. Go to the mod Link (http://custom.simplemachines.org/mods/index.php?mod=2846)
  2. On the upper right hand side you will find "Directions for manual installation"
  3. Select your SMF version and click Analyse
  4. Look for "./Themes/default/BoardIndex.template.php" and apply all (there are only 2) "add after" to the BoardIndex.template.php of your particular theme.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 23, 2012, 11:40:11 PM
Anyone willing to help with this issue?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Yiorgos on June 25, 2012, 02:55:23 PM
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 (http://www.simplemachines.org/community/index.php?topic=429695.msg3356379#msg3356379) ?


WhaT ARE THE RESULTS ?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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 !
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on July 12, 2012, 05:34:32 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on July 12, 2012, 05:39:39 AM
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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: sireq1 on July 12, 2012, 08:26:29 AM
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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on August 08, 2012, 03:58:15 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on August 15, 2012, 10:57:15 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on August 29, 2012, 09:15:46 PM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: gnappoman on August 30, 2012, 04:25:51 AM
Thank you very much indeed beanflying.

Any other suggestion whitout having to reinstall?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on August 30, 2012, 04:34:31 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: gnappoman on August 31, 2012, 04:44:26 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on September 11, 2012, 06:38:39 AM
Hi, whether somebody knows how to place NChat be shown in the bottom of forum?
Behind the option: Mark ALL messages as read
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 11, 2012, 07:14:26 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on September 13, 2012, 02:24:34 AM
@beanflying

Thanks for help.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on September 14, 2012, 12:58:37 AM
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)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on September 19, 2012, 01:17:22 AM
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 :).
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 19, 2012, 02:35:10 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on September 19, 2012, 02:54:18 AM
They are set to SMF and they are all gifs.


Also can I prevent hidden smileys showing up please?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 19, 2012, 03:41:08 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on September 19, 2012, 05:08:55 AM
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 :/.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 19, 2012, 05:52:05 AM
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 (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.bestcafes.com.au%2Fforum%2FSmileys%2FLightB%2Fvomit.gif&hash=290c2395923173a485f72a611d1edce180bf2830) 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 :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 20, 2012, 04:57:12 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: beanflying on September 23, 2012, 05:38:23 PM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: gnappoman on October 19, 2012, 06:10:52 PM
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!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Yiorgos on October 20, 2012, 04:04:59 PM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Yiorgos on November 19, 2012, 05:55:06 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: K33NY on November 25, 2012, 03:45:55 PM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: XHIBIT911 on December 10, 2012, 11:03:35 PM
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...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1058.photobucket.com%2Falbums%2Ft413%2FILLUMIN-X%2Fchat.png&hash=af65217b791ea994836c00a077e18d68df3ee56b)

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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: XHIBIT911 on December 13, 2012, 10:16:23 AM
Never mind..I found a way

CHMOD these files to 0644:


./NChat/index.php
./NChat/NChatHandle.php
./NChat/NChatBoardIndex.php
Title: Re: NChat - No SQL Save BW shoutbox
Post by: 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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: noskos on January 06, 2013, 10:37:25 AM
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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arni on January 11, 2013, 04:36:06 PM
Nobody has an idea for my request?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on January 12, 2013, 10:26:17 AM
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.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on January 19, 2013, 10:22:13 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on January 21, 2013, 07:22:58 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arni on January 26, 2013, 07:01:26 AM
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?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on January 26, 2013, 09:26:06 AM
Quote from: Arni on December 27, 2012, 11:32:11 AM
Is it possible to increase the "size" of the chat "windows"?

In NChatBoardIndex.php find this line :

<div id="nchat_admin_shoutbox" style="background-color:'.$modSettings['nchat_background'].'; height: 100px; overflow: auto; border-style: solid; border-width: 1px; border-color: #adadad; padding: 1px 2px 1px 4px;"></div>';

Or something like this, I've done lots of edits myself. Edit the 'height' property or you might want to add a button which allows the member to expand/collapse the window.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on January 26, 2013, 09:29:45 AM
Quote from: beanflying on September 23, 2012, 05:38:23 PM
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 ;)

You can set membergroup permissions for this mod, I think that is what he is asking? I've done the same on my board, too many low (of no) post members only using the chat, not the board itself.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Tikkuy on February 03, 2013, 08:06:42 AM
I wonder if someone could help me with this mod. For some reason, whenever someone tries to post a smiley, the mod gets somewhat temperamental. Some smileys work fine while others seem to not work at all. Smileys work on all other areas of my forum, but here they come up as text.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi288.photobucket.com%2Falbums%2Fll171%2Ftikkuy%2Fsachathelp_zps35cc80fb.png&hash=9ec4fab3ef4e6384737e4eb77098e8fad2a7e2b7)

Any idea why? All help would be appreciated!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: N i g h t m a r e on February 14, 2013, 08:40:04 PM
just installed yesterday, i need this working!
Error: The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Tom4ever on February 23, 2013, 12:17:32 PM
Changed all chmod to the one shown,installed succesfully the mod,Not shown in the front page!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jarbeat on March 29, 2013, 10:21:31 AM
I only see the mod, nobody else. And i changed the chmod. But nothing helped. Please help me :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Thomas_fkc on April 06, 2013, 02:22:37 PM
Quote from: Jarbeat on March 29, 2013, 10:21:31 AM
I only see the mod, nobody else. And i changed the chmod. But nothing helped. Please help me :D
I have the same problem, and i haven't got changed anything.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Zipclaw on May 15, 2013, 04:09:20 PM
Hi!

I moved my forum (SMF 2.0.4) to another server today and now the german Umlauts are not being displayed correctly anymore. The letters ä, ö, ü and ß will be displayed as ä, ö, ü, ß. I have checked the permissions of the files and all are correct. By the way, I can't find the file "l.txt".

How can I fix this?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Zipclaw on May 23, 2013, 05:20:27 PM
Hello? No one has any idea to my problem? I don't want it to keep it this way, otherwise I need to look for another shoutbox mod.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mooby The Golden Sock on June 06, 2013, 10:35:10 PM
I updated to the latest Tapatalk app (3.6.0) and now the NChat window is blank.  When I uninstalled Tapatalk, the functionality returned.

Is there any way to get these two to play nice together?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on June 08, 2013, 05:08:28 PM
Quote from: Mooby The Golden Sock on June 06, 2013, 10:35:10 PM
I updated to the latest Tapatalk app (3.6.0) and now the NChat window is blank.  When I uninstalled Tapatalk, the functionality returned.
Is there any way to get these two to play nice together?

I had the same problem and as far as I remember, I had to edit the install.xml of tapatalk.

Code (Find) Select

            <add><![CDATA[ include('mobiquo/smartbanner.php');]]></add>

Code (Replace By) Select

            <add><![CDATA[ include($boarddir . '/mobiquo/smartbanner.php');
]]></add>


(should be line 8 in a clean package)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 18, 2013, 09:10:30 AM
I went into my admin panel and then tried to edit the Nchat and it was a blank white page. When I go to http://uohl.net/forums/NChat/index.php it still shows a white blank page. So I dunno what happened. This has never happened to me before and have no clue in terms of what to do to fix it. I tried uninstalling it and reinstalling it as well and still nothing.


If anyone knows of any ways to help that would be great. Thanks in advance!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 18, 2013, 09:28:54 AM
Quote from: uecwmike on June 18, 2013, 09:10:30 AM
I went into my admin panel and then tried to edit the Nchat and it was a blank white page. When I go to http://uohl.net/forums/NChat/index.php it still shows a white blank page. So I dunno what happened. This has never happened to me before and have no clue in terms of what to do to fix it. I tried uninstalling it and reinstalling it as well and still nothing.


If anyone knows of any ways to help that would be great. Thanks in advance!


Also when I click admin and go to click on NChat to mod it this is what comes up in the link bar with the white page http://uohl.net/forums/?action=admin;area=modsettings;sa=nchat;c2862afb26=630a2c3d232f31f506b8773c7956a0d9
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 18, 2013, 01:17:03 PM
anyone have any ideas?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: uecwmike on June 19, 2013, 01:37:40 PM
Bump
Title: Re: NChat - No SQL Save BW shoutbox
Post by: woolly bugger on June 27, 2013, 07:07:45 PM
Just a notice that Tapatalk mod makes NChat inoperative ...

and I can no longer uninstall NChat with the package manager....

Looks like a manual uninstall is in order....


Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on July 19, 2013, 08:13:50 AM
Hey :)

I have an issue with the shoutbox vanishing, and discovered....

"Hmm. It looks like Chrome is generating errors every time it tries to update your chatbox. Chrome doesn't allow our AJAX calls to set the content-length, or connection header parameters as this can expose the site to certain security risks. See what happens when you comment out the lines in the script that set these values. ( at the bottom of the function nchat_ajax() function definition, just above the line function nchat_parser(nchat)"

Which is around line 142 of the boardindex file :).
http://stackoverflow.com/questions/17737344/my-shoutbox-vanishes-on-chrome/17737597
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PLAYBOY on August 01, 2013, 01:25:09 AM
Is this just a shoutbox on top of the forum or does it also have a popup chat window/room too?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on August 04, 2013, 04:06:12 AM
Just a shoutbox.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: N i g h t m a r e on September 12, 2013, 08:27:28 PM
How would i go about adding custom Actions / Commands.


Ex:


/me


/action {another user's username or name} then it auto-puts a brutal attake like {Gets obliterated} so it will come out as "*Test1 gets Obliterated by Test2*"


/ Announcement It automatically puts first {Attention Faithful Users} then an announcement that the admin/moderator has typed... and it comes out as "Attention FaithFul Users, We Have Restored Security. -Staff

/Ban {User} so it bans the user who's name has been typed after the "/Ban" and in the shoutbox it announces "Test1 has been banned from the shoutbox"


then Private Messaging within the shoutbox.


SO if you put:


/Whisper {Users Username} {Message after the Username}
-It shows in the shoutbox as:
"<Whisper>{User who you PM'd name}: {Message Here"


If you receive a Private Message, only you will be notified in the shoutbox and it will say:


You have Received a New PM, [Click Here] to view it.

Last command i need...


If someone makes a New Post it will say something like:


"{User who posted it} New Thread: {Thread Title} <-- make the link clickable.


and if someone made a new reply it would be


"{User who posted the reply} New Post: {Thread Title} <-- make the link clickable.


If someone can help me with any of these it would be much appreciated.... Just tell me what codes to use and where to put them and i wont need any other help....
Title: Re: NChat - No SQL Save BW shoutbox
Post by: N i g h t m a r e on September 29, 2013, 01:30:49 PM
All i need to know is, where and how do i input these commands? What File, Before, or After or Do i Completely replace something?


// command /me
$cmd_me = false;
if (substr($msg, 0, 4) == '/me ')
{
$cmd_me = true;
$msg = substr_replace($msg, '', 0, 4);
}
// "search" command
if (substr($msg, 0, 8) == '/google ')
{
$msg = substr_replace($msg, '', 0, 8);
$msg = '<b>'.$txt['tb_to_search'].' &quot;'.$msg.'&quot; '.$txt['tb_using_google'].', <a href="http://lmgtfy.com/?q='.$msg.'" target="_blank">'.$txt['tb_click_here'].'</a>.</b>';
}
// command /action
if (substr($msg, 0, 8) == '/action ')
{
$tb_action = array(
"gets smacked by",
"is 0wnd by",
"is slapped around by",
"gets beat down by",
"is stomped on by",
"is destroyed by",
"gets annihilated by",
"is given a black eye by",
"is given a fat lip by",
"loves being choked by",
"gets pummeled by",
"gets ******-slapped by",
"gets smoked by",
"gets body slammed by",
"is kicked to the curb by",
"is punked by",
"gets pwned by",
"gets humiliated by",
"gets clobbered by",
"is thrown to the mat by",
"gets a piledriver from",
"is beaten to a pulp by",
"gets knocked out by",
"gets crushed",
"is repeatedly punched by",
"is visciously mauled by",
"is shanked by",
);
$rand_keys = array_rand($tb_action, 2);
$tb_action = $tb_action[$rand_keys[0]];

$msg = substr_replace($msg, '', 0, 8);
$recip = "--><span class=\"tb_action\">* $msg";
$msg = "$recip $tb_action $name *</span></span>";
$name = "<!--$name";
}
// command /whisper
if(strlen(strstr($name.' '.$msg,$name.' /whisper'))>1)
{
$whis = 2;
// command /news
if ($user_info['is_admin'] && substr($msg, 0, 6) == '/news ')
{
global $txt;
$name = $sbot;
$msg = substr_replace($msg, '', 0, 6);
$msg = '<span class="tb_news1">'.$txt['tb_announce'].': <span class="tb_news2">'.$msg.'</span></span>';
}
// command /welcome
if (!$user_info['is_guest'] && $msg == '/welcome')
{
$name = $sbot;
$msg = str_replace('/welcome','','<span class=\"tb_welcome\">'.$txt['tb_welcome'].'</span>');
}



Alo, could you take a look at that code and see if it needs fixing?

If i can get this done i really won't have any more questions for this shoutbox thread.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on November 12, 2013, 01:59:28 AM
Hey I am still having issues with the shoutbox, it keeps vanishing...can anyone please help me?

http://stackoverflow.com/questions/17737344/my-shoutbox-vanishes-on-chrome
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arantor on January 28, 2014, 01:20:52 PM
Moved to the Chat/Shoutboxes category on the mod site.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: kamili34 on February 06, 2014, 06:43:56 PM
Where I can change color of user nick. Staff have color which is set in ranks but when typical user is green on forum in chat window is grey.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Westwegoman on April 03, 2014, 10:54:55 PM
I get the same message.

Quotenchat/index.php is now unavailable! Please contact admin forum about this issue!

I only get the message when using Safari on an iPhone. Tested in FF on my PC and Chrome on the iPhone and it works fine.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: jsx on April 12, 2014, 10:38:09 AM
Is some bug with banned of users when I clicking to ban one user it not banned from system but only that second, who wrote a message under him. Why it happen? Whether it is a bug from NChat or a bug from my forum? Even I uninstalled NChat and I reinstated a clear files, I installed NChat anew and this bug is appearing. I also noticed that isn't work ban when are using IE11, just can't banned a user.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: mikk on May 17, 2014, 09:17:35 AM
Quote from: Misa95 on April 05, 2012, 11:45:28 AM
Mute List Manager didn't work. Can anybody help me? Please send me PM who now how to fix it?! Thanks.

Mute List Manager doesn't work for me too...

... and auto scroll doesn't work too.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on May 21, 2014, 09:17:40 PM
Quote from: Jade Elizabeth on November 12, 2013, 01:59:28 AM
Hey I am still having issues with the shoutbox, it keeps vanishing...can anyone please help me?

http://stackoverflow.com/questions/17737344/my-shoutbox-vanishes-on-chrome
Title: Re: NChat - No SQL Save BW shoutbox
Post by: dkstest on May 23, 2014, 03:46:00 AM
The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!

hello to everyone
i have the same message when in the address bar the site have the "www"

when missing the "www" everything is ok.

this happening in any browser

any idea?

thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: PalPal on August 17, 2014, 01:49:43 PM
encountering errors after uninstalling this mod. :(
Title: Re: NChat - No SQL Save BW shoutbox
Post by: acejays98 on August 17, 2014, 04:13:47 PM
QuoteFatal error: require_once(): Failed opening required '/home/content/06/10734706/html/trickzones/NChat/NChatBoardIndex.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/06/10734706/html/trickzones/Themes/default/BoardIndex.template.php on line 21

this is the issue and how the problem exist when I install the Nchat plugins the error the I mention is gone and my forum index work properly but in a few seconds all members has been disconnected and the browsers says data server data sending failed sounds like that and it happens every time as long as the Nchat is installed when I uninstall it the error exist and my forum index gone!!!

I use SMF Forum version: SMF 2.0.6
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Hersfeld on September 01, 2014, 04:30:28 AM
I just installed this Mod on my forum (2.0.8) and i would like to know if it is possible to place it under the forum and not on top of it?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: br360 on September 01, 2014, 10:18:07 PM
Quote from: Hersfeld on September 01, 2014, 04:30:28 AM
I just installed this Mod on my forum (2.0.8) and i would like to know if it is possible to place it under the forum and not on top of it?

To move it below the forum, take a look at this link- http://www.simplemachines.org/community/index.php?topic=429695.msg3403986#msg3403986
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on November 18, 2014, 09:53:41 AM
Nice mod! Works great :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 12:31:52 AM
Not sure this was mentioned yet, but there's a bug with emotes that if you have two emotes with the same image, one of them will always break.

The broken code looks like this:

<img src="http://domain.com/Smileys/custom/X<img src=" http:="" domain.com="" smileys="" custom="" xxdx.gif'="">

And a suggestion as well: Would be much better if the emotes used the emotes from SMF in the same way, such as same order, not displaying hidden ones, etc, because otherwise the emotes become a mess.

(As for why you'd have two emotes with the same image: Hidden ones with a different code for old users that prefer to type it another way).
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 06:38:37 AM
I suggested that and no dice unfortunately. Agreed for the same reason: HUGE mess.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 07:01:49 AM
Yeah, I see someone mentioned the other bug a year back too :/

Well, I'm already planning on releasing a new version of this or making a new chat based on this later this year, if I can get this smiley issue solved I'll post the changes needed here, the bug should probably go with some bbc parsing as well (plus the other benefits :P)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 08:28:21 AM
Excellent, good job :D.

There seems to be a shortage of secure and working shoutboxes lately.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 08:41:07 AM
Yeah, was troublesome to find a good one. The first one I chose and adjusted, and as I found later, many others, have a crucial problem with the messages (they don't update if more than one window is open with the chat). This one is great on this aspect, at least, and the way it updates the messages.

I will probably make my own from scratch later on, but I'm not that advanced yet, so for now I'll just use the functioning of this one as a base and add some nice stuff in it :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 08:44:40 AM
Mine doesn't even show if you're logged in. It's this one. No one knows why! It's a mystery ha ha.
http://stackoverflow.com/questions/17737344/my-shoutbox-vanishes-on-chrome
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arantor on January 02, 2015, 08:47:05 AM
Could be theme related, could be JavaScript related, all kinds of reasons.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 08:54:16 AM
Yeah but I even paid someone and he couldn't figure it out either.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 09:10:14 AM
You have any test accounts there? Odd that its only after login though, could easily be related to something in php/template itself.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 09:31:32 AM
When we fix it via firebug or chrome dev thingie it works, but when the changes are implemented it doesn't work. Will PM you test account details :).
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 09:44:38 AM
Yeah, looks like one more of those chrome bugs. Came across some similar ones on some other site I was making, same behavior of keeping the fix after a refresh as well :P

What did you try though? What I found was to add the position:

#nchat_admin_shoutbox {
position: static; }

Edit: Seems like its just the background staying on top of the chat, if the above doesn't work maybe trying to force it to stay on top by giving it a z-index will. (Still need to give it a position value for z-index to work though, it can be relative)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 10:32:39 AM
Nup, worked the first time it was changed but refreshing again killed it. z-index doesn't work either.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 01:04:39 PM
With changes directly to css right? (Yeah, some of these bugs act differently on both :P Just unticking and ticking back the background also solves this one, its just not working as it should)

Try removing the overflow:hidden here then:

.brscatinsides {
width: 100%;
/* overflow: hidden; */

This is odd, when I copied I saw it should not be getting to the browser, but chrome seems to be ignoring the comment there. Since it is a bug anyways, its worth a try.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Arantor on January 02, 2015, 01:05:33 PM
Don't forget this stuff tends to be cached ;)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 02, 2015, 01:08:32 PM
Its hard to find those, chrome "fixes" the bug on pretty much anything you change since it updates the page and loads properly then. But just to confirm, what did you use for z-index?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 02, 2015, 09:42:32 PM
Quote from: Fortytwo on January 02, 2015, 01:04:39 PM
With changes directly to css right? (Yeah, some of these bugs act differently on both :P Just unticking and ticking back the background also solves this one, its just not working as it should)

Try removing the overflow:hidden here then:

.brscatinsides {
width: 100%;
/* overflow: hidden; */

This is odd, when I copied I saw it should not be getting to the browser, but chrome seems to be ignoring the comment there. Since it is a bug anyways, its worth a try.


Already done that, it was suggested in the stack exchange. I've also edited the js about 40 times. It's alright, soon it wont even be there ha ha.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 03, 2015, 02:56:07 AM
I don't think it has to do with JS, its just a classical chrome bug (get those all the time while making sites... :P Firefox almost never has these issues, bah)

I think if you remove that block inside the chat that has the background it won't bug anymore. Then just leave the main div for that part have the background, better way to do that as well.

QuoteIt's alright, soon it wont even be there ha ha.
Removing the chat/changing to another one?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 03, 2015, 05:38:04 AM
I believe someone said it's still an issue on Opera, Safari, and Firefox so it's not chrome specific.

I'll be upgrading to 2.1 and I don't really intend on having one after that! :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 03, 2015, 06:27:04 AM
It was displaying fine on FF for me.

Ahh. I'll take a while to upgrade, as I'll only do so when I have all of the same modifications I have on 2.x now ready on the moment of the upgrade. And a big part of them are manual changes I made or mods that were manually installed or modified :P
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Jade Elizabeth on January 03, 2015, 09:14:40 PM
Yeah it seems to be working now, only occasionally vanishing :D. Thank you!!! :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: galumay on January 06, 2015, 05:42:35 AM
My chat has no text appearing in the chat box, when i type it appears in the text bar, but when i hit save, nothing! Tried as admin and also a std user.

One thing i noticed is I have no l.txt file in the nchat folder.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on January 26, 2015, 02:09:12 PM
Any support on this mod, still? I would like a dropdown box (like the color dropdown) which allows the user to select different rooms.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: peps1 on January 28, 2015, 07:01:30 AM
I keep getting

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!


:o
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on January 28, 2015, 08:37:23 AM
Quote from: peps1 on January 28, 2015, 07:01:30 AM
I keep getting

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!


:o
I'm not sure, but I think that is the error you get when you get a disconnected status, from a lag or problem on your internet, if it only happens sometimes. I might be mistaking it for another message though, they're similar, and I changed mine to be more clear :P
Title: Re: NChat - No SQL Save BW shoutbox
Post by: peps1 on January 28, 2015, 09:54:26 AM
Quote from: Fortytwo on January 28, 2015, 08:37:23 AM
I'm not sure, but I think that is the error you get when you get a disconnected status, from a lag or problem on your internet, if it only happens sometimes. I might be mistaking it for another message though, they're similar, and I changed mine to be more clear :P

I'm getting it every 3 seconds after loading the page  :-\
Title: Re: NChat - No SQL Save BW shoutbox
Post by: margarett on January 28, 2015, 09:56:53 AM
If it happens right after you install the MOD, check if
a) the file exists
b) the file and folder have proper permissions

If you can't fix the issue you should probably uninstall the MOD...
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on January 28, 2015, 03:11:39 PM

I've been using this mod for a long time now and really love it. But it is by far the most sensitive/breakable mod I've seen. Sometimes this error appears, sometimes the chat crashes due to special characters or too long line (still not know the exact cause), and had some more minor issues with it.

Be sure to :

+ 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
Title: Re: NChat - No SQL Save BW shoutbox
Post by: peps1 on January 28, 2015, 04:02:21 PM
Quote from: HunterP on January 28, 2015, 03:11:39 PM

+ 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

Think it could be a permission issue, as I'm on a windows host

So, I guess my question should now be, Has anyone got this running on a windows server, and if so how, as CHMOD is not an option?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 06, 2015, 12:17:58 PM
I just got this to stop working giving an error on the chat window as well, seems to have been the versions of things on the server.

The host just upgraded php and some other things, it no longer works even at 777 permissions on everything or reinstalling.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on February 08, 2015, 05:46:34 AM
Quote from: Fortytwo on February 06, 2015, 12:17:58 PM
I just got this to stop working giving an error on the chat window as well, seems to have been the versions of things on the server.
The host just upgraded php and some other things, it no longer works even at 777 permissions on everything or reinstalling.

This also occurs if index.php can't be found. Maybe you could try a relative path in stead of an absolute path?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 08, 2015, 11:24:47 AM
I'm discussing it with the host now, it seems to be an internal server error issue, but it is not going to the logs and we didn't find what is it yet. Happens on any other chat too, only other chats don't give an error :P
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 08, 2015, 07:27:29 PM
Not working very well for me on SMF 2.0.9. Admittedly the mod doesn't claim to be compatible with 2.0.9, says 2.0.1 was last claim of compatibility.

The package installer said it would install okay, and it did. I CHMODed the correct files. The mod does work but I have a window tall enough for about 10 lines no matter what I set the #lines in the mod settings.

Other than that, it's functional, no errors. It's just useless because it displays so few lines. Oh well, guess I'll try another chat box.

It's sad that so many of them are for SMF 1.x which should have been killed off a year or two ago. There aren't any at all that claim compatibility with 2.0.9. Maybe all mod package authors are doing same as me, why update our mods over and over when 2.1 is coming out? (In September... maybe...) :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 08, 2015, 07:38:29 PM
I had this working perfectly (except for some other problems) in 2.0.9, so if it doesn't work its not because of SMF.

I don't recall this mod having any settings for height, I think what you're editing are the total number of messages that can be displayed at one time, the height you'd probably have to edit on the template or through css. It'll have a scroll bar if there are more messages, like any shoutbox.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 08, 2015, 07:51:49 PM
The mod is useless if you have to go in and change code manually. That is the whole point of having a package installer.

It was a clean install test forum 2.0.9 with no mods installed. As I said, it worked okay. It's just that the window is too short to be of any use, displays only several lines of chat.

I'm not willing to go mess with the CSS. I have enough custom projects where I mess with CSS all day and all I want is a cheap, quick, dirty chat box for an insignificant forum in a far corner of the multiverse.

If the package installer can't install a functional mod package then IMO it's a waste of time.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 08, 2015, 07:58:45 PM
So it is useless because the default height doesn't suit your needs? There are some other problems with this mod, but you're not going to get any mod to visually look exactly how you want it without having to edit it. This mod's purpose is to be a shoutbox. It is perfectly functional as a shoutbox. If you want to edit how it looks that has nothing to do with its main purpose (nor most other mods out there).

If you want to change visual or aesthetic things and don't want to edit the main thing that controls all of it then that's your own problem, and you're not gonna go very far in making your forum look how you want.

The point of the package installer is to do exactly that, install packages, not to edit them for you.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 08, 2015, 08:07:29 PM
All my mods work right out of the box for SMF versions they are stated to be compatible with.

I just fell off the top 10 mod package authors list a few months back. If you have to edit a mod you wrote a crummy mod.

I'll grant that if you are running a custom theme you may have to edit, but this is a clean 2.0.9 installation, installed 1 hour ago with no mods and no changes from default settings.

Visual or aesthetic does not describe being able to see only 10 lines of chat. That is what I call dysfunctional.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 08, 2015, 10:06:49 PM
I still don't understand if you're talking about chat height or total messages available, but this mod works right out of the box. You can increase the messages limit to whatever you like, I have 120. I don't see how scrolling to see them is a problem or "dysfunctional" feature, all chats are like this, and it has a good height as default, I didn't need to change it at all and wouldn't want to. It would be a problem if it was much smaller or much higher than what it is.

Sure, it has some annoying bugs, but they are not related to the messages themselves, which work just fine if it installs correctly.

Anyway, if you're up to spending 5 minutes editing the files instead of complaining I modified this to be expandable and to be resizable, so you can resize the window to whatever you want, as well as some other improvements (instead of having a chat be 30 lines in height and occupy all the space and be annoying), I can put the modified version here.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 10, 2015, 12:20:38 AM
Scrolling them IS a problem. Look at the same mod for vBulletin. It shows maybe 20-30 lines of recent chat. For a vBulletin equivalent look at ... damn, I couldn't find a forum with vBulletin running their chat that the chat is visible to guests.

Nobody is going to want to scroll up and down. That's what I call dysfunctional. Hey don't listen to my opinion, I'm just an inexperienced guy with 20+ mods.

Sure it has annoying bugs. I can't disagree.

I'm working 10-12 hours a day 7 days a week writing code for other projects. I just want a chat mod that installs and works without debugging it.

If you wanna give me some advice I'd appreciate it. I'm running 2.0.9 with Curve. If I could make your mod work with a few edits it would be great. It's a private forum. It doesn't have to be pretty, it just has to be functional. It has to have maybe 30 lines or so of back chat.

The real problem we face here at SMF, we have to compete with vBulletin where you pay lots of bucks for the software and more bucks for the mods. But the mods look good and you don't have to mod them a lot to make them work.

I'm involved with several vBulletin forums and I've collaborated with writing private mods for them, but glad I"m not interested in running my own vB forums. SMF works fine for 2-3 person forums or small private forums. This small private forum (about 50 members) needs a chat box to make it go, but I need some sleep to make me go.

And then I get up tomorrow and tomorrow and tomorrow and write more and more and more code. I just don't have it left in me to fix SMF mods although oddly I wrote a new SMF mod today. Maybe it will be my new mod. Maybe it will put me back on the top 10 list. Maybe I'll just forget it. I guess I'm just getting jaded writing code for about 70 hours a week for the last 4 months.

All I really wanted was an out of the box working chat box for 2.0.9.

There's a real opportunity for somebody who wants to make their mark as a mod package author. After running through all the 2.0.9 compatible mods (1) and the rest that might be compatible (several) none of them worked out of the box, and I didn't have the patience to modify them when I have paying jobs lined up, plus an open source project that depends on me alone to keep it alive.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 10, 2015, 11:50:45 AM
These chats are meant to be small. In fact, I've never seen a chat much larger than that anywhere. Be it on random sites that have a chat, on other forums that come with it, or all the other shoutboxes. I've also never seen anyone complain about it. This is a problem just for you.

It should have a way to resize, I agree there, and is what I did on mine, but it would be very annoying to have a large chat on top of your index. You don't make a large chat if you're putting it inside a page that is meant for another purpose because it'll eat the space of other things and be an eyesore for anyone not using it.

This chat works out of the box for everyone, like pretty much all others on the mod site. The height not suiting your personal needs does not make it dysfunctional.


For the files, just replace this file on the nchat folder. I had to remove some of the modifications since they are specific to my forum, but it'll have the resize.

Then add this to the index.css file:
/* Expandable boxes base code */

input.trigger, input.trigger + label + .tab-content {
   display: none; }

input.trigger:checked + label + .tab-content {
   display: block; }

/* Chatbox styles */

.chat-smileys .tab-content {
   position: absolute;
   border: 1px solid #b5ddea;
   background-color: #dfeef6; }

.smiles-select {
   padding: 6px;
   width: 160px;
   height: 200px;
   overflow: auto;
   bottom: 15px; }

.chat-smileys {
   position: relative;
   display: inline-block; }


Just change the height/width if you'd like. Again these are made for my forum, but its blue so it should be OK with curve.


Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 10, 2015, 12:22:08 PM
Okay, thanks for the help. I'll give it a try.

BTW I got the "Helper of the Month" award too, I think was just after God invented dirt. ;)

I used to spend hours here each day answering questions just like you. My pictorial went away when I joined SMF staff, and when I departed they never put it back, not that I care whether mine shows.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 10, 2015, 02:45:58 PM
No problem, you're welcome :)

I used to be able to spend all day working on building entire wikis, but now I'm limited to helping occasionally when I have the time, I guess we all end up being too busy with one thing or another at some point :P
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 10, 2015, 05:20:37 PM
Did all that wiki work drive you wiki wonky? ;)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: HunterP on February 12, 2015, 11:51:41 AM
Quote from: Deprecated on February 08, 2015, 07:51:49 PM
The mod is useless if you have to go in and change code manually. That is the whole point of having a package installer.
...
If the package installer can't install a functional mod package then IMO it's a waste of time.

That's your point of view. Yes, not everyone is supposed to have any PHP knowledge. But for myself, there are not many mods which I haven't modified myself, just to suit it to my personal needs. This really is (in my humble and personal opinion) by far the best chat mod I've tried. It has some downsides and added some DB-queries to make (my) life a bit easier, but I can't do without no more :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Gwenwyfar on February 14, 2015, 05:22:18 PM
Quote from: Deprecated on February 10, 2015, 05:20:37 PM
Did all that wiki work drive you wiki wonky? ;)
Wiki wonky? Not sure what that's supposed to mean, but I don't think so :P

Title: Re: NChat - No SQL Save BW shoutbox
Post by: tranhiep116 on February 15, 2015, 05:29:09 AM
thanks this amazing  ;D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Rayvon on June 01, 2015, 01:34:31 PM
Quote from: nvcnvn on January 16, 2012, 10:06:05 AM
Quote from: KAOS Brady on January 15, 2012, 10:27:42 AM
I installed this but only admin can see the shoutbox and I can't figure out why

You should set permission for each group that you want them to see the chat box

Everything seems to be working great - but we've noticed that newly registered users can see the chatbox .. There is no where in the SMF Permissions portion of the Admin Panel to edit this group to prevent this .. Help???
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Rayvon on June 01, 2015, 02:56:43 PM
Quote from: rayvon on June 01, 2015, 01:34:31 PM
Quote from: nvcnvn on January 16, 2012, 10:06:05 AM
Quote from: KAOS Brady on January 15, 2012, 10:27:42 AM
I installed this but only admin can see the shoutbox and I can't figure out why

You should set permission for each group that you want them to see the chat box

Everything seems to be working great - but we've noticed that newly registered users can see the chatbox .. There is no where in the SMF Permissions portion of the Admin Panel to edit this group to prevent this .. Help???

I've found a little work-around for this, but is there a way the settings could be fixed for those with no primary membergroups?


My workaround: I created a group and titled it 'Newly Registered' and have set the permissions for 'Registered' to use its own set [versus its own set or borrowed from another set]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F0Cdpgsh.png&hash=2242b99b64e72b749233107da44c883a1a80e47e)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtenvRFI.png&hash=b28f43ff94b0b9df0c679af42cc28900b27e7758)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Rayvon on June 03, 2015, 08:38:01 PM
This work-around actually didn't work after taking a closer look ... Setting it to 'deny' and matching the uneditable permission set of 'Registered' with it prevents everyone except Admins from being able to use the functions ...

Can anything be done about the 'No primary membergroup' permissions?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Rayvon on June 08, 2015, 01:05:59 PM
Blah - disregard the above ... Series of brain farts .. Flatulence cleared up; "Regular Members" in the Permissions settings is the "No Primary Membergroup" set, I removed the couple masks that were inheriting from it and fixed up nchat permissions to the 'X' column .. Everythings all good and working very properly  ..

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforums.newsithorder.info%2FSmileys%2Fdefault%2Ffacepalm2.gif&hash=7bb3d9ce91d04d8dbf7715b717f0e93ae154c9e9)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: peps1 on July 03, 2015, 09:54:08 PM
Quote from: nvcnvn on April 13, 2011, 11:30:28 AM

NOTE

+ 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

You have to set the permission for each group after install the mod! By default just admin can read, write and manager the chatbox.

What about Windows servers, as I understand they don't use CHMOD?

So right now I just get

QuoteThe ./nchat/index.php is now unavailable! Please contact admin forum about this issue!

in the chat box
Title: Re: NChat - No SQL Save BW shoutbox
Post by: peps1 on July 23, 2015, 02:21:51 PM
I don't see a  "l.txt" file to set a permission on?

using 2.0.10

Also have a member reporting they can see the message then it disappears and is replaced with:

QuoteThe ./nchat/index.php is now unavailable! Please contact admin forum about this issue!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Siirist on January 28, 2016, 12:17:34 PM
Quote from: peps1 on July 23, 2015, 02:21:51 PM
I don't see a  "l.txt" file to set a permission on?

using 2.0.10

Also have a member reporting they can see the message then it disappears and is replaced with:

QuoteThe ./nchat/index.php is now unavailable! Please contact admin forum about this issue!

1) I had the same problem. To my knowledge, after searching on my host, there is NOT a "l.txt" file.

2) The "... now unavailable was corrected by setting the permissions.
REALLY REALLY make sure you set permissions EXACTLY as instructed.

I have the following themes:
SMF Default Curve (of course)
1038 {Fresh Look} (NOTE: This is my default theme on the forum)
Havvo
Fumes (this is the one I use)

When I installed, it only offered Havvo and Fumes as the additional themes to install on (Fresh Look just wasn't there).

After installing, I set the permissions, and then went to manually modify the file for the Fresh Look theme.
Once I got to the Fresh Look folder I discovered that the files for NChat were present.
Went back to my forum, change my theme to Fresh Look and there it was, and fully functional.

NOTE: You CAN use html code in the "Admin Message". Here is what I was able to do.

<font color="#808080"><b>Welcome</b>! &nbsp; <u>NOTE:</u> This Chat is <u>NOT</u> private! &nbsp; All members have access. Bad word censoring is turned on.

<font color="#808080">makes the text dark grey, <b>turns on bold, </b>turns off bold, <u>turns on underline, </u>turns off underline, and "&nbsp; " = inserts an extra space.

Be Well,
Siirist
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 23, 2016, 04:54:33 PM
I decided to give this mod a try again, and I was surprised that it worked fine right out of the box on SMF 2.0.11 !!!

I did some tweaks on it to make the appearance more pleasing to me. I got rid of that admin bar thing. I changed a few text messages (like the button you push to send a line now says "Send"). I changed the CSS around a bit, changing some of the spacing that didn't appear right for me. Made the chat box a bit taller to show more lines.

I was a bit amused to discover the mod uses a flat file (NChatMess.php) to store the messages. I'm not sure that is more efficient than SQL or not. Perhaps later I'll just mod the code and stick the messages in a SMF setting. Perhaps I'll just tell myself it doesn't matter. :)

Everything considered, it's not a great mod IMO but it's not a bad mod either. There's a few bugs like the smileys get pretty crazy if you show them and then hit 'more.' Big smileys in the first row seem to overlap the B I U and text color etc. It would be nice if the button toggled to "hide smileys" when they are being shown, but a page refresh will do that too.

If I were the author I would check the 2.0.11 compatibility box. I tested it first on a clean test forum (no mods) and when I was happy with my modified NChat I installed it on my pre-production forum (8-10 mods written by my favorite mod author :) ) and no interactions observed. This is the best chat or shout box I tested and I've decided to stick with it for the time being. :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 23, 2016, 05:28:16 PM
Oops I spoke too soon. After I put it in production I noticed after a time you get this message:

"The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!"
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 23, 2016, 05:35:13 PM
Quote from: Gwenwyfar on January 28, 2015, 08:37:23 AM
Quote from: peps1 on January 28, 2015, 07:01:30 AM
I keep getting

The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!


:o
I'm not sure, but I think that is the error you get when you get a disconnected status, from a lag or problem on your internet, if it only happens sometimes. I might be mistaking it for another message though, they're similar, and I changed mine to be more clear :P

In reading the back topic I see I'm not the only one. First of all, I think at least I'll change the message to "Please refresh your browser to update the chat box."

IMO it probably has something to do with the update/refresh cycle but I haven't dug into the mod that far yet.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 23, 2016, 05:46:31 PM
Quote from: Gwenwyfar on January 02, 2015, 12:31:52 AM
Not sure this was mentioned yet, but there's a bug with emotes that if you have two emotes with the same image, one of them will always break.

The broken code looks like this:

<img src="http://domain.com/Smileys/custom/X<img src=" http:="" domain.com="" smileys="" custom="" xxdx.gif'="">

And a suggestion as well: Would be much better if the emotes used the emotes from SMF in the same way, such as same order, not displaying hidden ones, etc, because otherwise the emotes become a mess.

(As for why you'd have two emotes with the same image: Hidden ones with a different code for old users that prefer to type it another way).

That's one of my critiques too, that the mod doesn't respect the "hidden" attribute of smileys. And as you said sometimes you hide smileys to cover changed codes that break old uses of that smiley. Might be a solution to create a separate smiley set just for the mod.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 23, 2016, 05:53:15 PM
Quote from: Sin' on February 14, 2013, 08:40:04 PM
just installed yesterday, i need this working!
Error: The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!

Lots of problems with this one. BTW I'm using FF. I have a suspicion the cause and solution will be found in the JavaScript. I'll pore over the JS and AJAX and see if anything stands out.

It's clear this is a persistent problem for many and should be solved. As it stands right now this chat box is the only mod that comes even close to being acceptable. Many are suffering even if infrequently, so it's important to figure this out. I'm pretty good at this (and rather immodest) and I'm practically certain this can be solved. At least for the time I think I'll change the message to "refresh your browser" LOL!
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 29, 2016, 10:53:34 AM
I think I found a fix for the "Error: The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!"

In NChatBoardIndex.php,

find:}else if(show_err == true)
   nchatOutput.innerHTML = "<div class=\'errorbox\'>'.$txt['nchat_index_unavailable'].'</div>";


replace:}else if(show_err == true)
   window.location.reload(true);


In other words, when there's a problem don't just complain about it, do something about it! Like if your house is burning down, don't shout "Fire!" Go grab a water hose!

NChat obviously recognizes it has a problem so you see the message. My fix simply reloads the whole page. The problem is gone after the page is reloaded.

I used to see the problem often before my fix, but I haven't seen it since. Please post your experience with this fix if you try it.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Deprecated on February 29, 2016, 11:08:15 AM
By the way, I got NChat working... Sorta... The biggest problems are:

1.) It shows the time in forum time, doesn't display time in each member's chosen time zone. In my case I picked GMT (UTC) for forum time because it's the default that makes the most sense. (Sure must be nice to live in England.) So if you want to see when what lines were sent you have to do a mental conversion from whatever time zone the forum's default is, because unless you live in that time zone it doesn't show your local time. This is by the way caused by storing the messages in a flat file where you can't change the flat file time stamps for every member's preference.

2.) I got it looking good after I removed the pointless Admin message. I tinkered the CSS, removed the scroll bar, hid the overflow. Without that, once the box fills up with new messages on bottom, each new message causes a scroll with the new message hidden. My fix works in new messages on top and overflow hidden.  Looks barely passable. I'd be happier if I could get this to work new messages on bottom, but couldn't. Maybe add an event and scroll to bottom might fix that.

3.) The whole concept of storing the chat in a flat file NChatMess.php is lunacy. Like, your HDD is faster than MySQL running in SSD? Like there aren't already a zillion things in SMF's database and a few lines more used for chat is going to bring the whole forum crashing down? And what's with that last.html??? Is it storing the time of the last entry? That can't go in the database??? OM*G! ---- This mod comes so close, and its author obviously spent lots of time writing it, but he never finished it. (And obviously doesn't intend to, hence the GitHub.)

4.) There's a vBulletin chat box mod that stores ALL chat history back to the when the mod was installed (or when the admin last cleared it). Users can modify their own line after posted. They can even go back weeks and change old lines. And you can read the back chat as far back as you want. Moderators can edit all posts. And much more.

NChat will have to do for the time being, until I either find another mod, find some external chat that can be integrated into SMF, or when I write my own. Heh, too bad you can't port vBulletin mods to SMF. :D
Title: Re: NChat - No SQL Save BW shoutbox
Post by: zapiy on July 08, 2016, 06:46:37 PM
ok there is a way to view this via forum/NChat/index.php?action=room but its the same size as the shoutbox above the forum.. is there a way to make this larger and not affect the one on the forum?

Thanks
Title: Re: NChat - No SQL Save BW shoutbox
Post by: mj. on February 12, 2017, 09:49:25 AM
Excuse me not reading the bajillion posts in this thread.  Is there an easy way to make this appear if the user picks unread posts.  Please forgive me for not being a PHP or theme expert.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: mj. on February 12, 2017, 05:57:59 PM
Ok, I figured out how to put this on every page but I'm not sure I want to do that now, I may get smacked for being annoying.  I have 1 constructive suggestion.  PLEASE put the permissions for this under a separate subheading.  I looked forever for them, they shouldn't be in General in my opinion.  I've uploaded a screenshot that shows how SMF Gallery has done them.  Thanks.

Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 09, 2021, 03:26:21 PM
Hello,

I can't seem to see the mod after installing--regardless of member group or permissions.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mick. on December 09, 2021, 04:24:17 PM
This author hasn't been active since 2014  :o
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 09, 2021, 04:26:32 PM
Quote from: Mick. on December 09, 2021, 04:24:17 PMThis author hasn't been active since 2014  :o

so you're saying there's a chance? :)
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Mick. on December 09, 2021, 04:30:39 PM
Quote from: rcane on December 09, 2021, 04:26:32 PM
Quote from: Mick. on December 09, 2021, 04:24:17 PMThis author hasn't been active since 2014  :o

so you're saying there's a chance? :)
I'm saying it may be hard to get support for this mod from the author.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dzonny on December 10, 2021, 02:55:10 AM
You can't see mods settings or chatbox itself?
The mod is quite outdated now, and won't work with newer php versions (7.3 or so), so it may be better to use different chat/shoutbox mod (there's few available on mods site).
Title: Re: NChat - No SQL Save BW shoutbox
Post by: shadav on December 10, 2021, 05:25:23 AM
offtopic but aren't you using tinyportal? pretty sure it has a built in shoutbox
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 10, 2021, 09:01:24 AM
Quote from: Dzonny on December 10, 2021, 02:55:10 AMYou can't see mods settings or chatbox itself?
The mod is quite outdated now, and won't work with newer php versions (7.3 or so), so it may be better to use different chat/shoutbox mod (there's few available on mods site).

I couldn't see the box.

I think way back I had tinyportal but didn't use it.  My forum was sitting 'in a box on the shelf' for almost a year before the group decided they needed it. 
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dzonny on December 10, 2021, 05:51:34 PM
Which php version you're at?
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 10, 2021, 05:52:56 PM
Quote from: Dzonny on December 10, 2021, 05:51:34 PMWhich php version you're at?

7.3.33
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dzonny on December 10, 2021, 05:55:18 PM
Like I said the mod is not built to work with newer version of PHP, 7.3 included, so that would be what is causing the problem most likely. I would suggest moving to alternative, for example:
https://custom.simplemachines.org/index.php?mod=2534
https://custom.simplemachines.org/index.php?mod=1295
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 10, 2021, 06:22:24 PM
yeah, took it off. 

looking at tiny portal, but holy crap that's a lot of feature for what I need. 
Title: Re: NChat - No SQL Save BW shoutbox
Post by: shadav on December 10, 2021, 09:59:35 PM
hahahaha yeah tp has a lot to it and when I first installed it thought I wouldn't really use it much, but over time as I've learned more about it I've found it extremely useful...still learning my way around it and what all I can do with it. Originally installed it just for a login/user panel but over time I've found so many other helpful uses for it esp the articles part and playing with custom codes to display in blocks on the sides and footer of sites :)
but gonna shush as I'm off topic in this thread, but you can install tp and just not use anything else other than the shoutbox if you so choose.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 10, 2021, 11:46:16 PM
AYE. thanks.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: rcane on December 11, 2021, 12:13:03 PM
Quote from: shadav on December 10, 2021, 09:59:35 PMhahahaha yeah tp has a lot to it and when I first installed it thought I wouldn't really use it much, but over time as I've learned more about it I've found it extremely useful...still learning my way around it and what all I can do with it. Originally installed it just for a login/user panel but over time I've found so many other helpful uses for it esp the articles part and playing with custom codes to display in blocks on the sides and footer of sites :)
but gonna shush as I'm off topic in this thread, but you can install tp and just not use anything else other than the shoutbox if you so choose.

How does the articles work?  I mean, what actual content goes inside those?  format?

I was only looking for a long (left margined) shoutbox to satisfy the ADHD users, but a spot for articles could be nice.

Does TP show on mobile devices?  that's a lot of compromising on a small screen.
Title: Re: NChat - No SQL Save BW shoutbox
Post by: Dzonny on December 12, 2021, 07:22:26 AM
That's really a questions for a mods support topic for TP, not this one.