The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there anyway I can run a script to automatically create a forum (instead of doing it through the admin cp)? I tried adding an entry to the forum database but it seems like I might have to add another entry somewhere as it does not show up in the admin cp. Thanks.
|
#2
|
|||
|
|||
![]()
What is it you are trying to achieve?
|
#3
|
|||
|
|||
![]()
I have the same question. I have a set of about 10 forums that takes me an extra half hour to create every time i need to add new ones. If i can just run a query or script to make them all in one shot, it would speed things up alot.
|
#4
|
|||
|
|||
![]()
What like having carbon copy forums that runs x amount of time. So the forums would have same premissions, same moderator, same parent catagory but diffrent name?
Tell me if this is what you are looking for |
#5
|
|||
|
|||
![]()
yes. exactly. All i would need to do is run a script and imput the names i want the forums to have,
|
#6
|
|||
|
|||
![]()
This is becoming harder then i thought to do lol.
|
#7
|
|||
|
|||
![]()
On topic, some command line type functions might be helpful as an alternative to the admincp at times.
|
#8
|
|||
|
|||
![]()
why dont you just drop your query into the query box in cp or phpmyadmin ?
You could probably run a php script at command line with args as well so you would just do something like this in ssh #php newforum.php blabla and the php script as long as it had the right query would just do what you wanted. |
#9
|
|||
|
|||
![]()
You can just add the entries via SQL, but you will have to rebuild the forum information, easiest way is to edit a forum then save it.
Harder way would be to look for the correct datastore function to rebuild forum information. OR - use the forum datamanager. |
#10
|
|||
|
|||
![]()
Datamanager i wrote to create a forum:
PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|