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

12 Pages<12345>»
YAF v1.9.3.3 ALPHA (UPDATED: 2/6/2008)
wesclyburn Offline
#31 Posted : Sunday, December 30, 2007 2:59:59 AM(UTC)
Rank: Advanced Member

Joined: 9/24/2004(UTC)
Posts: 40

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
LOL, if you're suggesting I use Google to find instances of people who don't know how to do something, I'll be here all day. Try "I can't connect to SQL Server" or "I can't put on my own pants".

I know there are pros and cons for both methods. There are also many benefits to WSPs, even for real-life, professional, high-impact web apps. And 8 out of 10 of the issues people raise with WSPs are due to a cronic unfamiliarity with aspnet_compiler.exe .

I'm using YAF in two projects now, which are WAPs. I don't want YAF to be the application. I want YAF to be a set of controls that I plop into my application (which can be a WAP if I choose, or not). YAF's current packaging makes this easy. I have its core assemblies, and I have the UI, which I can customize or throw out altogether if I wish. When I build my application into a WAP, YAF's pages are included in the build just like my own pages. YAF becomes part of my WAP.

There's no "migrating to a WAP" involved at all; just a ./forum/ directory in my app containing YAF's UI-- no different from any of the other files I'm building.

The key thing is that those who want YAF to be a WAP can build it that way right now. 100% of users can use it. If Jaben changes to a WAP model, then 40% of users can use it. Migrating from a WAP to a WSP is much more difficult.
testero Offline
#32 Posted : Sunday, December 30, 2007 5:17:17 PM(UTC)
Rank: Advanced Member

Joined: 12/5/2007(UTC)
Posts: 43
Location: ksa

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I have version 1.9.1.6.

Can i upgrade it to 1.9.3 Immediately?

No need to upgrade to version 1.9.1.7 and 1.9.2 and .....?

Thank you guys for good staff
Mek Offline
#33 Posted : Sunday, December 30, 2007 7:15:23 PM(UTC)


Rank: YAF Developer

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: 7/12/2005(UTC)
Posts: 1,899
Location: on Dock Street

Thanks: 2 times
Was thanked: 9 time(s) in 9 post(s)
You can upgrade directly from 1.9.1.6, remember to backup before you do.
Also remember its not a final release, so not meant for production environemnts.


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
JohnnySlotCar Offline
#34 Posted : Monday, December 31, 2007 8:45:50 AM(UTC)
Rank: YAF Forumling

Joined: 7/16/2007(UTC)
Posts: 4

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I hope I don't get myself in trouble here...

I'm VERY excited about your project and looking forward to integrating YAF into some of my other .NET membership projects; what I'm wondering is how difficult it would be for me to adapt other providers - specifically Screwturn's wiki and it's member model.

Screwturn has already stated that they won't be supporting the ASPNETDB, and I know you folks use their wiki here. Has anyone on the YAF dev team looked under the hood at the wiki model? If so, any opinion on how difficult an integration would be for an intermediate level hack (like me!)??

...or am I totally off my rocker on this one?

Thanks in advance!
Ederon Offline
#35 Posted : Monday, December 31, 2007 10:05:48 AM(UTC)


Rank: YAF Developer

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 Knight: Given to a community member who has answered lots of support questions.

Joined: 1/7/2007(UTC)
Posts: 1,209
Location: Heart of Europe

Thanks: 1 times
Was thanked: 10 time(s) in 8 post(s)
JohnnySlotCar wrote:
...or am I totally off my rocker on this one?

Screwturn Wiki uses her own provider model. I've made my custom Screwturn Wiki user provider, it just calls membership provider configured for ASP.NET application. If you are interested in trying it or helping with it, just PM me and we'll get in touch.

Short answer - it's easy to integrate ASP.NET provider model with SC Wiki one. It's matter of few dozens lines of code.
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
Vamshi Offline
#36 Posted : Tuesday, January 01, 2008 9:42:56 PM(UTC)
Rank: YAF Forumling

Joined: 11/28/2007(UTC)
Posts: 4
Location: Seattle

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thanks for putting 1.9.3 out there. I have been waiting!

How do you merge the ASP Profile that I already have with the YAF profile? I didn't merge anything relating to Profiles from development.config. I get an exception in YAF.Classes.Utils.YafContext:GetProfile function - can't cast ProfileCommon to YafUserProfile.

Here is a simple bug I think -

YAF.Classes.Utils.YafContext:ForumRoot function (line 786-789 context.cs). I can't see how if ( path.StartsWith( "~" ) ) will never get executed after the line at 786 which is if ( path [0] != '/' ) path = path.Insert( 0, "/" );. Also, I had to change 785 to path += YAF.Classes.Config.Root; to get my installation going.

I'm on VS2008 and .NET 3.5. And it works mostly. I have a couple of issues like the Forums not showing under a category. I will send back any bugs I find/fix.
ashokt4 Offline
#37 Posted : Tuesday, January 01, 2008 9:46:25 PM(UTC)
Rank: YAF Forumling

Joined: 12/3/2007(UTC)
Posts: 6
Location: hyderabad

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

I downloaded YAF v1.9.3 ALPHA (Dated 12/22/2007) which is having Membership roles. It is working fine. I want to merge that into my application. In the previous YAF which does not have Membership worked fine after merging into my application when i modified the root in yafnet.config. But in the YAF v1.9.3 ALPHA it is not having yafnet.config.Can you plz tell me where to modify that.And can i merge YAF's web.config file to my applications web.config file as one application should have only one web.config file.

Thanks

Ederon Offline
#38 Posted : Tuesday, January 01, 2008 11:40:43 PM(UTC)


Rank: YAF Developer

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 Knight: Given to a community member who has answered lots of support questions.

Joined: 1/7/2007(UTC)
Posts: 1,209
Location: Heart of Europe

Thanks: 1 times
Was thanked: 10 time(s) in 8 post(s)
@ashokt4 - root tag is now in app.config IIRC
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
book_man25 Offline
#39 Posted : Wednesday, January 02, 2008 1:11:01 AM(UTC)
Rank: Member

Joined: 6/5/2007(UTC)
Posts: 21

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I have a problem when trying to add yaf to an existing website with already created membership and roles. I'm not exactly sure how to do it but what I've tried to do is add the yaf roles, membership, and profile to the exisiting web.config file. Everything works fine until I try to migrate existing users over to yaf. I then receive the following error. This is from the install process and the user doesn't exist until I add him as the admin user on the previous step. Any ideas what I might be doing wrong?


The user 'bryan' is already in role 'Administrators'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Provider.ProviderException: The user 'bryan' is already in role 'Administrators'.

Source Error:

Line 190: {
Line 191: RoleMembershipHelper.SyncRoles( PageBoardID );
Line 192: RoleMembershipHelper.SyncUsers( PageBoardID );
Line 193: }
Line 194: e.Cancel = false;


Source File: d:\wwwroot\aamro\site\forums\install\default.aspx.cs Line: 192

Stack Trace:

[ProviderException: The user 'bryan' is already in role 'Administrators'.]
System.Web.Security.SqlRoleProvider.AddUsersToRolesCore(SqlConnection conn, String usernames, String roleNames) +2238010
System.Web.Security.SqlRoleProvider.AddUsersToRoles(String[] usernames, String[] roleNames) +705
System.Web.Security.Roles.AddUserToRole(String username, String roleName) +341
YAF.Classes.Utils.RoleMembershipHelper.MigrateUsersFromDT(Int32 pageBoardID, Boolean approved, DataTable dt) +3062
YAF.Classes.Utils.RoleMembershipHelper.SyncUsers(Int32 pageBoardID) +254
YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) in d:\wwwroot\aamro\site\forums\install\default.aspx.cs:192
Ederon Offline
#40 Posted : Wednesday, January 02, 2008 1:40:46 AM(UTC)


Rank: YAF Developer

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 Knight: Given to a community member who has answered lots of support questions.

Joined: 1/7/2007(UTC)
Posts: 1,209
Location: Heart of Europe

Thanks: 1 times
Was thanked: 10 time(s) in 8 post(s)
@book_ma25 - look at this topic, I think it dicusses your issue. It's fixed in SVN, but I'm not sure whether it is already in latest distribution. But it's really minor change, so you might be able to apply it yourself.
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
book_man25 Offline
#41 Posted : Wednesday, January 02, 2008 4:01:51 AM(UTC)
Rank: Member

Joined: 6/5/2007(UTC)
Posts: 21

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Actually it's not a problem with the roles but rather the users. I thought it might have something to do with having multiple roles, membership, and profiles in my web.config. It seems like it's trying to add the user multiple times to the role.
ashokt4 Offline
#42 Posted : Wednesday, January 02, 2008 3:26:38 PM(UTC)
Rank: YAF Forumling

Joined: 12/3/2007(UTC)
Posts: 6
Location: hyderabad

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
But in app.config file it is not accepting <root>.Can u please help me.

<appSettings>
<add key="BoardID" value="1" />
<add key="EnableURLRewriting" value="false" />
<add key="databaseObjectQualifier" value="yaf_" />
<add key="databaseOwner" value="dbo" />
<add key="providerExceptionXML" value="ProviderExceptions.xml" />
<add key="UploadDir" value="~/upload/" />
<add key="configPassword" value="3839D765AC616C5C571CA0D13671BA3C" />
</appSettings>

Where to keep that root.

Thank you
Jaben Offline
#43 Posted : Wednesday, January 02, 2008 4:05:20 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)
<appSettings>
<add key="BoardID" value="1" />
<add key="EnableURLRewriting" value="false" />
<add key="databaseObjectQualifier" value="yaf_" />
<add key="databaseOwner" value="dbo" />
<add key="providerExceptionXML" value="ProviderExceptions.xml" />
<add key="UploadDir" value="~/upload/" />
<add key="configPassword" value="3839D765AC616C5C571CA0D13671BA3C" />
<add key="root" value="~/forum" />
</appSettings>
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

karcom2007 Offline
#44 Posted : Wednesday, January 02, 2008 11:35:59 PM(UTC)
Rank: Member

Joined: 12/7/2007(UTC)
Posts: 12

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Quick question and hopefully it will help others.

I have an existing website (classic ASP) with a SQL Server DB backend for authentication. I have existing authentication sprocs and very specific user table (username/password).

To integrate YAF, will I need to build a custom Membership Provider with methods specific to what YAF might expect in a Membership Provider?

Thanks in advance for more information and direction.
Jaben Offline
#45 Posted : Thursday, January 03, 2008 6:25:12 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)
Yes, you'd need to write a custom membership provider. YAF will use any provide and has no specific method requirements.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Users browsing this topic
Guest
12 Pages<12345>»
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.486 seconds.