The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Getting started - programaticlly adding user groups and forums?
Hi,
Just getting started with vBulletin V3.70 and I'm trying to get up to speed on templates / plug-in's, etc, but I'm looking for some advice in the best way to approach the following: What I'm trying to do is to pull data from a legacy system and update VB with the information. I've got some php code that provides access to the SQL Server data through FreeTds and can get the available username and email address from that system. At that point I want to do a number of things and I'm not sure the best approach within vBulletin: 1 - Create a unique VB usergroup for each company (by parsing the @domain.com from the email address) 2 - Create a new Forum that only the new usergroup will have access to. 3 - Create a new Thread within that Forum right after the Forum was created. 4 - Create a new Post inside that newly created Thread automatically. Since there are a lot of places where I can add my own code, I'm looking for some guidance on where I could add this code, and pointers to some php examples of doing the add usergroup / forum / thread / post. I'm going to keep digging through the different inform ation here, but would welcome any pointers :-) Many thanks, Graham |
#2
|
|||
|
|||
2 = Create forum, make it private. Create usergroup, and set permissions for that usergoup, or mask it to the forum in question.
3 = Post it yourself, then. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|