Quote:
Originally Posted by MarcoH64
This is why i opened the discussion, to find the best together. Your way of adding your own table for the rpg hack works, but will add another query also. If many hacks do this, this will mean many queries. And using custom datastore items in your own new script is not a problem. It is using them in plugins into jelsoft scripts that require code edits.
|
How can I make a custom class recognise custom DS items then?
Quote:
Originally Posted by KirbyDE
@Revan
Not every Hack that does require a DS item necessarily has to come with it's own Files.
Furthermore, it's impossible to intruduce Hooks to handle the Datastore Problem, as Plugins itself are being loaded from the Datastore.
|
Oh XD
Quote:
Originally Posted by KirbyDE
The idea of keeping a var_dump()ed array in a File is also nice, as it does not cause parsing or Query Overhead.
vBulletin itself does so, if you use the Class for a File-Based Datastore, so I think the CHMOD issue isn't a big one, as this would have to be done only once.
Hmm, Safe Mode and open_basedir restrictions could cause Problems here though.
|
How so? After all, this file could be stored in the same way as the current ds cache file, which obviously work with Safe Mode and open_basedir...