PDA

View Full Version : If condition then thread subscription


SVTCobraLTD
07-09-2009, 02:42 PM
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?

SVTCobraLTD
07-16-2009, 05:44 PM
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?

Anyone?

wmlvb
07-21-2009, 06:44 PM
this is probably what your looking for

https://vborg.vbsupport.ru/showthread.php?t=165951&highlight=forced+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.

Antivirus
07-25-2009, 04:35 PM
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.

wmlvb
07-25-2009, 11:13 PM
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.

Thanks for the help but I am not a coder so not sure what I am suppose to write! is there a code I can copy and paste? Thanks