brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-06T12:22:36Z
Trying to allow login with facebook.

When you click login though .. the 'Login with facebook' just shows as text rather than being a button.

Any clues?


Sponsor
tha_watcha
2012-07-06T13:52:05Z
Originally Posted by: brigzy 

Trying to allow login with facebook.

When you click login though .. the 'Login with facebook' just shows as text rather than being a button.

Any clues?



Are there any js error, it works for me on your site (Tested with IE9, Chrome and firefox)

UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-06T14:54:20Z
Oh thats odd .. this is what I see ..
face

or if that preview is small try :
http://leansoftware.net/forum/images/badface.png 

I get this with IE8 and IE9 but not with google chrome.

With Google Chrome the button renders ok, but when you click on it box pops up that disapears again and takes me back to the login popup.

Thanks for your help yesterday
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-06T14:55:55Z
tha_watcha
2012-07-07T18:03:00Z
Originally Posted by: brigzy 

Oh thats odd .. this is what I see ..
face

or if that preview is small try :
http://leansoftware.net/forum/images/badface.png 

I get this with IE8 and IE9 but not with google chrome.

With Google Chrome the button renders ok, but when you click on it box pops up that disapears again and takes me back to the login popup.

Thanks for your help yesterday



It looks like that in some cases the async loading doesn't work. I tweaked the code a bit, looks like it works now in all browsers.

If you want to update your forum you need to recompile the source code, the updated files can be found here:

http://yafnet.codeplex.c...set/changes/7fc5abe3bb46 
UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T07:49:30Z
Hi there,

thanks for this ...

trying rebuild but I have an error just a at the moment:

Error 185 'YAF.Utilities.JavaScriptBlocks' does not contain a definition for 'asynchCallFailedJs' D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\controls\AlbumList.ascx.cs 134 50 YAF

code:
YafContext.Current.PageElements.RegisterJsBlockStartup(
"asynchCallFailedJs", JavaScriptBlocks.asynchCallFailedJs);

The source I have is titled 'YEF-v1.9.6-RC1-SRC' + the file changes from CodePlex.

I am wondering if I need a later build or if I have something else wrong..

Richard
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T08:04:25Z
Originally Posted by: brigzy 

Hi there,

thanks for this ...

trying rebuild but I have an error just a at the moment:

Error 185 'YAF.Utilities.JavaScriptBlocks' does not contain a definition for 'asynchCallFailedJs' D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\controls\AlbumList.ascx.cs 134 50 YAF

code:
YafContext.Current.PageElements.RegisterJsBlockStartup(
"asynchCallFailedJs", JavaScriptBlocks.asynchCallFailedJs);

The source I have is titled 'YEF-v1.9.6-RC1-SRC' + the file changes from CodePlex.

I am wondering if I need a later build or if I have something else wrong..

Richard



Ignore that, I did not copy the JavaScriptBlocks correctly.

I have a few errors this time (visual studio 2008) :oops:


Error 28 The type or namespace name 'Module' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\UtilitiesModule.cs 35 34 YAF.Utils
Error 5 The type or namespace name 'IRegistrationBuilder' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\Extensions\IRegistrationBuilderExtension.cs 51 19 YAF.Utils
Error 6 The type or namespace name 'IRegistrationBuilder' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\Extensions\IRegistrationBuilderExtension.cs 53 22 YAF.Utils
Error 29 The type or namespace name 'ContainerBuilder' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\UtilitiesModule.cs 45 44 YAF.Utils
Error 30 The type or namespace name 'ContainerBuilder' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\UtilitiesModule.cs 58 52 YAF.Utils
Error 4 The type or namespace name 'Autofac' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\Extensions\IRegistrationBuilderExtension.cs 23 9 YAF.Utils
Error 27 The type or namespace name 'Autofac' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YAF.Utils\UtilitiesModule.cs 25 9 YAF.Utils
Error 7 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Utils.dll' could not be found YAF.Classes.Data
Error 8 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Utils.dll' could not be found YAF.Core
Error 10 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Utils.dll' could not be found YAF.Controls
Error 13 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Utils.dll' could not be found YAF.Providers
Error 16 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Utils.dll' could not be found YAF
Error 18 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Providers.dll' could not be found YAF
Error 12 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Core.dll' could not be found YAF.Controls
Error 15 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Core.dll' could not be found YAF.Providers
Error 19 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Core.dll' could not be found YAF
Error 20 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Controls.dll' could not be found YAF
Error 9 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Classes.Data.dll' could not be found YAF.Core
Error 11 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Classes.Data.dll' could not be found YAF.Controls
Error 14 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Classes.Data.dll' could not be found YAF.Providers
Error 17 Metadata file 'D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6-RC1-SRC\YetAnotherForum.NET\Bin\YAF.Classes.Data.dll' could not be found YAF

tha_watcha
2012-07-09T09:21:07Z
This version is not compatible with vs 2008, you need vs 2010 or newer to compile.

But it looks like that the autofac.dll is missing in the bin folder.
UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T10:01:39Z
Ah ..

my mistake I think should have been using source YAF-v1.9.6.1-RTW-SRC (I was using YAF-v1.9.6-RC1-SRC).

Has built OK now (vs 2010) with warning but no errors.

I guess I just need to copy all the contents of the Bin folder, plus the modified ascx files to the production site?

Thank you
tha_watcha
2012-07-09T10:20:03Z
Originally Posted by: brigzy 


I guess I just need to copy all the contents of the Bin folder, plus the modified ascx files to the production site?




Yes correct, and make backup of the existing files if something goes wrong.

UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T11:26:37Z
Ok that is looking better, thank you.

I think now I just need to undertand a bit more...

I am trying to login as a new unregistered user with my email @ntlworld.com'.
I have used this email before for testing , but it is not currently in the table YAF_users.

When I try login with FB (when allready logged into FB) it sais 'The Facebook User ID does not match!'.

Does this happen for you too?

I am wondering if the email is stored somewhere else other than YAF_users.

Allmost there!

Thank you
tha_watcha
2012-07-09T12:20:05Z
Originally Posted by: brigzy 

Ok that is looking better, thank you.

I think now I just need to undertand a bit more...

I am trying to login as a new unregistered user with my email 'brigzy@ntlworld.com'.
I have used this email before for testing , but it is not currently in the table YAF_users.

When I try login with FB (when allready logged into FB) it sais 'The Facebook User ID does not match!'.

Does this happen for you too?

I am wondering if the email is stored somewhere else other than YAF_users.

Allmost there!

Thank you




It that message comes up the email is found in the membership! The yaf_users table is not the problem in that case. The membership user with the email is stored in the yaf_prov_Membership table.


UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T12:31:37Z
Oh wow it works!

that is brilliant - instant registration!

Now I need to do the same with Twitter - I believe it is possible?

Thankyou

tha_watcha
2012-07-09T12:33:53Z
Originally Posted by: brigzy 

Oh wow it works!

that is brilliant - instant registration!

Now I need to do the same with Twitter - I believe it is possible?

Thankyou



Sure it's possible :cheesy:


http://yafnet.codeplex.c...rringTitle=Documentation 
UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T13:07:10Z

Thanks for the Twitter link.

Just realised have built in debug mode ..

Tried to rebuild in Release mode but have these errors ..


Error 196 The type or namespace name 'nStuff' could not be found in the global namespace (are you missing an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6.1-RTW-SRC\YetAnotherForum.NET\pages\search.ascx.designer.cs 31 27 YAF
Error 197 The type or namespace name 'nStuff' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6.1-RTW-SRC\YetAnotherForum.NET\pages\search.ascx.cs 34 11 YAF
Error 198 The type or namespace name 'HistoryEventArgs' could not be found (are you missing a using directive or an assembly reference?) D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6.1-RTW-SRC\YetAnotherForum.NET\pages\search.ascx.cs 355 83 YAF

Not sure why though as it built fine before..
I have been using 'Rebuild solution'..

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