امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hi,
I'm creating an add-on where I want to run some checks on pre-save when a new thread is being created. If those checks fail, I throw an error to prevent the save from occurring.
I need to access attachments that may have been added to the post. Since we're in pre-save, they haven't been associated with the post yet (and there's no post id), so I'm not sure how to go about this. I had a thought that I could use the attachment temp hash, but I don't know how to access that either.
Can...
Read more
I'm creating an add-on where I want to run some checks on pre-save when a new thread is being created. If those checks fail, I throw an error to prevent the save from occurring.
I need to access attachments that may have been added to the post. Since we're in pre-save, they haven't been associated with the post yet (and there's no post id), so I'm not sure how to go about this. I had a thought that I could use the attachment temp hash, but I don't know how to access that either.
Can...
Read more
