PDA

View Full Version : Attachment Function


Vishaaldesiking
01-26-2013, 09:23 PM
Hello,

I'm busy with making a attachment hook lookup and need some help, i hope if someone can help me

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 it if not please message me i will try to explain it more clear.
I'm making this as a hook not vbulletin php file.