I haven't put my settings in the vboptions though. I've created the following custom tables:
vb_lotteries
vb_lotterynumbers
vb_lotterysettings
vb_lotteryuserjoin
vb_lotterysettings fields
------------------------
name
value
this is so I can add more settings without altering the table structure.
Current settings include but are not limited to:
Name Value
HomeURL
http://localhost/
lotteryactive 0
onoffreason "Lottery System is unavailable right now - please come back later"
Title "Test World of Warcraft Lottery System"
vb_lotteries fields
---------------------------
lotteryid
drawdate
ticketcost
jackpot
vb_lotterynumbers fields
---------------------------------
userid
ball1
ball2
ball3
ball4
ball5
ball6
vb_lotteryuserjoin fields
---------------------------------
userid
drawdate
confirm
Does this seem like the right way to go? Isn't there a more simple way of loading settings instead of using vboptions? This method seems a bit complex at my current stage of developing mods.
Thank you again for your input,
Jim