Steve Pietrek - Everything SharePoint

My continuous learning of SharePoint…

Archive for the 'SPAdmin' Category


Customize application.master

Posted by Steve Pietrek on January 29, 2008

I have been doing some research on customizing application.master. I found a good KB on Microsoft’s web site listing two ways to customize application.master.

  1. Customize the files in the Layouts folder (recommended)
  2. Create a custom Layouts folder

The two methods above work well.

I have been messing around with an applicationĀ development method using a feature, HttpModule, and SPWebConfigModification. The premise of the feature is for every page, in the PreInit event, I check to see if the page’s current MasterPageFile is application.master. If it is, I set theĀ MasterPageFile to my custom application.master. I plan on blogging on this method soon.

Posted in SPAdmin | 1 Comment »

Disable MySite and MyLinks in MOSS 2007

Posted by Steve Pietrek on December 11, 2007

For my client’s site, they were not interested in My Site and My Links for the first phase. Below are the steps I followed to remove the two links:

  1. Log into Central Administration.
  2. Under Shared Services Administration in the Quick Launch bar, select the one running My Sites.
  3. In the “User Profiles and My Sites” group, click on the “Personalization services permissions” link.
  4. For those users you want to remove the personalization functionality, click on the user name (for example, NT AUTHORITY\Authenticated Users).
  5. On the “Modify Permissions: Shared Service Rights” page, uncheck “Use personal features”. Click OK to save.
  6. I had to shut down my browser and log in again to see my changes.

Note 1: I read on a few blog posts that on the “Modify Permissions: Shared Service Rights” page, “Create personal sites” pertains to My Sites and “Use personal features” pertains to My Links. I could not uncheck all permissions. Unchecking “Use personal features” appeared to modify both My Site and My Links permissions.

Note 2: If you do not change the Administrator user, you will see My Site and My Links displayed. If you don’t want to see them when you log in as an administrator, change the administrator’s permissions.

Note 3: As far as #6 above, this isn’t required. A timer job runs which will switch all authenticated users. Be patient.

Posted in SPAdmin, SPUI | No Comments »