vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Batch Creation of Forums (https://vborg.vbsupport.ru/showthread.php?t=172612)

MrEyes 03-10-2008 12:59 PM

Batch Creation of Forums
 
I need to add something like 400 forums to my vBulletin install.

I know I could do this manually, however this would take an age.

I believe all forum data is held in the DB so it seems feasible to create an SQL script that will batch insert forums where all added forums inherit permissions from the parent forum.

In the end I am creating something like this

Parent Forum (manually created)
- Child 1
- - Child 1 a
- - Child 1 b
- - Child 1 c
- - ....
- - Child 1 x

- Child 2
- - Child 2 a
- - Child 2 b
- - Child 2 c
- - ....
- - Child 2 x
...
...
- Child 50

You might be asking why on earth I would want to do this, well in summary this is an attempt at using vBulletin as a Wiki (more info here: https://vborg.vbsupport.ru/showthread.php?t=172148)

jim6763nva 03-28-2008 01:44 AM

I see I'm on the same wave length as someone else. I need this functionality too. At the moment I'm creating a forum that contains regional forums by city and county.

I have something like this:

Region1
City_or_County_Forum1
City_or_County_Forum2
City_or_County_Forum3
City_or_County_Forum4
City_or_County_Forum5
Region2
City_or_County_Forum1
City_or_County_Forum2
City_or_County_Forum3
City_or_County_Forum4
City_or_County_Forum5

It would be nice to have something like this in the AdminCP.

SEOvB 03-28-2008 02:07 AM

You could create a SQL query to handle it, but you'd still have to enter all the names and descriptions i'd imagine.

Lynne 03-28-2008 03:18 AM

This may be useful: EPC Add Mass Child Forums Hack

jim6763nva 03-30-2008 08:23 PM

Quote:

Originally Posted by Lynne (Post 1476455)
This may be useful: EPC Add Mass Child Forums Hack

Thank you very much for pointing out this hack! :)


All times are GMT. The time now is 06:26 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.01615 seconds
  • Memory Usage 1,716KB
  • 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)bbcode_quote_printable
  • (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