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

Reply
 
Thread Tools
EPC Add Mass Child Forums Hack Details »»
EPC Add Mass Child Forums Hack
Version: 1.00, by blogtorank blogtorank is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.6 Rating:
Released: 03-31-2007 Last Update: Never Installs: 27
 
No support by the author.

EPC Add ?Mass? Child Forums Hack

Concept Questions:

Q: Who is this for?

A: The ones that are setting up FRESH forums or extending your forums to a greater length, but more in the respect of having multiple forums, such as an example:

1.Having to start a State Forums, that has 39 Counties, 281 Cities:
http://www.forums.washingtonstateforums.com/
Quote:
281 City Forums * 14 Sub-forums = 3,934 (Total new sub-forums of the same format)

3,934 (Total New Sub-forums) * 2+ minutes/sub-forum (Approximately) = 7,868 Total Minutes (131.133333333 hours)
Took approximately 1.5 hours to finish this portion of the project with this hack.

2.These forums are all the same within;
Main Forums >> Counties >> Cities >> Sub-forums that are similar

Sub-forums that is similar:


Quote:
a. Welcome Forums
b. General Forums
c. Family Forums
d. Event Forums
e. Animal Forums
f. Music Forums
g. NON-Profit Forums
h. Religious Forums
i. School Forums
j. Sports Forums
k. Business Forums
l. Consumer Forums
m. Employment Forums
n. Advertisement Forums
Q: What if I do not need this hack?

A: Then move onto the next hack that is on vB.org here , there is not any need to saying, ?I don?t see any use for this hack.? The usage is stipulated above for who would benefit from this hack.


How to use this hack:

? Once you have read the installation and installed properly then you are ready to start utilizing this hack.
? Login to your forums Admin Control Panel i.e. /admincp/ as an Administrator;
? Navigate to: Forums & Moderators >> Add Mass Child Forums;
? Once you are there you will see the like the following attached screenshot below.
? Have your list of forums that you are ready to drop into ?Title? box, as you see there in this example we have 14 sub-forums to add to seven primary (parent) forums.
? Once you done the above you can then press Save, (Do not close the screen or you will kill the addition).

Key notes:
  • Making sure your php.ini is set to allow for longer script running times as an example from one of ours: (This is an example below, not saying it?s recommended, but 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, so we suggest you not set not settings to the parent forums until you have all of your forums on there and ready to go, i.e. let us 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:
PHP Code:

MySQL Query to run just in 
case.

update 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"
Contents:

1. New add_mass_child_forum.php for your /admincp/ folder;
2. Revised cpnav_vbulletin.xml for your /includes/xml folder, just a tiny bit of code added:

Quote:
<navoption displayorder="50">
<phrase>add_mass_child_forums</phrase>
<link>add_mass_child_forum.php</link>
</navoption>
3. Installation instructions installation.txt
4. Concept in PDF EPC Add Mass Child Forums Hack Concept.pdf

That is basically it! If you have any ideas, concerns, or questions, feel free to ask on vbulletin.org in our designated forums area here. All support will be given here as best as we can, or perhaps another can assist if we don't in a timely manner. Remember this is a free hack and if you find it that you like it feel free to donate too us, because we believe in saving a webmaster time.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 11-22-2007, 02:19 AM
Anarchy Anarchy is offline
 
Join Date: Oct 2002
Location: Gold Coast, Australia
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks.!
Reply With Quote
  #23  
Old 03-30-2008, 09:22 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this mod!! :up:
Reply With Quote
  #24  
Old 08-15-2009, 09:43 PM
3lite 3lite is offline
 
Join Date: Jul 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vb 3.8.3 and I'm getting this error:

Warning: Invalid argument supplied for foreach() in [path]/cpadmincp/add_mass_child_forum.php on line 135

I hope you update your mod, its a life saver!

Thanks!
Reply With Quote
  #25  
Old 10-11-2009, 06:25 PM
Zi55 Zi55 is offline
 
Join Date: Dec 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 3lite View Post
I'm using vb 3.8.3 and I'm getting this error:

Warning: Invalid argument supplied for foreach() in [path]/cpadmincp/add_mass_child_forum.php on line 135

I hope you update your mod, its a life saver!


Thanks!
Yes I hope you to answer devploer
Reply With Quote
  #26  
Old 12-03-2009, 07:06 AM
Ascension Ascension is offline
 
Join Date: Jan 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 3.8.4 Mine doesn't inherit the parent options! HELP!
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 11:34 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.04830 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
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_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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