vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   forumid (https://vborg.vbsupport.ru/showthread.php?t=54136)

MentaL 06-10-2003 06:38 PM

forumid
 
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 :)


All times are GMT. The time now is 08:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete