vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Insert forums through phpMyAdmin - How? (https://vborg.vbsupport.ru/showthread.php?t=218916)

TWood 07-19-2009 01:11 AM

Insert forums through phpMyAdmin - How?
 
1 Attachment(s)
I need to create a lot of forums automagically by adding them to the database in bulk. I tested a small list and got it added to the 'forum' table, but they won't show in the list of forums on the board itself. Is there more I need to do in the database to get them to become active?

Attached is a partial shot of the table, the top two forums I added manually to see what values were needed in the table fields, then I copied those into the spreadsheet that I used to create a CSV file.

Thanks,

TW

EDIT: Got it to work by going to the ACP>Maintenance>Update Counters>Rebuild Forum Information

I just need to learn a little more about how to create valid CSV files.

Dismounted 07-19-2009 04:08 AM

As you discovered, there are a myriad of caches used in vBulletin, and they must be updated. As such, it is generally not advised to directly do CRUD operations to many default vBulletin tables, unless you know what you are doing.

TWood 07-19-2009 05:38 AM

Now I've run into another hurdle. The database forum table when viewed in phpMyAdmin shows a larger number of forums than are showing up in the front page. This after running the maintenance tools. Also, when I try to go to the missing forums by entering the forumID in the browser address bar, I get an error message saying that I'm not authorized to visit that page.

I've looked and looked for an option to increase the number of forums displayed, but no luck. Any ideas?

Thanks,

TW

PS: No, I don't know what I'm doing, but this is a test site that I can break until I do!


All times are GMT. The time now is 08:12 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.01042 seconds
  • Memory Usage 1,706KB
  • 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
  • (3)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