I'm want a attachment hook here you will get a explain what i want:
If new thread added check if it content attachment? (if new thread added check $attach value == 1)
If yes get the firstpostid.
with the firstpostid check in the table attachment the contentid(its same as firstpostid).
update that contentid table ... to value 0
I hope you guys understand, if not please message me i will try to explain it more clear.
I'm making this as a hook not vbulletin php file.