YAFLogo
fix
SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER VIEW [dbo].[yaf_vaccess] AS SELECT UserID = a.UserID, ForumID = x.ForumID, IsAdmin = max(convert(int,b.Flags & 1)), IsForumModerator = max(convert(int,b.Flags & 8)), IsModerator = (select count(1) from [dbo].[yaf_UserGroup] v,[dbo].[yaf_Group] w,[dbo].[yaf_ForumAccess] x,[dbo].[yaf_AccessMask] y where v.UserID=a.UserID and w.GroupID=v.GroupID and x.GroupID=w.GroupID and y.AccessMaskID=x.AccessMaskID and (y.Flags & 64)<>0), ReadAccess = max(x.ReadAccess), PostAccess = max(x.PostAccess), ReplyAccess = max(x.ReplyAccess), PriorityAccess = max(x.PriorityAccess), PollAccess = max(x.PollAccess), VoteAccess = max(x.VoteAccess), ModeratorAccess = max(x.ModeratorAccess), EditAccess = max(x.EditAccess), DeleteAccess = max(x.DeleteAccess), UploadAccess = max(x.UploadAccess), DownloadAccess = max(x.DownloadAccess) FROM [dbo].[yaf_vaccessfull] as x WITH(NOLOCK) INNER JOIN [dbo].[yaf_UserGroup] a WITH(NOLOCK) on a.UserID=x.UserID INNER JOIN [dbo].[yaf_Group] b WITH(NOLOCK) on b.GroupID=a.GroupID GROUP BY a.UserID,x.ForumID GO
2. Method GetStringSafely (~/pages/members.ascx.cs line 71) throws exception if parameter svalue == null
return svalue == null ? string.Empty : HtmlEncode(svalue.ToString());
Second thing: thanks. Committed to SVN.
I don't see upgrade procedure for it in views.sql (drop or anything else).
Many thanks!
The YAF.NET Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close