Using a global $_post in a listener
Jamroom Developers
global $_post;So long as $_user['user_active_profile_id'] and $_post['id'] are validated to be there and are what you are expecting them to be that solution looks fine to me.
The jrDiscussion module uses threaded comments. If your site is slowing down, its probably the cause. Due to it using multiple search="" conditions we have to use a JOIN and that causes a performance hit. Its on the board for a redesign.