PDA

View Full Version : forumid


MentaL
06-10-2003, 06:38 PM
is there a way of making a custom forum id ? because ive added numerous sections and removed some, but when i add them it doesnt go to the number it should have , it goes +1 (meaning id is 6 but i removed 6 so i would asume its forumid 6 but actually 7)

is there a hack for this or would anyone make one, i think it be a good idea.

:) :D

Rose
06-10-2003, 07:11 PM
Forumid's do not change when you delete a forum. If you've deleted forum with the forumid "6", using that id will just give you a no-forum-specified error. Everytime you add a new forum, it will increase the forumid by +1 from the last forum created. As far as I know, there's no way around this easily or you could really do some damage.

Xenon
06-10-2003, 07:13 PM
you can change the forumid in the db using phpmyadmin and change it on every occurance but it's really not needed and you shouldn't do it at all if you don't know exactly what you do!

filburt1
06-10-2003, 07:41 PM
It's an extraordinarily bad idea to fill in "missing" ids in any auto_increment column (userid in user, forumid in forum, threadid in thread, etc.). If you do, then relations in the table get messed up and threads/posts/users/etc. will just randomly show up out of nowhere.

MentaL
06-10-2003, 08:18 PM
aww nm then :)