Seems that the developer for this does not check it that often and atroll has graciously been answer a lot of questions.
Im in need of have the code on the form hook into the code for VB so that the new thread follows the permissions that I have set on the forum the post will be going into, email, poll, attachement , etc.
I have a quick work around but working on something more permanent. If I can come up with it I will share with everyone.
My requirements are to allow only VIP members and Registered uses with over 100 posts be able to post on the forums Im using the forms. Temporarily I am using this until I find a way to hook the form code to the forum code.
if( $vbulletin->userinfo['usergroupid'] <5 ) {
if($vbulletin->userinfo['posts']<100) {
echo 'Sorry, you can not post here as you need to have 100 posts, you only have '.$vbulletin->userinfo['posts'];
print_no_permission();
}
}
As an addendum, I previously had a time limit hack on this particular sub forum that allowed member to be able to only start 3 threads on a 30 day span. This hack is not playing well with it, not at all actually. Anyone have any idea how to edit the form to do this? (check to see if member or VIP has less or equal to 3 threads in 30 days and either allow or deny ability to start one?)
Thank you
|