Log in

View Full Version : Mini Mods - Mass Child Forums


TalkVirginia
03-19-2011, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=143745) 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.


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
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
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
Confirmed working A1 on 4.0.6 and a great mod to have thanks!

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

your24hourstore
04-04-2011, 10:25 PM
works all right ,except i couldn't get it to copy the prefix selections.
still a time saver thanks

TalkVirginia
04-05-2011, 11:47 AM
works all right ,except i couldn't get it to copy the prefix selections.
still a time saver thanks

I'll look into what I need to do to make that work. Thanks for the feedback! :)

VonDoom
05-09-2011, 12:33 AM
Wow that was easy.. I cant count how many times ive spent days creating 50 unique state forums, this took about 5 minutes including the installation of the product.. Installed 4.1.3

FReeSTER
05-09-2011, 04:46 AM
WoW than you so much for this, Confirm working on vb 4.0.8

Pedro Abelino
05-09-2011, 06:44 AM
Very nice, i was looking for this :D

Works on vB4.0.8

ewebdesigner
07-01-2011, 01:16 AM
Your forum displays each forum below the actual main forum category. They are displayed side by side too.

How did you do that? I have been trying to figure it out for days now. Not much time to look and search till today. Please let me know. I nominated your mod btw. VERY COOL!

TalkVirginia
07-01-2011, 01:57 AM
Your forum displays each forum below the actual main forum category. They are displayed side by side too.

How did you do that? I have been trying to figure it out for days now. Not much time to look and search till today. Please let me know. I nominated your mod btw. VERY COOL!

Try this addon:
https://vborg.vbsupport.ru/showthread.php?t=229148

Marios858
08-19-2011, 09:41 AM
4.1.5 works fine , thanks men

dgparent
08-19-2011, 03:17 PM
Thanks I just started a college football forum and this saved me a ton of time

vAsia
12-09-2011, 03:09 AM
Is there a way to add description too?

Ex:
Title;Description

TalkVirginia
12-09-2011, 11:22 AM
Is there a way to add description too?

Ex:
Title;Description

I'll look into this over the weekend.

Kraxell
02-07-2012, 08:37 PM
Hey virginia,

do you can take a look at this thread?
https://vborg.vbsupport.ru/showthread.php?p=2297261#post2297261

I think the fingers of this guy are bleeding :D

TalkVirginia
02-08-2012, 11:11 AM
Hey virginia,

do you can take a look at this thread?
https://vborg.vbsupport.ru/showthread.php?p=2297261#post2297261

I think the fingers of this guy are bleeding :D

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. :)

vetty
03-04-2012, 10:05 AM
This Mod is a Life-Saver ! Works in v 4.1.11
Thank you very much TalkVirginia !!!

davio33
03-12-2012, 09:11 AM
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"

final kaoss
04-10-2012, 07:36 PM
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 (http://www.mysqldumper.net/) and the vbulletin built in scripts handle this stuff to avoid timeout issues.