This mod basically locks a newbie with 0 in post count from opening any other forums than your "newbie forum", or introductions forum.
Ive tested it in any way I can think of on both 3.0.0 and 3.0.3, so it should be fool proof.
Its also my first released vB mod, and it took me 20 secs to write and 30 to test.
Go easy on meh :nervous:
Yes I know theres usergroups for this, but it was a request, not my idea.
Sue me :ermm:
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I just had a thought... Whats wrong with setting it so Registered Members can only see one forum and set up a Promotion that will move the member to a different user group after one post?
I just had a thought... Whats wrong with setting it so Registered Members can only see one forum and set up a Promotion that will move the member to a different user group after one post?
Not sure it will work but what I have read about promotions it should... Just each time you set up a new forum you would have to make sure you edited the permissions if it wasnt under a "mother" one...
old yes , but definitly a must do can someone port this for 3.5.0 gold i know you can play with the permissions but i had this on 3.0 and it was simple and easy to do. thanks
old yes , but definitly a must do can someone port this for 3.5.0 gold i know you can play with the permissions but i had this on 3.0 and it was simple and easy to do. thanks
can a coder please help on this old but necissary hack or point out the exact way to do it in a how 2 for 350 gold?
Started to go through some code and found the function that states the forum permissions.
PHP Code:
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();
}
My geuss is to add the same stuff as was done in the original so it becomes:
PHP Code:
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR $bbuserinfo['posts'] <= 0 AND $forumid != 18)
// 18 being the newbie forum id
{
print_no_permission();
}
Haven't tested it yet because I dont have the new forum up yet.
If they made all variables the same regarding users and posts it should work ok.
Started to go through some code and found the function that states the forum permissions.
PHP Code:
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();
}
My geuss is to add the same stuff as was done in the original so it becomes:
PHP Code:
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR $bbuserinfo['posts'] <= 0 AND $forumid != 18)
// 18 being the newbie forum id
{
print_no_permission();
}
Haven't tested it yet because I dont have the new forum up yet.
If they made all variables the same regarding users and posts it should work ok.
well i have 3.5.1 and it rolled over so it works. you can sign up to my forum and see how i have it set up if you like. its in my sig