Register Members List Search Today's Posts Mark Forums Read

Article Options
Create Private Group Forums (automatically)
Join Date: Mar 2008
Posts: 8

by xxclixxx xxclixxx is offline 13 Mar 2008

I'm in the process of integrating vBulletin into my existing site. Part of that, is I have Teams that have their own private forums. I found the Add new Users article very helpful, so I figured why not share what I figured out too.

Basically what this does is creates a new usergroup, creates a new child forum, and restricts access to the child forum to registered users, and gives access to the new usergroup.

You will need to edit the parentid in the code to the ID of your forum these will be children of. You don't need to do any special permissions to that main forum either, as the permissions are set to the sub children.

You'll notice three sets of forumpermissions. Only edit the one that's below the comment saying to edit that one, if necessary. The others are purposely set to 0 to give the private forums privacy =P

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There you go, it should be enough to get you started quicker than it took me. Oh and before you ask, the only included files I am using are these, however I'm also doing other functions as well so I don't really know which ones are required but you can just remove each file one by one until it flips out and wants the file back =P

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Views: 3788
Reply With Quote
Old 12 Jul 2008, 15:49
ringleader's Avatar
ringleader ringleader is offline
Join Date: Dec 2006
Real name: Fran
Absolutely smashing stuff - worked first time

Thank you for sharing this!
Awesome. Awesome to the max.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

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

New To Site? Need Help?

All times are GMT. The time now is 04:38.

Layout Options | Width: Wide Color: