If you are seeing [object Promise] in your output it could be due to a missing await or returning a promise instead of the html string. You didn't post the surrounding function this code is in or which plugin hook it is using so can't really tell what is causing it.
How to know who deleted the post?
-
My forum is powered by NodeBB.
Is it possible to find out in a deleted post who deleted it? This information appears at the top of the deleted topic. But what if it was just one deleted post and not an entire topic?
If the user who wrote the post deleted it back, or it was one of the "global administrators" with the appropriate permission, I'd love to know. -
@josef said in How to know who deleted the post?:
My forum is powered by NodeBB.
Is it possible to find out in a deleted post who deleted it? This information appears at the top of the deleted topic. But what if it was just one deleted post and not an entire topic?
If the user who wrote the post deleted it back, or it was one of the "global administrators" with the appropriate permission, I'd love to know.This info should be available at ACP>Advanced>Events
I have asked for more events before, if you think of additional events do not hesitate to open a GH issue...
-
@crazycells Thanks! I did not know it
But it seems to me that it should be simpler ... no? Maybe within the editorial history of the post or something similar -
@josef said in How to know who deleted the post?:
@crazycells Thanks! I did not know it
But it seems to me that it should be simpler ... no? Maybe within the editorial history of the post or something similarhmm... I believe deleting and restoring do not count as editing of a post, so these actions will not change the edit history.
-
B baris moved this topic from General Discussion on
-
@crazycells is correct, deleting and restoring a post doesn't change the post content, so we don't count that as an edit.
Suggested Topics
-
Wow Style tags in posts
Unsolved Technical Support -
-
-
-