So to clarify something:
- Thes 'real-time' comments, would that be on the page where commenting is available or were you referring to something like the 'Spy' module being updated to automatically 'update' with new comment postings?
The Spy module does have the ability in the admin configuration to adjust the 'refresh' times so that it auto-updates. Of course, the spy 'block' show more activity than just comments. So I guess it's where you want these comments to update in the end.
If something like that 'Spy' module that only showed 'comments', I'm sure that could be done with a little tweakin such as:
- Seeing if the Spy block can be copied (and work) to other pages
- Modifying what alerts get 'handled'
I took a look at the install file for Spy and you can see where the alert handlers are:
INSERT INTO `sys_alerts_handlers` (`name`, `class`, `file`, `eval`) VALUES
('bx_spy_content_activity', '', '', 'BxDolService::call(\'spy\', \'response_content\', array($this));'),
('bx_spy_profiles_activity', '', '', 'BxDolService::call(\'spy\', \'response_profiles\', array($this));');
SET @iLastHandler = (SELECT `id` FROM `sys_alerts_handlers` WHERE `name`='bx_spy_profiles_activity' LIMIT 1);
INSERT INTO `sys_alerts` (`unit`, `action`, `handler_id`) VALUES
('profile', 'commentPost', @iLastHandler),
('profile', 'commentRemove', @iLastHandler),
('profile', 'rate', @iLastHandler),
('profile', 'join', @iLastHandler),
('profile', 'edit', @iLastHandler),
('profile', 'edit_status_message', @iLastHandler),
('profile', 'delete', @iLastHandler),
('friend', 'accept', @iLastHandler);