Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: chatlogger plugin  (Read 77727 times)

Offline oddball118

  • Beta Testers
  • Full Member
  • *
  • Posts: 60
    • 4thID Clan
Re: chatlogger plugin v0.2.0
« Reply #90 on: February 23, 2010, 02:56:44 AM »
Thanks, the first one did the trick.

Offline SanKen

  • Sr. Member
  • ****
  • Posts: 212
    • ProGaming - Only Multigaming is the most important
Re: chatlogger plugin v0.2.0
« Reply #91 on: May 21, 2010, 02:05:43 PM »
Plugin works on BFBC2? I was very happy if they worked. Technically it is a possibility
Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: chatlogger plugin v0.2.0
« Reply #92 on: May 21, 2010, 03:28:49 PM »
Plugin works on BFBC2? I was very happy if they worked. Technically it is a possibility

it would work, yes. The only problem is it can't differentiate between team, squad and global chat.

Offline SanKen

  • Sr. Member
  • ****
  • Posts: 212
    • ProGaming - Only Multigaming is the most important
Re: chatlogger plugin v0.2.0
« Reply #93 on: May 21, 2010, 04:18:50 PM »
Yes, it working. Very nice. :) Thx
Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.

Offline grosbedo

  • Former Dev. (senate)
  • Sr. Member
  • *****
  • Posts: 258
Re: chatlogger plugin v0.2.0
« Reply #94 on: August 17, 2010, 02:09:26 AM »
Courgette, I took the initiative to update your great plugin with some extra features.

Here is v0.3.0 with this changelog :

Code: [Select]
17/08/2010 - 0.3.0 - GrosBedo
 * !randomquote : say a random quote from the log
 * auto random quote : say a random quote automatically at an interval
 * can customize the quote string format from config
 * filters censored words from random quote (with censor plugin and config)
 * enable/disable public/team/private chat logging
 * Words filter : can set a list of words to filter, from logging and/or from quoting

With this plugin, I could notice that oa081.py hadn't any regexp for team chat, so here is an updated version too (v0.7.1) - I will post it on the old post.

[attachment deleted by maintenance]
« Last Edit: August 17, 2010, 02:11:04 AM by grosbedo »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #95 on: August 17, 2010, 08:08:42 AM »
Thanks grosbedo, but I won't take those changes. Here's why :
  • It does not fit with the orginal goal : log chat in database
  • It is a too risky change : over 200 servers are using this plugin, if something goes wrong, this will put a lot of pressure on me to get things fixed ; and I have no time for this these days
  • As you can see in the changelog, this plugin took time to converge toward stability. I do not wish loose that

I'm sure you understand those reasons. Now I suggest you convert your work into your own plugin : chatlogquotter ? which could be a companion plugin for chatlogger.

Offline grosbedo

  • Former Dev. (senate)
  • Sr. Member
  • *****
  • Posts: 258
Re: chatlogger plugin v0.2.0
« Reply #96 on: August 17, 2010, 11:35:38 AM »
As I understand your reasons, I find it stupid to keep softwares in a grave, they are meant to evolve.

As I don't have much more time left and since some changes are made _for_ the chatlogger specifically as requested by some users in this thread, like :

 * enable/disable public/team/private chat logging
 * Words filter : can set a list of words to filter, from logging and/or from quoting

I won't make another separate plugin. This one will just have to stay an unofficial update then.

Offline grosbedo

  • Former Dev. (senate)
  • Sr. Member
  • *****
  • Posts: 258
Re: chatlogger plugin v0.2.0
« Reply #97 on: August 17, 2010, 03:44:14 PM »
Finally, Ive made my mind, after spotting a bug in the cronjob. I added more features, and separated my changes between a chatlogger update and another chatloggerquoter plugin. As minimal things as possible were changed in the chatlogger plugin, and these changes are not required for chatlogger quoter to work.

Chatlogger v0.3.1 changelog :
Code: [Select]
17/08/2010 - 0.3.1 - GrosBedo
 * enable/disable public/team/private chat logging
 * Words filter : can set a list of words to filter from logging
See attached file for download.

Chatlogger Quoter v0.3.1 thread and download :
http://www.bigbrotherbot.net/forums/releases/chatlogger-quoter/msg14358/#msg14358

This will probably be my last plugin for a while, I have to retire from all the stuffs Im doing quickly, or my health won't sustain...

[attachment deleted by maintenance]
« Last Edit: August 17, 2010, 03:53:18 PM by grosbedo »

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #98 on: August 30, 2010, 08:35:30 PM »
can you help me again?
i copied files: .xml and .py
where do i copy .sql?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #99 on: August 30, 2010, 08:50:24 PM »
hi, sql code is to be imported in your mysql database

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #100 on: August 30, 2010, 08:56:01 PM »
yes... so...
i copied the files and imported .sql on the database.
now chatlog table'll fill when someone write something...
is it so?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #101 on: August 30, 2010, 09:03:02 PM »
if setup correctly yes :)

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #102 on: August 30, 2010, 09:08:10 PM »
well, ;D
something doesn't work... the .sql file i imported where do i put it?
can i leave it in any folder?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #103 on: August 30, 2010, 09:16:14 PM »
no you import it the same way you did with the b3.sql when you installed B3

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #104 on: August 30, 2010, 09:26:13 PM »
no you import it the same way you did with the b3.sql when you installed B3
i'm really tired now... i have to set the .xml file...  :o
Code: [Select]
<configuration plugin="chatlogger">
<!-- optionally you can choose a different name for the table used
to store the log. Default is 'chatlog'. To do so, uncomment the
following part: -->
<!--<settings name="database">
<set name="db_table">chatlog2</set>
</settings>-->

<settings name="purge">
<!-- how long (in days) do you want the history to be kept for.
0 : keep chat log history for ever (default value)
You can use the following syntax as well
3d : purge all chat older than 3 days
2w : two weeks
6m : six month
1y : one year
-->
<set name="max_age">0</set>

<!-- The purge action takes place once a day at the time define below.
Default time is midnight -->
<set name="hour">0</set>
<!-- hour between 0 and 23 -->
<set name="min">0</set>
<!-- min between 0 and 59 -->
</settings>
</configuration>


<!--<settings name="database"> for a new database name
<set name="db_table">chatlog2</set> isn't chatlog?
<set name="hour">0</set>
      <!-- hour between 0 and 23 -->
      <set name="min">0</set>
      <!-- min between 0 and 59 -->
   for example can i set hour 0-6
                                          min 10-20
log between 0 and 6 hour and 10-20 minutes of this hour?
a bit confused i explain you.
thank you again!  8)

 


Rate this page +1 at Google Search