Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mass Child Forums Details »»
Mass Child Forums
Version: 1.00, by TalkVirginia TalkVirginia is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.2 Rating:
Released: 03-19-2011 Last Update: Never Installs: 38
Code Changes Additional Files Translations  
No support by the author.

Add Mass Child Forums vBullentin Addon - v1.0.0

What does this addon do?
This addon is used to create mass child forums. Submit a list of child forums you want to create then select the parent forums you want them created under. For example, if you're running a statetalk forum that has 39 counties and 281 cities it would take you roughly 131+ hours to create and setup all those forums by hand. This Addon will do that for you with the click of a button.

INSTALL INSTRUCTIONS:
1. Back up current forum system if you feel it necessary.
2. FTP all contents under the upload folder to your site host where you have your forum installed.
3. Import the Add Mass Child Forums.xml file and refresh your browser.

You should see the "Add Mass Child Forums" menu item at the bottom of the "Forums & Moderators" AdminCP menu list.

This addon is based on the EPC Add Mass Child Forums Hack created by member blogtorank which was released in 2007 and hasn't been updated nor supported. Since I haven't been able to get intouch with the developer, I've taken the liberty to update the addon for those that have used it in the past and those that have been asking for this functionality. I give full credit to the original developer and all the work that was put into the original code.

How to use this hack:
1. Once you have read the installation and installed properly then you are ready to start utilizing this hack.
2. Login to your forums Admin Control Panel i.e. /admincp/ as an Administrator;
3. Navigate to: Forums & Moderators >> Add Mass Child Forums
4. Have your list of forums that you are ready to drop into ?Title? box.
5. Once you done the above, you can then press Save.

Key notes:
?Making sure your php.ini is set to allow for longer script running times. As an example, however not necessarily recommended. It?s nice to increase your settings if you are working on setting up a massive forums:
max_execution_time = 9000
memory_limit = 32M

?When you add the list of sub-forums, you will notice it will inherit the ?parent? forums settings and permissions. Do not set parent forums until you have all parent forums on there and ready to go, Example: Say you have parent forums set to "Closed" and it says (Forum is Closed for Posting), well this will inherit all those settings.

?If you do accidentally set the forums to closed, what you need to do is run a query inside MySQL as follows, as you see below we are telling MySQL to change all the following forums to be OPEN less the HTML allowed in the forums:

MySQL Query to run just in case.

Code:
UPDATE TABLEPREFIX_forum 
SET options = "89799" 
WHERE title IN ('Welcome Forums', 'General Forums', 'Family Forums', 'Event Forums', 'Animal Forums', 'Music Forums', 'NON-Profit Forums', 'Religious Forums', 'School Forums', 'Sports Forums', 'Business Forums', 'Consumer Forums', 'Employment Forums', 'Advertisement Forums');
Make sure you replace "TABLEPREFIX" with the table prefix you are using. For example: I'm using "vb_". Also, make sure you change the forum titles in the query with your own that you want to fix, otherwise nothing will happen.

That is basically it! If you have any ideas, concerns, or questions, feel free to ask. All support will be given here as best as I can. I work on addons in my spare time, so responses may be delayed. Remember this is a free hack and if you find that you like it, feel free to donate to show your appreciation.

Download Now

File Type: zip AddMassChildForums.zip (7.1 KB, 188 views)

Screenshots

File Type: png Forums_and_Moderators.png (6.0 KB, 0 views)
File Type: jpg Add_Mass_Child_Forums.jpg (55.9 KB, 0 views)
File Type: jpg forum_manager.jpg (118.1 KB, 0 views)
File Type: png forumview_childforums.png (36.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-09-2011, 11:22 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vAsia View Post
Is there a way to add description too?

Ex:
Title;Description
I'll look into this over the weekend.
Reply With Quote
  #23  
Old 02-07-2012, 08:37 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey virginia,

do you can take a look at this thread?
https://vborg.vbsupport.ru/showthrea...61#post2297261

I think the fingers of this guy are bleeding
Reply With Quote
  #24  
Old 02-08-2012, 11:11 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kraxell View Post
Hey virginia,

do you can take a look at this thread?
https://vborg.vbsupport.ru/showthrea...61#post2297261

I think the fingers of this guy are bleeding
Actually the name is Jim. but anyway, thanks for the heads up on this. He's all set. I'm going to try updating this mod over the coming weekend, providing my @home todo list isn't too long.
Reply With Quote
  #25  
Old 03-04-2012, 10:05 AM
vetty vetty is offline
 
Join Date: Feb 2012
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Mod is a Life-Saver ! Works in v 4.1.11
Thank you very much TalkVirginia !!!
Reply With Quote
  #26  
Old 03-12-2012, 09:11 AM
davio33 davio33 is offline
 
Join Date: May 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
UPDATE TABLEPREFIX_forum
SET options = "89799"
WHERE title IN ('Welcome Forums', 'General Forums', 'Family Forums', 'Event Forums', 'Animal Forums', 'Music Forums', 'NON-Profit Forums', 'Religious Forums', 'School Forums', 'Sports Forums', 'Business Forums', 'Consumer Forums', 'Employment Forums', 'Advertisement Forums');
Does anyone know how to do a wildcard on the "WHERE title IN" Like if i had 20 forums and wanted the command to effect all the forums that included the word "shoes"
Reply With Quote
  #27  
Old 04-10-2012, 07:36 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks I'm looking into using this.

You should fix it up so we can add X amount of forums per batch. I only managed to get 285/1300 added. I'm using hostgator shared plan too which has a 30 second script limit I believe.

Check out how mysql dumper and the vbulletin built in scripts handle this stuff to avoid timeout issues.
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 06:14 PM.


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.05881 seconds
  • Memory Usage 2,299KB
  • Queries Executed 22 (?)
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)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (5)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete