SharePoint is a very powerful and flexible tool. However, there are some areas where it’s not as simple as logging into the admin area of it to change the way it works. Sometimes you have to get “down & dirty” with it to make it do what you need it to do. Sometimes even for what might seem like straight forward requirements, a good example of this follows below;
SharePoint 2007 “12 Hive” Directory (The “business end” of SharePoint web application code)
“%>Program Files\Common Files\Microsoft Shared\Web Server Extensions\12”
– in “\TEMPLATE\LAYOUTS” is this “grant permissions to user” page (which also generates the relevant email to them). In here you can turn off the “Send welcome email to the new users” check box, which is always ticked by default otherwise! (And is thusly VERY annoying in the real world!) To fix this you just need to modify one line, starting at line 190, look for the following code:
And just change the line: Checked=”True” to Checked=”False” (obviously!)
NOTE: If you have multiple Web Front End Servers remember to make sure you change the file on all of them!