Posted on: 07/28/03 12:37am
By: Euan
When writing plugins, is it bad practice to use the vars table to store settings? Should I make my own table? I\'m using it for the usual group install/uninstall records, but thinking of putting a few other settings in there too. Is this evil?
Cheers,
Euan.
Re:Plugin development and core table (vars)
Posted on: 07/28/03 03:32am
By: Dirk
[QUOTE BY= euan] When writing plugins, is it bad practice to use the vars table to store settings?[/QUOTE]
It\'s fine if you only have a few variables (I do it myself

Try to think of names that won\'t cause name collisions. I\'m using names like
pluginname.variablename
, e.g.
blog.speedlimit
for the speedlimit setting in the blog plugin.
bye, Dirk
Re:Plugin development and core table (vars)
Posted on: 07/28/03 04:09am
By: Euan
Thanks Dirk. I\'ve actually just made my own table for now as there are fair few items I wanted to save. The two items I do have in there are both prefixed gmail_xxx which I\'ll make gmail.xxx as that would be a sensible standard.
Cheers,
Euan.