vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vbulletin.com to vbulletin.org splitting (https://vborg.vbsupport.ru/showthread.php?t=52327)

Areku 04-29-2003 06:18 PM

vbulletin.com to vbulletin.org splitting
 
Hi!

I have a board running and I'd like to split one of the subforums to a fully new domain/vB forum site, so if now I have:

domain1.com
|
---forums
|- subforum1
|- subforum2
\- subforum3

...now I want to move subforum2 to domain2.com forum

domain2.com
|
---forums


Much like what happened to the hacks section of vb.com, which is now an independent site, vb.org BUT SHARING THE USERS DATABASE.

Is that possible?

How?

Thanks!

dotagious 04-29-2003 06:49 PM

The two websites do not share a user database.

Areku 04-29-2003 07:05 PM

OH!

And is there any way to do so?

filburt1 04-29-2003 07:17 PM

There is no sane way.

Areku 04-29-2003 07:34 PM

Awesome, fast and clear answer, thanks! ;)


How can I then export the contents of a subforum and then reimport them onto a brand new vb installation? ;)

filburt1 04-29-2003 07:53 PM

Very complicated to explain, but one way is the INSERT INTO...SELECT syntax; check out http://www.mysql.com/doc

Areku 04-29-2003 08:40 PM

Was that ironic? I'm not a php/sql guru...

Brad 04-29-2003 08:42 PM

Then I wouldent recomend attempting this ;)

Areku 04-29-2003 09:09 PM

Why not? I would not delete anything from the first forum and the second forum is empty so where's the risk? ;) Other thing is if any1's so kind to gimme instructions on how to achieve this, even if it's done via phpMyAdmin or something...

Xenon 04-29-2003 09:20 PM

without some experience in php and mysql you won't be able to do so.

well i can tell what was done on vb.org while it was splited from vb.com

make a dump of all thread where forumid was hackforum id
make a dump of all posts belonging to that threads
inserting threads/posts into vb.org db
set thread.postuserid and post.userid = 0

changing register.php when a user registers it updates the postuserid and post.user id of all posts where username = new username.

that's the theory, now feel free to write the scripts around ;)


All times are GMT. The time now is 06:21 PM.

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.03103 seconds
  • Memory Usage 1,733KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete