Author Topic: Simple plugin to write a value in a database  (Read 2441 times)

Offline voltron81

  • Jr. Member
  • **
  • Posts: 42
Simple plugin to write a value in a database
« on: October 19, 2009, 10:53:42 AM »
Hi to everybody.
I'm looking for a very simple plugin that give the opportunity, with radio button or a slider, to write a value (let's say 0-10) into a database.

Basically with ISPConfig3 I've created 11 spam rules and I know how to change the values on the database.
So basically I need a roundcube plugin who create a new section in Settings and save the value that the customer will choose.
This plugin will do a select to the ISPConfig Database like that:
INSERT INTO spamfilter_users VALUES ('value1') where email = username of roundcube.

Do you know how to make it?
I was looking some plugins, like SpamAssassin MySQL Plugin, but they are quite difficult to understand how to write it with roundcube...
Any suggestions?

Thanks a lot