The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If condition then thread subscription
What I am looking to do is that if a new user registers and fills out feild10 while registering, that field automatically creates a thread with the info they put in that box. However, that does not subscribe them to that thread. Any ways to code this in? Suggestions on this?
|
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
this is probably what your looking for
https://vborg.vbsupport.ru/showthrea...+introductions I just installed yesterday and still trying to figure out if working the way I want. Concerned that it show zero post when the user has automatically created one thread so wondering if they are get auto email notification of replies! If not then defeats to purpose of having this mod as newbies do not know where to find there intro. |
#4
|
||||
|
||||
You'll need to write a plugin that (when the condition is met) the subscription type is overwritten with what you want in the $newpost array which is then passed to function build_new_post(). Look for a hook shortly before the function within newthread.php and that's the likely hook to use.
|
#5
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|