Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Banner moduleBanner module
Previous
 
Next
New Post
9/13/2007 12:34 PM
 

I deleted the banner module (and files) also. Didn't realize it became part of the core... Now I need to put it back and need a proved working trick... Thanks.

 

 
New Post
1/24/2008 2:09 PM
 

I deleted mine too after I read that trimming unused modules makes the site load faster.  I decided to use the banners, so had the headache of figuring out how to get it reinstalled.  The files are available in the source, but I actually noticed the files were still there on mine, only the definition had been wiped out.  The sql code Erik submitted will actually work with a little tweaking.  I got syntax and conflict errors until edited and rearranged as you see below:

SET IDENTITY_INSERT DesktopModules ON

INSERT INTO DesktopModules ([DesktopModuleID], [FriendlyName], [Description], [Version], [IsPremium], [IsAdmin], [BusinessControllerClass], [FolderName], [ModuleName], [SupportedFeatures], [CompatibleVersions]) VALUES (15, N'Banners', N'Banner advertising is managed through the Vendors module in the Admin tab. You can select the number of banners to display as well as the banner type.', N'01.00.00', 0, 0, NULL, N'Banners', N'Banners', 0, NULL)

SET IDENTITY_INSERT DesktopModules OFF

SET IDENTITY_INSERT ModuleDefinitions ON

INSERT INTO ModuleDefinitions ([ModuleDefID], [FriendlyName], [DesktopModuleID], [DefaultCacheTime]) VALUES (20, N'Banners', 15, 0)

SET IDENTITY_INSERT ModuleDefinitions OFF

SET IDENTITY_INSERT ModuleControls ON

INSERT INTO ModuleControls ([ModuleControlID], [ModuleDefID], [ControlKey], [ControlTitle], [ControlSrc], [IconFile], [ControlType], [ViewOrder], [HelpUrl]) VALUES (28, 20, NULL, NULL, N'Admin/Vendors/DisplayBanners.ascx', NULL, 0, NULL, NULL)

SET IDENTITY_INSERT ModuleControls OFF

INSERT INTO ModuleControls ([ModuleControlID], [ModuleDefID], [ControlKey], [ControlTitle], [ControlSrc], [IconFile], [ControlType], [ViewOrder], [HelpUrl]) VALUES (29, 20, N'Edit', N'Edit Banners', N'Admin/Vendors/BannerOptions.ascx', NULL, 1, NULL, NULL)

 

 
New Post
1/24/2008 3:33 PM
 

Not exactly, let me try one more time:

SET IDENTITY_INSERT DesktopModules ON

INSERT INTO DesktopModules ([DesktopModuleID], [FriendlyName], [Description], [Version], [IsPremium], [IsAdmin], [BusinessControllerClass], [FolderName], [ModuleName], [SupportedFeatures], [CompatibleVersions]) VALUES (15, N'Banners', N'Banner advertising is managed through the Vendors module in the Admin tab. You can select the number of banners to display as well as the banner type.', N'01.00.00', 0, 0, NULL, N'Banners', N'Banners', 0, NULL)

SET IDENTITY_INSERT DesktopModules OFF

SET IDENTITY_INSERT ModuleDefinitions ON

INSERT INTO ModuleDefinitions ([ModuleDefID], [FriendlyName], [DesktopModuleID], [DefaultCacheTime]) VALUES (20, N'Banners', 15, 0)

SET IDENTITY_INSERT ModuleDefinitions OFF

SET IDENTITY_INSERT ModuleControls ON

INSERT INTO ModuleControls ([ModuleControlID], [ModuleDefID], [ControlKey], [ControlTitle], [ControlSrc], [IconFile], [ControlType], [ViewOrder], [HelpUrl]) VALUES (28, 20, NULL, NULL, N'Admin/Vendors/DisplayBanners.ascx', NULL, 0, NULL, NULL)

INSERT INTO ModuleControls ([ModuleControlID], [ModuleDefID], [ControlKey], [ControlTitle], [ControlSrc], [IconFile], [ControlType], [ViewOrder], [HelpUrl]) VALUES (29, 20, N'Edit', N'Edit Banners', N'Admin/Vendors/BannerOptions.ascx', NULL, 1, NULL, NULL)

SET IDENTITY_INSERT ModuleControls OFF

Should work now!

 
New Post
1/25/2008 2:10 AM
 

Cliff Hammock wrote
Are there any other modules out there that support the process of selling advertising on a DNN based membership site?

I have never tried module this myself, but I plan too, soon. It looks pretty good.

http://www.smokeranch.com/DNNModules/AdBannerManager45forDNN4x/tabid/57/Default.aspx

http://www.smokeranch.com/Portals/0/Smoke%20Ranch%20Ad%20Banner%20Manager%204.5%20User%20Guide.pdf


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Banner moduleBanner module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out