Warning: Declaration of WarpMenuWalker::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678
Denis Stadler – SharePoint & Dynamics CRM Consultant » SharePoint 2010

Step by Step: How to Manage the My Site User Profile Pictures in SharePoint 2010

Written by Denis Stadler on . Posted in My Site

The business requirement is quite simple: find a solution for SharePoint My Sites’ pictures.

After the implementation of the User Profile Service (a very good UPS deployment guide can be read on www.harbar.net), and adding data into the following fields in the Active Directory user’s profile:

  • General Tab: First Name, Last Name, Office, Telephone, E-mail
  • Organization Tab: Job Title, Department, Company, Manager

I was able to have all the My Site features up and running (displaying information about users, colleagues, organization hierarchy, search visibility– including skills).

But the big challenge remained: how to add the pictures in a standard way? The solution: the “thumbnailPhoto” field in the Active Directory profile.

The picture thumbnail can be uploaded directly into the Active Directory database, into the “thumbnailPhoto” field if we use a PowerShell script. For SharePoint 2010 the thumbnails need to be 144px * 144px (the SharePoint system will generate 3 thumbnail photos, for each user: 144*144, 96*96, 32*32).

Some Nice PowerShell Scripts for Configuring a SharePoint 2010 Farm

Written by Denis Stadler on . Posted in IT Pro & PowerShell

The main idea behind this post is the wish of getting a configured SharePoint farm which has friendly and standardized names for the databases created during the configuration process.

Below I will post only the PowerShell scripts that I used to provision the services that don’t offer the possibility of configuring the database name(s).

If you are searching a fully automated SharePoint installation solution, please check AutoSPInstaller on CodePlex.

Central Administration Provisioning

The following script provisions the central administration. Run it on the first SharePoint server within your farm, on the server that is going to host the Central Administration web application.

Step by Step: How to disable My Content Site Collection inside My Sites in SharePoint 2010

Written by Denis Stadler on . Posted in My Site

The business requirement was: the intranet solution should use My Sites to display the user profiles and “My Newsfeed” but the creation of “My Content” site collection should be disabled.

To achieve this just open the Central Administration web site and navigate to the User Profile Service instance (Application Management – Service Applications – Manage Service Applications).

Click on Manage User Permissions link and uncheck the Create Personal Site check for both the groups that have permissions (NT AUTHORITY\Authenticated Users, All Authenticated Users).

Step by Step: How to Add jQuery to a SharePoint 2010 Site Collection

Written by Denis Stadler on . Posted in jQuery

Both SharePoint 2010 editions (Server and Foundation) don’t provide a built-in feature that activates jQuery in a site collection.

Adding jQuery to SharePoint might not present a high interest for a traditional intranet portal solution, but if we use the Publishing feature, especially in web sites, jQuery could help us to improve our users’ experience.

The easiest way to add jQuery is, of course, to edit the master page and add the following lines of code, before the closing </head> tag:

<script type="text/javascript"
<script type="text/javascript"

This code show his limitations if the computer of the user connecting to the SharePoint solution doesn’t have an active internet connection.

The Build of an Add-jQuery SharePoint Feature

A more elegant solution is to build a custom feature that injects the code in the “PlaceHolderAdditionalPageHead” content place holder, a content place holder that should exist on every SharePoint master page.

<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead"

To achieve this, I had initially to create a new SharePoint empty project using Visual Studio 2010.

Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home4/x15denis/public_html/wp-includes/functions.php on line 3203