Hello, I am really new to elgg. currently, I am fixing a bug about searching functionality throughout a site(actually the plugin is Search).
I am currently stucking with a strange incident that when i search an user's name to retrieve any posts of the user(e.g. Courses uploaded by the user), i found that for some users, i can search out his/her post, for others, i can't...when i troubleshooted this problem, i did find some extra plugin hooks are invoked for some users whose posts can be found.
my question is that how do i know how many and what plugin hooks will be triggered by an Action, in my case, the action is a Search submit.
I actually cannot find "trigger_plugin_hook" for the hooks got called...Are there any other ways to trigger a plugin hook besides "trigger_plugin_hook"? The user and the user's posts have different guids, how can i associate them?
Hope i describe my problem clearly.
Thanks for any advices~
Regards
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- Cash@costelloc

Cash - 0 likes
You must log in to post replies.Here is the complete list og plugin hooks triggered b Elgg http://docs.elgg.org/wiki/What_plugin_hooks_are_available_in_the_Elgg_core%3F
But there is no hook in core for specific users. May be the hook you mentioned is registered by some thirdparty plugin.
The developers plugin has an option for recording what plugin hooks were triggered.