vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Mass Child Forums (https://vborg.vbsupport.ru/showthread.php?t=260677)

TalkVirginia 03-19-2011 10:00 PM

Mass Child Forums
 
1 Attachment(s)
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.

TalkVirginia 03-20-2011 07:21 AM

*Reserved*

mitch84 03-20-2011 07:33 AM

hi, I don't understand, if I rename all my forums one after the other, or is the time saving? e.g child to another name

TalkVirginia 03-20-2011 07:38 AM

Quote:

Originally Posted by mitch84 (Post 2175350)
hi, I don't understand, if I rename all my forums one after the other, or is the time saving? e.g child to another name

You're not renaming forums, it creates 10+ child forums under one or more parent forums as long as those parent forums need to have the same or similar child forums basically saving time. If you had to create 100 or more child forums, it would save time rather than doing it by hand.

Dr.osamA 03-23-2011 12:59 PM

installed under test

thank you bro

Kraxell 03-23-2011 06:28 PM

sound very nice, tagg it for future :)

QuickQuestion 03-24-2011 10:50 PM

I literally just finished (about two weeks ago) manually importing about 2,600 forums. This would have been nice to have... good mod.

TalkVirginia 03-25-2011 12:06 AM

Quote:

Originally Posted by QuickQuestion (Post 2177146)
I literally just finished (about two weeks ago) manually importing about 2,600 forums. This would have been nice to have... good mod.

Hold on to it.. You may need it in the future. ;)

ProFifaLeagues 03-25-2011 05:11 AM

Confirmed working A1 on 4.0.6 and a great mod to have thanks!

TalkVirginia 03-25-2011 12:01 PM

Quote:

Originally Posted by rammieone (Post 2177233)
Confirmed working A1 on 4.0.6 and a great mod to have thanks!

Excellent! Thank you for giving it a try. :)


All times are GMT. The time now is 11:35 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.01326 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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