Are you saying it works with update event and not the create event?
It looks like like you are modifying my code from elgg_file_viewer
Yes Ismayil, I looked for working vroom examples and I try with your plugin code.
make this work with closures instead?
I dont unsderstand it, I see you use elgg_get_config/elgg_set_config in your functions but neither works.
Security issues should be reported to firstname.lastname@example.org!