pboudreau
  •  pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2008-08-15T05:32:28Z
I have 1.9.3 installed in a seperate folder (<root>/Forums) - aspnet 3.5 + iis7 (classic app pool). Specifically, I'd like to put the Active Discussiona and Forum Stats on the master page, or on the <root>/Default.aspx page. Is that possible? I've tried dragging the related controls onto the <root>/Default.aspx page, but I get a variety of errors. Without using the primary YAF:Forum control it appears that some "foundation" code is missing from the individual YAF controls. Is there away around this?

Thanks!
Sponsor
test2005
2008-08-15T13:39:34Z
Each of the YAF controls has it's own namesspace. If you "import" (sorry, VB programmer!) the proper namespace, it should work fine.
.....the man in black fled across the desert..........and the gunslinger followed.....
pboudreau
  •  pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2008-08-15T14:47:48Z
Thanks for the help!

I tried "using" (sorry, c# programmer :cheesy: ) all the YAF namespaces I could find. I seem to keep getting the "Object reference not set to an instance of an object." error on the PageContext object. I'm getting it in the LocalizedLabel class.

Thanks again!
test2005
2008-08-16T03:38:24Z
Do you have everything inside the same app directory?
.....the man in black fled across the desert..........and the gunslinger followed.....
pboudreau
  •  pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2008-08-18T11:28:46Z
I believe so.

<root folder>
-/App_Code - Some YAF Classes here - as described in setup docs
-/Bin - Some YAF dlls here - as described in setup docs
-/Forums - YAF Content. The forums work correctly, so I believe the install is correct (installed in subfolder of site...).
-/cfg files - as described in the setup docs
-/Default.aspx - trying to use controls here

Any more ideas?

Thanks!

pboudreau
  •  pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2008-08-28T11:25:55Z
HELP! 🙂

Any more ideas I can try/look at?

Thanks!
test2005
2008-08-29T13:52:22Z
Does the site compile? If so, make sure you copy the YAF.DLL into the test site.

If not, look at the stack trace. It should pint you to where the error is. It may be something as simple as a typo!

.....the man in black fled across the desert..........and the gunslinger followed.....
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2008-08-30T22:03:39Z
Yeah... what you are trying currently won't work -- I will need to come up with a method around this problem... no sure how just yet. Give it till RC1.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved