The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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.
|
#5
|
|||
|
|||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|