Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2007, 07:31 PM
Boots Boots is offline
 
Join Date: Dec 2004
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default newpost_complete hook -> duplicate post error?

so I'm adding a plugin to the newpost_complete hook that moves a thread to a different forum upon a reply.

the code is like so

Code:
...
It generates the "this is a duplicate post" message and doesn't do anything. Any ideas? I tried just a straight up query instead of using the $thread but it still gives the dupe error.

my bad.. looks like I was owned by syntax. I just wasn't seeing the error on quick reply. Works as designed now
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:17 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.