Welcome to Geeklog, Anonymous Friday, April 18 2025 @ 09:29 am EDT
Geeklog Forums
Plugin development and core table (vars)
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.
-- Heather Engineering
-- No job too small
-- Heather Engineering
-- No job too small
9
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by euan: When writing plugins, is it bad practice to use the vars table to store settings?
It\'s fine if you only have a few variables (I do it myself 
8
6
Quote
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.
-- Heather Engineering
-- No job too small
-- Heather Engineering
-- No job too small
10
11
Quote
All times are EDT. The time is now 09:29 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content