The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
When is attachdata_postsave hook called?
When is the attachdata_postsave hook in includes\class_dm_attachment.php called?
In 3.8 it was called when attaching a file, but in 4.0 it doesn't seem to be called at all. |
#2
|
||||
|
||||
It looks like it is called when the post is saved. Why do you think it isn't being called? Perhaps your syntax is incorrect for your plugin?
|
#3
|
|||
|
|||
Wouldn't it show an error in this case?
I use errorlog('xbt_attachdata_postsave'); as code and this text is never logged. |
#4
|
||||
|
||||
Don't you mean error_log?
|
#5
|
|||
|
|||
Yes, but even then nothing gets logged.
|
#6
|
|||
|
|||
Somebody?
|
#7
|
||||
|
||||
Are you even sure post_save_each_filedata is getting called?
|
#8
|
|||
|
|||
No.
|
#9
|
|||
|
|||
Send an email with vbmail()
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|