Quote:
Originally Posted by DragonBlade
dartho,
I'm sorry if it seems like I'm butting in, or if the above code wouldn't work, but it just makes sense to me to have as few template edits as possible, and wouldn't that reduce your template edits to zero? :3
|
I was thinking of doing this once I was happy everything was working, but then decided to keep it a manual edit. The new temlate engine would probably happily merge those manual changes into any future updates.
If you release a cash system, I could modify the vbookie code to work with it out out of the box.
Otherwise, vbookie has hooks where you can write plugins to handle other cash - no need to edit source files.
vbookie_do_charity
vbookie_get_richest
vbookie_get_user_cash
vbookie_give_user_cash
vbookie_take_user_cash
Have a look at the functions_vbookie.php file for sample code for putting in these hook locations