Hello, I currently run a site that I'd like to put a Plogger gallery on. I only get one MySQL database with my hosting, and I've let my friend use it for his Plogger. When I try to create one of my own, it overwrites the tables for his. I was just wondering if there was some way that I could change the table names that the Plogger script creates/reads from. Thanks.
$TABLE_PREFIX="plogger_"; or $TABLE_PREFIX = "plogger_";
which I changed to:
$TABLE_PREFIX = "myplogger_";
that seems to work. Not really sure if thats going to be stable or not but it again seemed to work in my 10 min of testing, Mike is probably much more qualified to give a better answer.
I'm thinking about using it for multiple installs, so it would be nice if plogger could create unique tables automatically, like WordPress does (must edit the config file, same place where database infd is added).
In the install screen, Plogger could ask for a table prefix, and offer a default selection that's then over-written by the user if they need to. Also, the install script should check for existing tables.
Lest the above message be seen as a vehement critique, let me say that it is NOT a vehement critique. It was more an expression of confusion as I was trying to wade through the code. I'm enjoying (if that's the right word) Plogger, and look forward to a long, er, relationship....