Add additional logging for users who edit certain tabs
complete
Amrayu78
Some pages are created by admin, some by contributors, this is all tracked on each individual page.
Where it gets tricky is for the different tabs that we have available.
Subtitle Projects:
- Translation Notes
- Stream Links
Dramas, Specials:
- Episodes
People/Groups:
- Oshi Spots
I'd like to log the users who edited these if possible. There happened to be some instances where contributors add a Pirate's Booty link and the link is dead or missing files, etc. It's hard for me to trace who did what to follow-up with them.
This feature should be only viewable by Contributors and above (Editors and Admin).
Amrayu78
marked this post as
complete
Amrayu78
Max Romanchenko new enhancement for you.
Max Romanchenko
Amrayu78 I would like to make this more convenient for you, but here are a few important things to consider before moving forward:
For Subtitle Projects (Translation Notes and Stream Links), everything is saved as repeatable custom fields inside the project post. WordPress only tracks who created the post (post author), it does not know who added or updated each individual note/link.
For the Episodes tab, each episode is its own post. WP knows the original author, but it doesn't log who changed specific pieces inside the episode (like a PB link).
The same goes for Oshi Spots - each one is a separate post with the same limitation.
Please confirm that I have understood you correctly:
– For Translation Notes: store and display who last edited the Translation Notes block as a whole.
– For Stream Links: store and display who last edited the Stream Links block as a whole.
– For each Episode: store and display who last edited a PB link in that episode post (and if there is no PB link editor yet, fall back to the author who created the episode).
There will be no history of previous edits because this has not been tracked so far.
Amrayu78
Max Romanchenko
Let's leave Subtitle Projects alone for now, since admin and other may add the links for the fansubber.
Episodes tab, Oshi Spots, what you've proposed works.
Max Romanchenko
Amrayu78 I'm done with the episodes, please check the screenshots (this is visible to Contributors and above, as we discussed).
_____
In my previous reply, I made a mistake about Oshi Spots, I apologize for the confusion. In the "Oshi Spots" tab, we display relationships with Oshi spots, not the Oshi spots themselves. That is, the situation is exactly the same as with Translation Notes and Stream Links. In other words, I can display the user who last edited the entire "Oshi Spots" tab. Is that okay, or do you need something more complex?
Amrayu78
Max Romanchenko Looks good.
For Oshi Spots, we do not need anything complex. Just display user who last edited.
Max Romanchenko
Amrayu78 I've added this for Oshi Spot tab, please check it.
Amrayu78
Max Romanchenko looks good.