Recently I was being asked if the presence indicator would still function within SharePoint 2013 sites along with Office Communicator 2007 R2
How SharePoint Presence works:
SharePoint presence status is displayed through a client-side setting by using a dynamic link library called name.dll. This file is installed with Microsoft Office 2010, Office 2007 and Office 2003 and is located within the Office installation directory for e.g., (C:\Program Files\Microsoft Office\Office 14). The name.dll file is an ActiveX® control which gets loaded within the Internet Explorer that calls the Lync \ Office Communicator API directly to request and display presence status within SharePoint site collections.
Example of Add-on which gets loaded on Internet Explorer
Name : NameCtrl Class
Publisher : Microsoft Corporation
Status : Enabled
File date : Thursday, October 26, 2006, 8:12 PM
Version : 12.0.4518.1014
Function: Display presence information for people, integrating with Outlook (mail, calendar) and Communicator (instant messaging)
Non-IE behavior: Presence information will not show.
Presence is enabled in SharePoint by default; there are no configuration steps for the SharePoint administrator to perform. Each SharePoint page includes Microsoft JScript® code, which enables presence for that site. JScript uses name.dll to call the Lync \ Office Communicator API and pull presence for users names who appear on the site. JScript uses the users’ SIP URI to pull presence for names that are listed on the site.
The following JScript code is an example of presence being pulled for a user named Bob Kelly, whose SIP URI is email@example.com. The SIP URI is added by using variables to the JScript when the script is loaded and presence is being pulled.
<a href='jscript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'><img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' firstname.lastname@example.org' id='imn_74,type=smtp'/></a><a onclick="GoToLink(this);return false;" </a>
The Presence Indicator works within SharePoint 2013 along with Office Communicator 2007 R2 however, To get the Presence Indicator working we have to ensure that Office is installed as it deploys Name.DLL which is present under (C:\Program Files\Microsoft Office\Office 12) and the SIP Address is updated for the user on the site.
Incase the SIP Address is not updated for the user within the SharePoint Site, we can make use of the following script to update the same.
$web = Get-SPWeb http://sush13