The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating a Thread and post via plugin stopped working
I have the following code that's executed at the newthread_post_complete hook
Basically we have an announcement forum but for structure reasons we don't allow replies. However we want to allow our users to discuss the announcements so we have a script that creates a new thread on another forum so they can discuss it. It will then add a link to the discussion thread in the original announcement. Much of the code was written using threads on this forum and worked fine in vb3 and with a few tweaks worked fine in vb4 UNTIL upgrading to vb4.1. Now its not working at all Code is below and I would appreciate any help you can give me to try and get it working again PHP Code:
|
#2
|
|||
|
|||
Ok I removed the following line (and the closing } ) and it starts to work.
PHP Code:
I really would appreciate anyones input |
#3
|
||||
|
||||
Well, I'm surprised it worked at all since it isn't until the next line that you actually define $threadinfo:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|