Rohit Gupta
Rohit Gupta
**I also found that if the user is banned the river activity of banned user is show as below:** 
I have tested the following code to show/hide river activity on plugin activation/deactivation: ``` // Call on plugin deactivation elgg_register_event_handler('deactivate', 'plugin', function($event, $object_type, $object){ $dbprefix = elgg_get_config('dbprefix'); $plugin = $object['plugin_id'];...
aaah.. i see what you mean, the subtype of a plugin might not be necessarily be same as the plugin id. True.. I didn't thought of that.. All i saw...
> i disagree that we should disable river activity for banned users... we still show user and its content, so why not show the activity.. Well, I beg to differ...
No no no.. there is some confusion.. When I deactivate a plugin, the translations are missing for those plugin's river activity like blogs (Referring to the first screenshot). When I...
No problem, I will add the ban/unban logic in my plugin. Now that leaves us with the issue of hiding the river activity for disabled plugin.
I have solved the issue and I have created a plugin for the same. https://github.com/rohit1290/activity_tool @jdalsem > this can only be done by plugins if the river knows which activity...
I guess its getLoginURL() now Link: https://github.com/zerodhatech/phpkiteconnect/blob/master/kiteconnect.php#L233