Welcome Guest Search | Active Topics | Members | Log In | Register

2 Pages12>
Integrating YAF into BlogEngine.NET Website
jlrolin Offline
#1 Posted : Saturday, April 05, 2008 9:49:20 AM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I'm having a horrendous problem trying to integrate YAF into an existing BlogEngine.NET website. I currently am running it on IIS7/ASP.NET 2.0/SQL Server 2005. I do not want to integrate the logins, and all I simply want to do is put the forums in a /forums/ folder.

My problem currently is the MachinetoApplication error, but I'm unsure what the problem is. I had YAF working as a standalone, but I cannot seem to put it into BlogEngine's root as /forums/ with the error occurring. I have made it a virtual directory, and an application as well just to see if this thing would work. Unfortunately, nothing is working.

The documentation on the Wiki needs a heavy revamp, guys. It's terrible, and all it really needs is some specifics. I'm looking for anyone who can help me get this thing integrated.
vladk Offline
#2 Posted : Saturday, April 05, 2008 10:32:40 AM(UTC)
Rank: YAF Forumling

Joined: 3/26/2008(UTC)
Posts: 7

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Yeah I tried to do the same thing, I've given up.
Kaan1983 Offline
#3 Posted : Saturday, April 05, 2008 6:16:56 PM(UTC)
Rank: Advanced Member

Joined: 7/25/2007(UTC)
Posts: 69
Location: Türkiye

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Exact same issue here, I'm trying to deal with that last 2 weeks. This problem occurs because we are trying to integrate YAF as a standalone application inside another application of ours. It actually must be easy to assign YAF to use aspnet membership in web.config. However I donno why it doesn't work.

Let's please share our findings here.

jlrolin Offline
#4 Posted : Saturday, April 05, 2008 9:49:12 PM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I don't even need to integrate the membership. I'll have the forums run on their own model, and then later on, I'm creating some custom applications to just pull from the same database.
Jaben Offline
#5 Posted : Sunday, April 06, 2008 7:10:40 AM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
You aren't very specific about your problems, jlrolin. If you honestly seek help instead of just venting, you'll provide some details of the error you are receiving and give some details about the layout of your web site.

And you say the documentation is horrible? Fine... How about some help and fix it? I work for a living. Everyone always acts like it's someone elses problem -- that way there is no community and it's "no ones" problem. YAF is a "community" of 3 helpers who also work full time for a living and try to have lives. Few people offer much back to this project. 90% is just take, take, take. But yes, the documenation needs work. But very few has helped with the wiki since it was created... How many use YAF? There are hundreds and hundreds of YAF installations.

Show YAF some more support people.

And money isn't the answer... Time/energy is what this project needs. It's worth more than your $15 dollars.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Kaan1983 Offline
#6 Posted : Sunday, April 06, 2008 2:40:43 PM(UTC)
Rank: Advanced Member

Joined: 7/25/2007(UTC)
Posts: 69
Location: Türkiye

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Speaking for my self. I've tried to integrate YAF 15th time and I just can't get it work. But if I can work around then for sure I'll write a wiki so that the others won't spend 3 weeks. The reason I'm insisting on YAF is because it's simply the best.
I've posted the error I'm getting a several times and it seems like the error is not a commun one so I have to work around my self. Therefore I'd like to ask two things:
1- Is it possible to bypass YAF membership totally and assign existing aspnet membership?
2- Is it possible to use only the YAF controls.

If I can use YAF controls only, then I'll probably get some NULL assignement problems for user infos which afterwards I can assign with some codings.

Thanks.
Jaben Offline
#7 Posted : Sunday, April 06, 2008 4:04:12 PM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
1. Yes. You do not have to use YAF membership.
2. Only the YAF controls... I don't follow.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Kaan1983 Offline
#8 Posted : Sunday, April 06, 2008 7:49:17 PM(UTC)
Rank: Advanced Member

Joined: 7/25/2007(UTC)
Posts: 69
Location: Türkiye

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
So how is 1 possible? I tried to do it but installation failed
For 2nd though I mean I will create a new page and drag and drop the YAF forum control, and feed the needed parameters then it works. Is it possible?
jlrolin Offline
#9 Posted : Sunday, April 06, 2008 10:05:26 PM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I will post a detailed reply with my problems as I'm going to clean install once again this evening. Basically, I went through the process and was receiving errors that are likely to be because of IIS settings or I'm putting something where it shouldn't be. I'm at work currently, but I'll get on that when I try to re-install.

I'm not here to criticize the documentation or say that you guys aren't doing your best, but as a person who believes in good documentation when it comes to open source projects, the many problems that can occur should be documented well in the Wiki. If I can actually get this to work correctly in BlogEngine.NET, I will, by all means, create a document outlining the process. I'm also willing to contribute to the project as I have a number of ideas for it, but I'll develop those on my own time and submit for your thoughts.

I imagine the 1.9.3 version may help my problems, so I may try to grab the code to compile, but I'll try once again in installing via the Wiki document. I'll post my errors tonight. Thank you for the reply, Jaben.
jlrolin Offline
#10 Posted : Monday, April 07, 2008 1:32:18 PM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Ok, here we go. I've gotten to the point in which I have the Yaf:Forum as a control in a forum.aspx page that has a master page. Here's my error:

Demigod Offline
#11 Posted : Monday, April 07, 2008 2:15:44 PM(UTC)
Rank: Advanced Member

Joined: 4/2/2007(UTC)
Posts: 46
Location: Spokane, WA

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
jlrolin: Bad image link.
jlrolin Offline
#12 Posted : Monday, April 07, 2008 10:33:35 PM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Ok, updated... check it out now.
Jaben Offline
#13 Posted : Tuesday, April 08, 2008 5:39:13 PM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
You setup custom user proxy class setting in the yafnet.onfig? Please post your yafnet.config settings (minus database).

Also, please post your YAF User Proxy Class code.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

jlrolin Offline
#14 Posted : Thursday, April 10, 2008 10:49:00 AM(UTC)
Rank: YAF Forumling

Joined: 4/5/2008(UTC)
Posts: 8

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Code:

<yafnet>
    <uploaddir>~/upload/</uploaddir>
    <boardid>1</boardid>
  <root>/BlogEngine.Web/forums</root>
    <!-- Enable URL Rewriting -->
    <enableurlrewriting>false</enableurlrewriting>
    <!--logtomail>email=;server=;user=;pass=;</logtomail-->
    <!--categoryid>1</categoryid-->
    <!-- Enable these to use a custom user class "provider" -->
    <!--CustomUserAssembly>TinyGecko.YAFIntegration.dll</CustomUserAssembly>
    <CustomUserClass>TinyGecko.YAFIntegration.yafUserClass</CustomUserClass-->
</yafnet>


And what is the name of the User Proxy Class? Or where can I find the code?
Jaben Offline
#15 Posted : Thursday, April 10, 2008 11:29:15 AM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
You have to make the user proxy class.

Take a look at these threads:

http://forum.yetanotherf...id-I-do-this-right.aspx
http://forum.yetanotherf...ount-for-the-forums.aspx
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.259 seconds.