News:

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

Main Menu

NChat - No SQL Save BW shoutbox

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

Previous topic - Next topic

Perspective

#140
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.

Jessica.

^agree with the mute feature

and is it possible to do something like this:

typing in /me is bored will make

*Jessica is bored*
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

teos55

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 ?

nvcnvn

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! :|

teos55

  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 ?

nvcnvn

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!

teos55

  Selecting yahoo smiles and ctrl+f5 brings back the smiles button. Thanks 

Fred Biles

Is it possible for us to add smileys to the list in the file NChatSmiles.txt  ?

nvcnvn

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

PLAYBOY

How close is the next update with all these features and translations?

Fred Biles


Adrek

Where can i remove limit for lenght of messages ?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

nvcnvn

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 :)

MarkLeevE


nvcnvn

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

Adrek

#155
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
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

applelakshan

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

nvcnvn

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

studiowi33

An EDIT feature just for Admins would be appreciated.
SMF 2.0.2

Adrek

@up +1
and some popup with confirmation question before delete entry ;)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Advertisement: