Here’s one more extension to great Vanilla.IsOnline is an extension which indicates if the comment author is online or not.
This uses some codes from the extension “Who’s Online” which gets the names of the online users and assigns them an array.Then another function checks if the particular author of the comment exists in that array.If exists it returns a colored icon ,if not returns a gray icon.
This icon is compatible to the default Vanilla theme.But some tweaking needed to the comment.php file inside the theme folder.
Since this extension uses string replace function which replaces the span tags with the required data, and no span tags are provided after the time element in the comment title ,before enabling this extension you will need to add ” . ‘<span>IsOnline</span>’ ” just before the semicolon which ends the line where comment title is displayed,right after the time and date.And you are ready to use this extension.

I hope we will have this span tag added to the page in coming versions of the default theme.For now Go get this extension.

 

 

Bugs report are always welcome!!:)

Advertisement