Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: -=[Vyorel]=- on December 16, 2014, 05:38:34 PM

Title: Remove Unknown Actions
Post by: -=[Vyorel]=- on December 16, 2014, 05:38:34 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3993)

Unknown Actions

      
         
            
            

            
Created By:
         

            -=[Vyorel]=- (http://www.simplemachines.org/community/index.php?action=profile;u=200419)
            (View my other mods here (http://custom.simplemachines.org/mods/index.php?action=search;author=200419))
         

               
Latest Version: 1.4
            

               
My Website
            

            RO Power Hosting (https://www.ro-ph.com)
            TruckersMP Romania (https://www.truckersmp.ro)
            SAMP Romania (https://www.sa-mp.ro)
         

Summary

This MOD remove the "unknown action" in the who's online list and added the action name.


Support Version:

Thanks to:
Kindred (http://www.simplemachines.org/community/index.php?action=profile;u=1261) for the code - link here (http://www.simplemachines.org/community/index.php?topic=467136.0)



(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fp%2Fzero%2F1.0%2F88x31.png&hash=6060339e89d57c68a3ebdb3928a4bba6db2a0702) (https://creativecommons.org/publicdomain/zero/1.0/)
This work is licensed under a Creative Commons CC0 1.0 Universal License (https://creativecommons.org/publicdomain/zero/1.0/)
Title: Re: Remove Unknown Actions
Post by: Kimmie on January 01, 2015, 11:32:46 PM
Not sure this is a good idea. Reg members don't need to see what mods and admins are doing. Is this permission based so we can turn it off to them?


No info about the mod  in your post.
Title: Re: Remove Unknown Actions
Post by: Kindred on January 02, 2015, 12:06:35 AM
No. There are no permissions...

Title: Re: Remove Unknown Actions
Post by: Empire KickAss on February 12, 2015, 04:27:50 AM
Thanks, Makes things allot easier and now I can see who is viewing what... This mod makes thins more professorial look 
Title: Re: Remove Unknown Actions
Post by: Jade Elizabeth on January 13, 2016, 01:45:23 AM
To be clear, what will it say if SMF doesn't know what the action is? Does it just say viewing the index or link to the area or something?

Quote from: Kimmie on January 01, 2015, 11:32:46 PM
Not sure this is a good idea. Reg members don't need to see what mods and admins are doing. Is this permission based so we can turn it off to them?


No info about the mod  in your post.

Yes I must say I agree here. For non admins it would be good if it said something like "Performing an administrative action" instead of where I am in Admin. You never know when doing routine checks or changing something could spark some sort of "OMG the forum has bugs/security issues/admin's doing x/y/z I don't like!" hysteria.

Most forum software has it hidden for a reason and privacy is a good reason to hide this [admin actions] stuff.
Title: Re: Remove Unknown Actions
Post by: petewadey on February 15, 2020, 06:14:37 AM
I've just been notified of an update to this mod, but the latest version, 1.3, is what I already have installed. Am I missing the point somewhere?
Title: Re: Remove Unknown Actions
Post by: Tonyvic on February 15, 2020, 07:31:53 AM
It's probably because the Mod was updated today, I presume simply to add SMF 2.0.17
The Mod page states:
QuoteLast Modified: Today at 03:37:57
Title: Re: Remove Unknown Actions
Post by: petewadey on February 15, 2020, 07:48:53 AM
It says 1.3 is compatible with 2.0.17? Odd??
Title: Re: Remove Unknown Actions
Post by: Shades. on April 11, 2022, 03:55:51 PM
Need this for 2.1.1 because I have a lot of unknowns in MY whos online page! O:)
Title: Re: Remove Unknown Actions
Post by: Arantor on April 11, 2022, 04:12:47 PM
This is in core in 2.1. If your forum is acting up, you have a rogue mod.

For example in an incognito window here I went to index.php?action=unknown3, who's online reports that that guest is 'Viewing the unknown3' with a little icon to indicate that they got an error while doing so.

So it will be reporting cases for you for the online list in line wiht what this mod would normally do.
Title: Re: Remove Unknown Actions
Post by: Shades. on April 11, 2022, 04:19:13 PM
I thought that was so, thanks for clarifying!
I have some that say "Nothing or nothing you can see" so maybe I need to start another topic for support?
Title: Re: Remove Unknown Actions
Post by: Arantor on April 11, 2022, 04:38:42 PM
No, that's a different thing.

Consider the following: topic 1 is created, topic 1 is indexed by search engines, you delete topic 1, search engine visits topic 1. It can't say 'viewing topic xyz' because the topic no longer exists. The search engine is therefore viewing 'nothing, or nothing you can see'.

The rationale is that when the hit is logged, it simply logs 'tried to view topic 1', and for the list of online, it looks up 'what is topic 1, and is it in a board I can see' - there's no (efficient) way to tell 'is this a topic that has been deleted/never created' or 'this is a topic I can't see'

Especially in the latter case you won't want to list the actual name of the topic because if it's in a board the user can't see, you don't want to risk leaking it, so it reports 'nothing or nothing you can see'. Which will be true: either it doesn't exist (nothing) or you don't have permission (nothing you can see).

I'll admit the wording isn't great but it *is* correct.
Title: Re: Remove Unknown Actions
Post by: Shades. on April 11, 2022, 05:16:40 PM
Ok thanks I believe I understand now! :)  8)