Hi all,
I found the reason why those modules missing from control bar.
The old module definition in DNN 4.X has no portals area using limitation. The DNN 6/7 added the new portals limitaiton for Ribbon Bar/Control Bar.
You can just assgined all preemius modules in the module settings page for those modules.
I have wrotten a sql script to complete those works under DNN7:
BEGIN TRANSACTION UpdateModuleLocations
declare @DesktopModuleID as int,@PortalDesktopModuleID as int, @PortalID as int, @UserID as int
Set @UserID = 1
DECLARE my_cursor CURSOR FOR
select pt.PortalID,dm.DesktopModuleID from {databaseOwner}[{objectQualifier}DesktopModules] dm
inner join {databaseOwner}[{objectQualifier}Packages] pa on dm.PackageID=pa.PackageID and pa.PackageType='Module'
,{databaseOwner}[{objectQualifier}Portals] pt
Where dm.DesktopModuleID not in (Select pdm.DesktopModuleID from {databaseOwner}[{objectQualifier}PortalDesktopModules] pdm)
OPEN my_cursor
-- Perform the first fetch.
FETCH NEXT FROM my_cursor INTO @PortalID, @DesktopModuleID
WHILE @@FETCH_STATUS = 0
BEGIN
exec {databaseOwner}[{objectQualifier}AddPortalDesktopModule] @PortalID,@DesktopModuleID,@UserID
Select @PortalDesktopModuleID=@@IDENTITY
exec {databaseOwner}[{objectQualifier}AddDesktopModulePermission] @PortalDesktopModuleID,7,0,@UserID,NULL,@UserID
FETCH NEXT FROM my_cursor INTO @PortalID, @DesktopModuleID
END
CLOSE my_cursor
DEALLOCATE my_cursor
COMMIT TRANSACTION UpdateModuleLocations;
Go
Please clear the cache after you run those sql scripts.