![]() |
script running on newthread_post_start
Hello,
Is it possible to run some kind of scipt on the hook location newthread_post_start. after this script is returns true the post should be posted if the script returns false the post should be canceld. i don't know how to do this, so any kind of advise would be helpful. |
I would say the hook, newpost_process would be the best bet, if x is true, allow it to post, if x is false, throw up a error.
|
oke, but is there a way to filter it for a certain forum and usergroup and only when there is a new thread started.
so there are some condintion's to be checked. and only when these condition's are true the script has to be run. |
If you want certain groups to be able to read forums on your site, but not post in them, why not use the Access Masks already built into vBulletin.
|
Sounds pretty complicated, all user should be able to post but only certain users need to do an extra thing (payment) to post a new thread.
|
All times are GMT. The time now is 11:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|