Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-29-2004, 09:17 PM
yellow281 yellow281 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Okay my multi duplicate forum/one board dilemma

Some may have seen my posts back along. I want to create my first message board using vbulletin. License purchased, so here we go.

Issue - one message board, 50 initial categories all containing duplicate forums. Solution needed - to avoid typing up and creating all 50 versions of the same thing.

From all my research, I think the easiest thing would be for me to create the first category and forums.. copy it and upload it as category 2 into another folder on my server. Then I would edit whatever bit tells it which database to use so that it uses the same database as category 1. Rinse and repeat 50 times.

I would then have already created my message board front page with the links to my 50 categories. These links would be URL's to my 50 categories. Thus creating my one big board in a shorter period of time.

So it all sounds logical. Question is how EXACTLY! :P can I do this and what are the drawbacks and risks?

Thank guys and sorry for being quite so thick.
Reply With Quote
  #2  
Old 11-29-2004, 10:07 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm ... if you use the same database it will always be the same, no matter where you place the files ony our server
Reply With Quote
  #3  
Old 11-29-2004, 11:36 PM
yellow281 yellow281 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Hmm ... if you use the same database it will always be the same, no matter where you place the files ony our server
I'm not sure I understand you. I want it to be the same but all linked together to make my one board.
Reply With Quote
  #4  
Old 11-30-2004, 01:34 PM
elmo elmo is offline
 
Join Date: Nov 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We're facing a similar question ourselves. We want to make a skeleton forum structure (forums, threads, posts) that we can duplicate to parallel private forums similar to what this person was asking for:

https://vborg.vbsupport.ru/showthread.php?t=68512

Maybe there's some way we can use the import facility to accomplish this?

Any advice greatly appreciated and thanks so much for reading and contributing to these forums!
Reply With Quote
  #5  
Old 11-30-2004, 01:51 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yellow281
I'm not sure I understand you. I want it to be the same but all linked together to make my one board.
Example:

vB is installed in /dir1
You create the following structure via Forum Manager:
Category 1
+ Forum 1
+ Forum 2
+ Forum 3

Then you copy the files to /dir2, /dir3 and so on.
Everytime you use one of those installations, it will display the same forums, posts will go to the same forums, etc.

So where is the point in having such a setup?
Reply With Quote
  #6  
Old 11-30-2004, 04:37 PM
elmo elmo is offline
 
Join Date: Nov 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aside from yellow281's initial suggested method for duplicating categories (which I can see might not do what s/he was hoping), do you have another suggestion for how to duplicate them?

Thanks again.
Reply With Quote
  #7  
Old 11-30-2004, 05:38 PM
yellow281 yellow281 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Example:

vB is installed in /dir1
You create the following structure via Forum Manager:
Category 1
+ Forum 1
+ Forum 2
+ Forum 3

Then you copy the files to /dir2, /dir3 and so on.
Everytime you use one of those installations, it will display the same forums, posts will go to the same forums, etc.

So where is the point in having such a setup?
Are you saying that if someone posts in DIR1 it will show up in DIR2, 3,4 etc as well?

Thanks

Kate
Reply With Quote
  #8  
Old 11-30-2004, 05:43 PM
yellow281 yellow281 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this isnt the case then literally all I need to know is in which page/file do I alter the db destination. People have talked about knowing where this is located before, if anyone can tell us where we actually alter the bit that says hey forum, heres the database you need to be using then I think Elmo and I will be home free. That is unless posting in DIR 1 does show up in DIR2,3 etc. I cant test that theory until I know where to alter the database that the forums in their little directory point to.

Any why oh why hasnt someone made this hack? This seems like the most highly demanded hack. Whoever comes up with it should charge and make a boat load. How to create one top level category then copy its categories sub cateogirs, welcome message, mods etc. to other top level categories. Not one board has a published hack for this (which might tell us something) but God knows people would flock to get it. I have ran into so many posts asking for this on all the various php message boards.
Reply With Quote
  #9  
Old 11-30-2004, 05:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yellow281
Are you saying that if someone posts in DIR1 it will show up in DIR2, 3,4 etc as well?

Thanks

Kate
If you always use the same database/tables - yes.

And I still don't understand what you actually want to achieve?
Reply With Quote
  #10  
Old 11-30-2004, 05:54 PM
elmo elmo is offline
 
Join Date: Nov 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think what KirbyDE's getting at is that the category/forum data is housed in the database, not the PHP files. You can copy the PHP files all you like, but if they all point to the same database, they'll all return the exact same data. Not copies of it, but it itself. So if I post in "category 50", it will also show up in "category 1".

You can change the $dbname setting in includes/config.php in each of those directories to point to a different database, but then you've essentially created several different installations of vBulletin (presumably each of which would require its own license fee) and which wouldn't "know" about each other.

What I think you're trying to do (and certainly what I'm trying to do) is to set up parallel hierarchies within a single board installation. So for instance I've got a category 1 that includes forums 1, 2, and 3 each with threads and posts inside them. I want to copy category 1 to a category 2 and 3 right beside it that are identical to start with but independent (so when someone posts to category 3/forum 2, it doesn't also appear in category 2/forum 2).

Any hope for us?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05945 seconds
  • Memory Usage 2,259KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete