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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How Do I Make Sub NavigationHow Do I Make Sub Navigation
Previous
 
Next
New Post
10/22/2008 4:06 PM
 

Yup. That's what I was getting at with the CISS search above on www.snowcovered.com. Ive used it and it does do as you expected.

Mike

Lester, try logging out and closing your browser and coming back in to see if your issue resolves itself.


Michael Emond
City of Manchester NH
www.manchesternh.gov
 
New Post
10/23/2008 11:19 AM
 

Issue still there. Can't create new thread in www.dotnetnuke.com forums.

Anyways, the issue that I've found on my end (for which i'm trying to open a thread of course) is that the AddEventLog Stored Procedure is buggy and messes the DotNetNuke.Services.Log.EventLog.SendLogNotifications schedule functionality. I tried posting the bugs in support.dotnetnuke.com but apparently i need permission to open issues which i don't have. So, in hope that someone will read this post and do something about it I'm going to post the updated stored procedure here (with my changes highlighted):

ALTER procedure [dbo].[AddEventLog]

 @LogGUID varchar(36),
 @LogTypeKey nvarchar(35),
 @LogUserID int,
 @LogUserName nvarchar(50),
 @LogPortalID int,
 @LogPortalName nvarchar(100),
 @LogCreateDate datetime,
 @LogServerName nvarchar(50),
 @LogProperties ntext,
 @LogConfigID int
AS
 INSERT INTO dbo.EventLog
  (LogGUID,
  LogTypeKey,
  LogUserID,
  LogUserName,
  LogPortalID,
  LogPortalName,
  LogCreateDate,
  LogServerName,
  LogProperties,
  LogConfigID)
 VALUES
  (@LogGUID,
  @LogTypeKey,
  @LogUserID,
  @LogUserName,
  @LogPortalID,
  @LogPortalName,
  @LogCreateDate,
  @LogServerName,
  @LogProperties,
  @LogConfigID)

 DECLARE @NotificationActive bit
 DECLARE @NotificationThreshold bit
 DECLARE @ThresholdQueue int
 DECLARE @NotificationThresholdTime int
 DECLARE @NotificationThresholdTimeType int
 DECLARE @MinDateTime datetime
 DECLARE @CurrentDateTime datetime

 SET @CurrentDateTime = getDate()


 SELECT TOP 1 @NotificationActive = EmailNotificationIsActive,
  @NotificationThreshold = NotificationThreshold,
  @NotificationThresholdTime = NotificationThresholdTime,
  @NotificationThresholdTimeType = NotificationThresholdTimeType,
  @MinDateTime =
   CASE
     --seconds
    WHEN NotificationThresholdTimeType=1 THEN DateAdd(second, NotificationThresholdTime * -1, @CurrentDateTime)
    --minutes
    WHEN NotificationThresholdTimeType=2  THEN DateAdd(minute, NotificationThresholdTime * -1, @CurrentDateTime)
    --hours
    WHEN NotificationThresholdTimeType=3  THEN DateAdd(Hour, NotificationThresholdTime * -1, @CurrentDateTime)
    --days
    WHEN NotificationThresholdTimeType=4  THEN DateAdd(Day, NotificationThresholdTime * -1, @CurrentDateTime)
   END
 FROM dbo.EventLogConfig
 WHERE ID = @LogConfigID

 IF @NotificationActive=1
 BEGIN
  
  SELECT @ThresholdQueue = COUNT(*)
  FROM dbo.EventLog
  INNER JOIN dbo.EventLogConfig
  ON dbo.EventLog.LogConfigID = dbo.EventLogConfig.ID
  WHERE LogCreateDate > @MinDateTime
  AND dbo.EventLog.LogConfigID = @LogConfigID

  PRINT 'MinDateTime=' + convert(varchar(20), @MinDateTime)
  PRINT 'ThresholdQueue=' + convert(varchar(20), @ThresholdQueue)
  PRINT 'NotificationThreshold=' + convert(varchar(20), @NotificationThreshold)

  IF @ThresholdQueue > @NotificationThreshold
  BEGIN
   UPDATE dbo.EventLog
   SET LogNotificationPending = 1
   WHERE LogConfigID = @LogConfigID
   AND LogNotificationPending IS NULL  
   AND LogCreateDate > @MinDateTime
  END
 END
 

 
New Post
10/23/2008 11:38 AM
 

Lester,

please send an email to webmaster at dotnetnuke.com regarding your posting issue.

To submit an item to the issue tracker, please select the PUBLIC tracker (second from top), AFAIK you don't need to register - but if you register, you will get notified about the progress of your item.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/3/2010 4:26 AM
 

Try to use free dnn sub navigation module by Coding Staff. It should do what you need.


Looking for dotnetnuke module development or dotnetnuke skinning services provider? Check our dnn modules and dotnetnuke skins to see where you can start.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How Do I Make Sub NavigationHow Do I Make Sub Navigation


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