Hi,
Not sure if andy did this or not, but thinking about this, it shouldn't be too hard to have happen.
1) *ONLY* for registered users.
2) Keep track of the number of categories a user adds total, or per unit time, and limit it to maybe 5 per 24 or 48 hours _MINIMUM_
3) Give some users "Unlimited" add ability
4) Via a form, that mimics the add-new-category data, you take the submission to an add_cat.cgi script.
4a) That form takes the data and sends it to add_cat.cgi which formats it to the correct hash, then simply either inserts it, or calls the category_add routine in the GT code. From minor playing with the system, inserting a new category using "Insert" or "Add" seems to trigger the foreign key relations, and all the tables (tree, etc) are properly updated, automagically. When I did a category import from one table to another, I used "insert" (I think) and was surprised to see the Tree table updated along with it.
In its simplest form, it's only #4/4a, but that is a *bad* idea. Really.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
Not sure if andy did this or not, but thinking about this, it shouldn't be too hard to have happen.
1) *ONLY* for registered users.
2) Keep track of the number of categories a user adds total, or per unit time, and limit it to maybe 5 per 24 or 48 hours _MINIMUM_
3) Give some users "Unlimited" add ability
4) Via a form, that mimics the add-new-category data, you take the submission to an add_cat.cgi script.
4a) That form takes the data and sends it to add_cat.cgi which formats it to the correct hash, then simply either inserts it, or calls the category_add routine in the GT code. From minor playing with the system, inserting a new category using "Insert" or "Add" seems to trigger the foreign key relations, and all the tables (tree, etc) are properly updated, automagically. When I did a category import from one table to another, I used "insert" (I think) and was surprised to see the Tree table updated along with it.
In its simplest form, it's only #4/4a, but that is a *bad* idea. Really.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.