Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #2  
Old 04-01-2007, 07:02 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey can I say Reserved finally?
Reply With Quote
  #3  
Old 04-01-2007, 07:03 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice. very useful for big boards.

installed
Reply With Quote
  #4  
Old 04-01-2007, 07:07 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!! Talk about a nightmare, these forums are not even close to being done, I wanted to share this hack instantly because I posted in the area wondering if one of these were out there, apparently there wasn't none:

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

All the best!
Reply With Quote
  #5  
Old 04-01-2007, 05:25 PM
bluesoul's Avatar
bluesoul bluesoul is offline
 
Join Date: Jul 2004
Location: Paducah, KY USA
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really good idea, I applaud your willingness to start on this almost immediately. I'm planning on opening up a big board soon and I will be using this hack. Thanks!
Reply With Quote
  #6  
Old 04-01-2007, 05:33 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bluesoul View Post
Really good idea, I applaud your willingness to start on this almost immediately. I'm planning on opening up a big board soon and I will be using this hack. Thanks!
You are welcome, and if you see any improvement in there please let me know, as you seen the above link up in the "Concept" as an example literally took me about an 1.5 hours to drop in all the 14 categories in the selected cities then to save me from 100+ hours of repetitive crud.

I am now planning on a "mass edit forums hack" now, because the repetitive tasks that are the same within 281 cities needs to be streamlined rather than piddling around.

So any ideas throw them my way and I'll implement them accordingly.

Thanks for the comments.
Reply With Quote
  #7  
Old 04-01-2007, 05:45 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot, Blogtorank
Reply With Quote
  #8  
Old 04-02-2007, 04:36 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sofia View Post
Thanks a lot, Blogtorank
NP, if you have any issues let me know
Reply With Quote
  #9  
Old 04-02-2007, 12:39 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has been widely requested in the past. Thank you for taking the time to release it.
Reply With Quote
  #10  
Old 04-03-2007, 12:14 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeve of shinra View Post
This has been widely requested in the past. Thank you for taking the time to release it.
Glad to have done so, I know it would be a great addition if vB did implement this portion in their product as a preset already to go so no one wouldn't have to download just to hack... I have another way I did this using a flat txt file. I'll share that here in a little bit, which gives an additional drop-down in the Manage Forums area in vBulletin...

That way is nicer on the server resources if you are not slaving the MySQL Databases as you should when running 4,000+ forum categories like I did with the above forums.

Anyhow I'll get those up later to share as well. So basically a 2 part hack here!
Reply With Quote
Reply

Thread Tools

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:47 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.10879 seconds
  • Memory Usage 2,303KB
  • Queries Executed 24 (?)
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
  • (6)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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