Jean-Baptiste
Well-known member
Hello,
I made a custom addon, where the user can upload attachements using the attachement handler class.
Once uploaded, I'm linking the temp hash attachement to it's content, and the image as an example, is correctly uploaded into the attachement folder.
The problem is that when I try to parse the attachement, I got the following result:
When I use the same BBCode to parse image attachements into a thread, it's not working, so the problem is from my addon, there is something missing with my attachment handler.
When I upload a thread using a post's 'upload a file' button, it's working.
Do you have any ideas ?
Kind regards.
I made a custom addon, where the user can upload attachements using the attachement handler class.
Once uploaded, I'm linking the temp hash attachement to it's content, and the image as an example, is correctly uploaded into the attachement folder.
The problem is that when I try to parse the attachement, I got the following result:
Code:
[ATTACH]12[/ATTACH]
[ATTACH=full]12[/ATTACH]
[ATTACH=full]13[/ATTACH]
[ATTACH=full]4[/ATTACH]
When I use the same BBCode to parse image attachements into a thread, it's not working, so the problem is from my addon, there is something missing with my attachment handler.
When I upload a thread using a post's 'upload a file' button, it's working.
Do you have any ideas ?
Kind regards.