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
  #12  
Old 06-18-2007, 03:11 PM
ROTPAR ROTPAR is offline
 
Join Date: May 2004
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there. I have a problem with 3.6.7. After installing everything and adding child forums, they don't have the same properties as the parent forum, I don't know why. So I have to edit all sub forum by myself and that takes much time. What do I have to do ?
Reply With Quote
  #13  
Old 06-18-2007, 06:14 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where was this when I needed lol!

Thanks for posting it!
Reply With Quote
  #14  
Old 06-18-2007, 06:26 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ROTPAR View Post
Hi there. I have a problem with 3.6.7. After installing everything and adding child forums, they don't have the same properties as the parent forum, I don't know why. So I have to edit all sub forum by myself and that takes much time. What do I have to do ?
I can't tell because you don't have a clicked installed here

Anyhow not too sure why it's not working for you but it does inherit the properties in any 3.6+ version of it's parent forums...

If you like click install and, send me a PM of your forums with some admin login so I can take a look at what you are referencing to find where you are going wrong...
Reply With Quote
  #15  
Old 06-18-2007, 06:27 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shortbus1662 View Post
where was this when I needed lol!

Thanks for posting it!
HAHA, was it a bit too late for you shortbus? Must of missed the long-bus myself huh
Reply With Quote
  #16  
Old 06-18-2007, 08:28 PM
ROTPAR ROTPAR is offline
 
Join Date: May 2004
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I clicked Install
Ok, it makes the forums as I told you before but while it's adding them I get this message:
Warning: mysql_num_rows(): supplied is not a valid mysql result resource in admincp/add_mass_child_forum.php on line 152
Reply With Quote
  #17  
Old 06-18-2007, 08:46 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This don't help me none, I need to see your installation and thanks for the click. Can you PM me the details to help you figure out where this is going wrong for you?
Reply With Quote
  #18  
Old 06-21-2007, 11:05 PM
Wild-Wing Wild-Wing is offline
 
Join Date: Dec 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh this would be good for those other boards i help run
Reply With Quote
  #19  
Old 09-27-2007, 05:22 PM
ryans ryans is offline
 
Join Date: Feb 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ROTPAR View Post
Hi there. I have a problem with 3.6.7. After installing everything and adding child forums, they don't have the same properties as the parent forum, I don't know why. So I have to edit all sub forum by myself and that takes much time. What do I have to do ?
I have this same problem too. Forums don't have the following:

Act as Forum - no
Forum is Active - no
Forum is Open - no
Index New Posts in Search Engine - no. i'm running 3.64
Reply With Quote
  #20  
Old 09-27-2007, 05:32 PM
ryans ryans is offline
 
Join Date: Feb 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran this sql command..

UPDATE forum
SET options = '81927'
WHERE options = '0';

then i had to go into one of the forum managers, clicked on an added forum and then hit save. now they all show up.
Reply With Quote
  #21  
Old 10-12-2007, 12:17 PM
Iskib Iskib is offline
 
Join Date: May 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

--------------------------------------------------------------------------------

I purchased the full version of another one of this guys products. It has been 5 days and still not able to download it. They have asked for information which I have sent and still the file is not there to download.

I have sent 3 support tickets with no response.

************WARNING**************

STAY AWAY
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:37 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.04669 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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