[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Spamihilator » Thema anzeigen - New plugin: Outgoing Friends

New plugin: Outgoing Friends

Alles, was mit Plugins für Spamihilator zu tun hat. (Keine Plugin-Hilfe, Plugin-Bugs oder Plugin Feature Requests, siehe jeweils dort.)

Moderator: Forum-Team

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 1. Sep 2011, 08:11

Unfortunately, due to a change in the way Spamihilator stores its friends list, Outgoing Friends is not going to be compatible with the new beta versions of Spamihilator (above 0.9.9.54).

Spamihilator no longer stores the friends in an ini file, but in a database. Unless it provides some way for an external program to add to the friends list, Outgoing Friends can't work. Sorry about that.

Alex
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re:

Beitragvon anbuva » 1. Sep 2011, 19:05

Hallo AlexV!

:cry: very sad :cry:
Is there hope for a new version? :)

Regards
anbuva

Bild
Benutzeravatar
anbuva
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8403
Registriert: 1. Sep 2004, 12:58
Wohnort: Zuhause

Re: Re:

Beitragvon AlexV » 1. Sep 2011, 19:23

AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: Re:

Beitragvon anbuva » 1. Sep 2011, 20:33

Hallo AlexV!

Thanks for your reply. I find very nice that you show interest in further development. My respect (even before your work). I hope that we get here, maybe even an idea or solution. Perhaps by michel?

Regards
anbuva

Bild
Benutzeravatar
anbuva
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8403
Registriert: 1. Sep 2004, 12:58
Wohnort: Zuhause

Re: New plugin: Outgoing Friends

Beitragvon michel » 4. Sep 2011, 10:30

Alex,

I'm very sorry to hear that this add-on won't work anymore. To be honest, I did not think about what could happen to external programs when I implemented that feature. Luckily there may be a solution: actually it's possible to change the SQLite database while Spamihilator is running. All you need is some way to tell Spamihilator to re-initialize its internal cache--i.e. to re-read the database. I propose to add a special window message, say WM_FORCE_REREAD_SENDERS or something like that. Your add-on could send this message to Spamihilator's main window whenever it has changed the database.

What do you think about that?

Bye,
Michel
Chuck Norris doesn't kill Spam. He uses Spamihilator! ;-)
Benutzeravatar
michel
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
Plugin-Programmierer
 
Beiträge: 4335
Registriert: 22. Mär 2003, 01:16
Wohnort: Buseck

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 4. Sep 2011, 11:22

Hi Michel,

So Spamihilator doesn't lock the database while it is running, then? In that case, if you tell me I can modify the database file directly without causing instability in Spamihilator, then I will make that change. Even if Spamihilator doesn't pick up the changes until it's restarted, it's better than nothing.

Ideally, it would be nice to be able to trigger it with a special window message. I assume that would be sending it to the window with the class name "Spamihilator"? If you give me the details of the message to send, I'll make that change too. It should be harmless to send to a version of Spamihilator that doesn't support it, which makes things easier!

Thanks,

Alex
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 8. Sep 2011, 08:10

Here's an experimental version of Outgoing Friends that writes friends to senders.db, if present:



It does seem to do the job, but I haven't been able to test it as much as I would like as Spamihilator .59 crashes when using any of my plugins (except this one, which isn't actually a plugin!). I've got to go back to using an older version now, or suffer a whole lot of spam getting through.

Alex
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: New plugin: Outgoing Friends

Beitragvon Chactory » 8. Sep 2011, 21:52

Salut AlexV!

Thank you very much for updating the OutgoingFriends plugin! :D (Why isn't it a plugin?)

I think you could use Spamihilators newest version 0.9.9.59 unconcernedly with the current filters as are Newsletter Plugin, Rule Filter, Link Filter, DCC Filter, Attachment Filter, Charset Plugin, Spam Word Filter and Learning Filter (Bayesian).

À bientôt, Chactory

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: New plugin: Outgoing Friends

Beitragvon anbuva » 8. Sep 2011, 21:58

Hallo AlexV!

thank you :D

Regards
anbuva

Bild
Benutzeravatar
anbuva
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8403
Registriert: 1. Sep 2004, 12:58
Wohnort: Zuhause

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 9. Sep 2011, 08:09

AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: New plugin: Outgoing Friends

Beitragvon Chactory » 10. Sep 2011, 08:44


Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: New plugin: Outgoing Friends

Beitragvon michel » 9. Okt 2011, 11:24

Chuck Norris doesn't kill Spam. He uses Spamihilator! ;-)
Benutzeravatar
michel
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
Plugin-Programmierer
 
Beiträge: 4335
Registriert: 22. Mär 2003, 01:16
Wohnort: Buseck

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 9. Okt 2011, 11:57

Thanks. I've just tested it out. I had the Friends page open in Settings, then had my program add a couple of entries and send the message. I then started typing in the Search box to see if they'd been added successfully, and got a crash (I've emailed the dump file).

Windows then popped up a box saying that it had detected that Spamihilator had crashed, and was going to apply some compatibility settings to stop it from doing so again. Of course, it refuses to say exactly what those settings are, but doing some research led me to the registry key that holds the settings, and from there I can tell you that the setting applied was DISABLEUSERCALLBACKEXCEPTION. There's an article here about what it does:

After restarting Spamihilator, with that setting in place, the crash no longer occurred. Or, given the explanation of the setting, I suspect the crash did occur, but was suppressed by the windows compatibility shim.

I hope this helps,

Alex
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: New plugin: Outgoing Friends

Beitragvon michel » 9. Okt 2011, 12:19

Alex,

Thanks for the feedback. It should work even without that setting, when you don't use the search box, but close the window and open it again. I will try to fix the crash though.

Bye,
Michel
Chuck Norris doesn't kill Spam. He uses Spamihilator! ;-)
Benutzeravatar
michel
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
Plugin-Programmierer
 
Beiträge: 4335
Registriert: 22. Mär 2003, 01:16
Wohnort: Buseck

Re: New plugin: Outgoing Friends

Beitragvon AlexV » 9. Okt 2011, 12:35

Hello Michel,

If you close and open the window, does it not re-read the database regardless of whether the message was sent? That's why I was testing it with the window open, so that the act of opening the window wouldn't invalidate the testing.

In any case, here is the updated version of Outgoing Friends that sends the message after it updates the database:



Alex
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

VorherigeNächste

Zurück zu Plugins: Allgemein

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron

 industrious-southeast