Skip to Content Skip to Menu

Keeping tabs of what the admins do...

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 9 months ago #322819 by krileon
Replied by krileon on topic Keeping tabs of what the admins do...
You should be able to get the name of the moderator with [name]. As for the name of the user who created the post you might be able to use the built in nesting feature for that. Specifically the below might work.

[cb:userdata field="name" user="[var3_user_id]" /]

With activity_onBeforeUpdateStreamActivity the updated activity entry is in var3 and the old entry is in var4. So you should be able to get the activity messages as follows.

Edited Message: [var3_message]
Old Message: [var4_message]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
3 years 9 months ago #323024 by timstohr
Replied by timstohr on topic Keeping tabs of what the admins do...
Works like a charm now. But be aware... Groupjive group moderators are NOT in the category of ALL MODERATORS (at least that is what my tests showed.) so I have simply set the AA to EVERYONE.
Those that change their own message are anyway filtered out by the Condition.
The Load By I have set to NONE to produce a new activity everytime someone edits something otherwise the old message gets lost.
Also, I have set the Asset of the new post to be activity.[var3_user_id].editlog. The reason is that I will make an Activity module with asset activity.[self].editlog + comment.[self].editlog.

That way people can check if their own posts got modified and have everything in black and white. Also, since there is another user who is owner of the activity that they are getting shown, they cannot edit it and then complain/sue someone saying that they did that, wrote that etc...

That would have been good to have it as a System Auto Action btw...

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
3 years 9 months ago #323027 by timstohr
Replied by timstohr on topic Keeping tabs of what the admins do...
Unfortunately there seems to be a bug in the translation part. I have made you a video here to show it as it would be Possibly to difficult to explain. 1drv.ms/v/s!Ap2Qzya9x1hVj-o960h4DrTbF2FNGQ?e=FXaXka

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 9 months ago #323030 by krileon
Replied by krileon on topic Keeping tabs of what the admins do...
I don't recommend storing activity for that. You'll bloat the activity table with information irrelevant to everyone except admins. I suggest just storing that information to Joomlas action log database then you can view it in Users > User Actions Log and reference it if needed.

Future release of CB Activity will just keep better track of edits and actually provide access to the full edit log in a separate database table. Added a feature ticket for this so I don't forget.

forge.joomlapolis.com/issues/8364


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 9 months ago #323031 by krileon
Replied by krileon on topic Keeping tabs of what the admins do...

Unfortunately there seems to be a bug in the translation part. I have made you a video here to show it as it would be Possibly to difficult to explain. 1drv.ms/v/s!Ap2Qzya9x1hVj-o960h4DrTbF2FNGQ?e=FXaXka

There is no language string for "has edited the comment of". Is that a custom activity title you're using? Please use a language key instead. Example as follows.

Title: HAS_EDITED_COMMENT_OF

Key: HAS_EDITED_COMMENT_OF
Text: has edited the comment of

I don't see what this would have to do with the new language overrides behavior and more to do with the language text as a key you're using isn't being found.

Please keep in mind in the future you will -have- to use language keys. We will likely be enforcing this in CB 3.x.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
3 years 9 months ago #323036 by timstohr
Replied by timstohr on topic Keeping tabs of what the admins do...
Hi, have you ever admined an FB group in Vietnam? they are harpies over there. If you even touch the slightest bit their posts, they are going to come over and kill you if they do not have an exact protocol of what changes have been done (so not only relevant to admins) :D.

Anyway, with the Group creators and the moderators being admins, I found it better to show a "change log" to each user with what has been changed by the administrators in their own post. It concerns everyone, especially with the GDPR (you are always the owner of your own information) and the soon to be upcoming legislation about Social networks being responsible for reacting to complaints etc...

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum