Compatibility with Sharepoint 2010

Topics: Developer Forum
Mar 24, 2010 at 6:29 PM

Is this forums solution going to be fully compatible with Sharepoint 2010 ?

Also, Sharepoint 2010 also has a built-in forums - is there a way to migrate the data from this forums system on SharePoint 7 to the built-in forums on Sharepoint 2010 ?

Thanks in advance.

Jun 22, 2010 at 7:48 PM
Edited Jun 22, 2010 at 7:48 PM

I follow the steps in

[discussion:15134]

 http://spforums.codeplex.com/Thread/View.aspx?ThreadId=15134

for SharePoint 2010. It worked!

 

Aug 4, 2011 at 2:11 PM

Here are the instructions, works fine unti i try to use it on a site it throws this error:

A Web Part or Web Form Control on this Page cannot be display or imported. The type is not registered as safe.

But I have put the code in the web.config :( in the in the instructions mentioned place.

Can anybody help me ?

 

Here are the instructions:

All -- Here are the instructions to install it into a MOSS 2007 environment.

1. Extract the 1.2 code from the msi package.
2. Import the .dwp file into Sharepoint under a root site:
a. Site Actions -> Site Settings -> Galleries -> Web Parts -> Upload Document
b. Choose the Default Webpart Group
3. Add the SafeControl’s included in text file to the web.config of the Sharepoint site.
4. Use gacutil –I to install the .dll’s into the assembly.
a. BilSimser.SharePoint.Common.dll
b. BilSimser.SharePoint.WebParts.Forums.dll
5. Add on the directories:
a. In Program Files\common files\Microsoft Shared\web server extensions\wpresources\
b. Create the directory: BilSimser.SharePoint.WebParts.Forums\1.2.0.0__e516dadc23877c32
c. Add these files: 1033.lng.xml, manifest.xml
6. Update default.master to include the script included in the text file. Place it right before the “/BODY” tag (at the bottom of the page).
7. Go to the site you want to place the Webpart and then create a new subsite.
a. Site Actions -> Site Administration -> Sites and Workspaces -> Create
b. Enter the name / url name and Yes for Top Launch and Quick Link
8. Setup the security for the Webpart.
a. Site Actions –> Actions -> Edit Permissions -> Ok to Unique Permissions
b. Settings -> Permission Levels -> Edit Permission Levels -> Ok
c. Add a Permission Level -> Name = List Permission -> Under List Permissions check “Manage Lists” -> Create
d. Click on Permissions (in location url) -> Guideworks\Domain Users ->List Permission -> Ok
e. NOTE: This permission is on top of the “default” contribute permissions.
9. Verify the install
10. Have business users verify the install.

************************web.config file changes*****************

<SafeControl Assembly="BilSimser.SharePoint.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=24713753211b034a" Namespace="BilSimser.SharePoint.Common" TypeName="*" Safe="True" />
<SafeControl Assembly="BilSimser.SharePoint.WebParts.Forums, Version=1.2.0.0, Culture=neutral, PublicKeyToken=e516dadc23877c32" Namespace="BilSimser.SharePoint.WebParts.Forums" TypeName="*" Safe="True" />


***********
--in master.default --
--Right before </BODY> tag --
--Located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL
************
<script>
function ProcessOwsForm(ctl, argument)
{
if (frm.fPreviewMode)
{
var LcantSaveText = "This form cannot be saved when previewing this page.";
window.alert(LcantSaveText);
return;
}
if (frm.FValidate(true))
{
frm.FPostProcess();
var theForm = document.forms'aspnetForm';
__doPostBack2(ctl, argument);
}
}
function __doPostBack2(eventTarget, eventArgument)
{
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
</script>