YAFLogo

continienzo
15 years ago
Hi, after the last updates i see that solution wont compile...

There is an error in dbaccess.cs:

	public string Message
			{
				get;
				set;
			}

Error 26 'YAF.Classes.Data.YafDBConnManager.YafDBConnInfoMessageEventArgs.Message.get' must declare a body because it is not marked abstract or extern D:\Siti e Applicazioni\NT Forum\Yaf Forum NT - Copia\YAF.Classes\YAF.Classes.Data\DBAccess.cs 38 5 YAF.Classes.Data

Error 27 'YAF.Classes.Data.YafDBConnManager.YafDBConnInfoMessageEventArgs.Message.set' must declare a body because it is not marked abstract or extern D:\Siti e Applicazioni\NT Forum\Yaf Forum NT - Copia\YAF.Classes\YAF.Classes.Data\DBAccess.cs 39 5 YAF.Classes.Data

I corrected this as following:

 public string Message
            {

                get { return null; }
                set { Message = null; }
                
            }

Also in the new "search all user posts" funtions in profile.ascx there is a problem in passing the querystring to the searh form cause it wont replace the "&":

SearchUser.NavigateUrl = YAF.Classes.Utils.YafBuildLink.GetLink( YAF.Classes.Utils.ForumPages.search, "postedby={0}",
				                                                                 userData.Membership.UserName );

this need to be changed in :

SearchUser.NavigateUrl = YAF.Classes.Utils.YafBuildLink.GetLinkNotEscaped( YAF.Classes.Utils.ForumPages.search, "postedby={0}",
				                                                                 userData.Membership.UserName );

Kinds regards

Enzo

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
thanks Enzo.

Fixed and committed.