The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
attachdata_postsave replacement
In 3.8 I used the attachdata_postsave hook to update rows in the attachment table after an insert. In 4.0, this hook doesn't appear to be called. What's the proper replacement?
|
#2
|
|||
|
|||
Somebody?
|
#3
|
||||
|
||||
There is still a hook called attachdata_postsave. It's in the file class_dm_attachment.php
|
#4
|
|||
|
|||
I know, but it doesn't appear to be called. When should it get called?
|
#5
|
||||
|
||||
What do you mean it isn't called? Perhaps you need to change your code to use the variable names in that function. It's hard to give you a specific fix when we know nothing about your code.
Just an FYI, but attachments changed quite a bit in vB4. You will not be able to use your old queries - they will need to be modified. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|