Hi, when i try to edit post with attachment and delete it, the attachment will still show unless i refresh the webpage. I tried it with default mybb theme and it does delete the attachment without having to refresh
following is videos of what i'm talking about
http://blackmarke7.com/1.mp4
http://blackmarke7.com/2.mp4
first video shows attachment still showing unless i refresh using custom theme
2nd video shows attachment removed without refreshing using default theme
my forum is in my sig
thanks for the help
Seems related to the following report:
https://github.com/mybb/mybb/pull/3926
If so, this is both a MyBB issue and theme issue. First, it seems AJAX removing of attachments was added on Jan, 2019 (
#3439) so your theme might be outdated.
Regardless, removal should be possible without Ajax or Javascript and that seems to be fixed in the first link I posted.
It's also possible that the attachment is being cached, either by PHP or a CDN if you're using one. I'd try clearing your cache on both and see if the issue persists. It's also a possibility that it's a theme-related issue.
After watching the videos again I would say this specifically is a issue with your theme.
(2020-04-14, 06:28 PM)Omar G. Wrote: [ -> ]Seems related to the following report:
https://github.com/mybb/mybb/pull/3926
If so, this is both a MyBB issue and theme issue. First, it seems AJAX removing of attachments was added on Jan, 2019 (#3439) so your theme might be outdated.
Regardless, removal should be possible without Ajax or Javascript and that seems to be fixed in the first link I posted.
(2020-04-14, 06:32 PM)R34P3R Wrote: [ -> ]It's also possible that the attachment is being cached, either by PHP or a CDN if you're using one. I'd try clearing your cache on both and see if the issue persists. It's also a possibility that it's a theme-related issue.
thx for the help it was theme related
i have fixed it now