Posted by: Boskone - Saturday, 25 April 2009 13:53:23 |
---|
First of all thanks to Jaben and all for their excellent work. YAF runs [i]almost[/i] perfectly in a multi-board portal setup with DotNetNuke :) Unfortunatly the BBCode editor does not function as expected. Images for the BOLD, ITALIC, CODE etc buttons do not show. When I look at the properties of the images, the path does not include the 'root' folder (desktopmodules/yaf/). I made one small change to postmessage.ascx to test: [code]//Message.EnableRTE = PageContext.BoardSettings.AllowRichEdit; _forumEditor.StyleSheet = YafBuildLink.ThemeFile("theme.css"); _forumEditor.BaseDir = YafForumInfo.ForumRoot + "editors"; [/code] to [code]//Message.EnableRTE = PageContext.BoardSettings.AllowRichEdit; _forumEditor.StyleSheet = YafBuildLink.ThemeFile("theme.css"); _forumEditor.BaseDir = YafForumInfo.ForumFileRoot + "editors"; [/code] The button images then appeared. ForumFileRoot needs to be used instead of ForumRoot. I also believe the javascript and the smileys for the editor are not loaded due to the same reason. |
Posted by: Jaben - Saturday, 25 April 2009 14:07:15 |
---|
Hmm... ForumRoot is the URL -- basically "client-side" url to the file. ForumFileRoot is the server-side url to the file. ForumRoot *should* work since it's client-side. Did you modify BaseURL? |
Posted by: Boskone - Saturday, 25 April 2009 14:35:26 |
---|
Yes, The key in app.settings for BaseURL has to remain '~/' otherwise the normal links get messed up. Normally a link to a topic would look like mysite.com/default.aspx?tabid=55&g=topics&f=1 If BaseURL is set the link would be mysite.com/desktopmodules/yaf/default.aspx?tabid=55&g=topics&f=1 That default.aspx page does not exist. |
Posted by: Boskone - Saturday, 25 April 2009 16:37:43 |
---|
Problem solved. I had to make a change in the yaf_dnn.dll for the URLBuilder interface. All is good now. I will post the interface code at my site in a couple of days. |
Posted by: Boskone - Sunday, 26 April 2009 07:38:59 |
---|
New files have been posted at my site. [url=http://shardan.gotdns.com/Downloads/YetAnotherForum/tabid/206/Default.aspx]Download here.[/url] |