https://www.icyphoenix.com/viewtopic.php?f=35&t=3852&p=26205#p26205 ----------------------------------- KasLimon Sat 15 Mar, 2008 23:05 Re: Php121 Instant Messenger ----------------------------------- It seems easy, you just need to know where these lines are now. [b]Open[/b] [i]forum.php[/i] [b]Find[/b][code linenumbers=false] $sql = 'SELECT user_id, username, user_allow_viewonline, user_level, user_lastlogon[/code] [b]In-line, Find[/b][code linenumbers=false]user_lastlogon[/code] [b]In-line After, add[/b][code linenumbers=false], php121_user_chatting[/code] [b]Find[/b][code linenumbers=false] $colored_user = colorize_username($todayrow['user_id'], false);[/code] [b]Replace with[/b][code linenumbers=false] //***PHP121*** $php121 = ''; if ( ($todayrow['php121_user_chatting'] != 0) && ($todayrow['php121_user_chatting'] != NULL )&& (time()-$todayrow['php121_user_chatting']) < 90 ) { $php121 = " Send instant message"; } //***END PHP121*** $colored_user = colorize_username($todayrow['user_id'], false) . $php121;[/code] [b]Open[/b] [i]templates/mg_themes/overall_include.tpl[/i] [b]Find[/b][code linenumbers=false][/code] [b]After, add[/b][code linenumbers=false][/code] [b]Open[/b] [i]templates/mg_themes/overall_header.tpl[/i] [b]Find[/b][code linenumbers=false] {L_INDEX}   [/code] [b]After, add[/b][code linenumbers=false] Instant Messenger   [/code] Try if it works, and if it does, it would be great to add it to customizations forum. I have it working [url=http://www.iesmg.es/ip/]here. Greets! [ot]PS: please don't move this to customizations yet...[/ot]