YAFLogo

Posted by: Zero2Cool - Monday, 2 July 2012 17:45:36
[code=csharp]<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" ValidateRequest="false" Inherits="YAF.ForumPageBase" %> <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
[/code] [quote=Error][HttpException (0x80004005): Content controls have to be top-level controls in a content page or a nested master page that references a master page.] System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8965627 System.Web.UI.Page.get_Master() +54 System.Web.UI.Page.ApplyMasterPage() +15 System.Web.UI.Page.PerformPreInit() +45 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328[/quote]

Posted by: tha_watcha - Monday, 2 July 2012 18:36:38
Take a look at my asp.net sample app that has yaf included as a control, or did you already used that? http://forum.yetanotherforum.net/yaf_postsm51411_Integrating-YAF-1-9-5-5-into-existing-application--Walkthrough.aspx#post51411 That should give you a good starting point.

Posted by: Zero2Cool - Monday, 2 July 2012 19:44:06
This looks to be exactly what I'm aiming to develop. I'm uploading the bin (DLL's only), forum, and Styles directories as well as the ASPX pages right now. Edit, okay it's working as desired. I tried it out before all the files were uploaded and it still worked. I'm thinking all I may have needed was the Forum.aspx from your sample? Also, what would be required to update this to the latest version (when released)? Same process as if it were in the root, but simply put the files in /forum instead and put the DLL's in /bin?

Posted by: tha_watcha - Tuesday, 3 July 2012 01:09:30
[quote=Zero2Cool;55234] Edit, okay it's working as desired. I tried it out before all the files were uploaded and it still worked. I'm thinking all I may have needed was the Forum.aspx from your sample?[/quote] Yes and also the app.config [code=xml] [/code] [quote=Zero2Cool;55234] Also, what would be required to update this to the latest version (when released)? Same process as if it were in the root, but simply put the files in /forum instead and put the DLL's in /bin?[/quote] Correct its the same process.

Posted by: Zero2Cool - Tuesday, 3 July 2012 15:35:52
Functionality wise, I have everything done. Now I'm working on some CSS issue stuff. Thanks a lot, I really appreciate it.