YAFLogo

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

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'..

Originally Posted by: brigzy 

Sometimes it deletes the referenced dlls in the bin folder because the reference folder is the same as the output folder.

You need to restore the nstuff.updatecontrols.dll from the download packages.

brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
12 years ago
Yep that helped, thank you

Now just have this error:

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

Error 106 'YAF.Utilities.JavaScriptBlocks' does not contain a definition for 'asynchCallFailedJs' D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6.1-RTW-SRC\YetAnotherForum.NET\controls\AlbumImageList.ascx.cs 164 50 YAF

I checked the source file though and the declarion is there ok:-


  /// <summary>
        ///  Gets the If asynchronous callback encounters any problem, this javascript function will be called.
        /// </summary>
        [NotNull]
        public static string AsynchCallFailedJs
        {
            get
            {
                return "function CallFailed(res){{alert('Error Occurred');}}";
            }
        }

UserPostedImage New Network Edition V2.8 - Released Dec 2013 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
Simply change the call in the albumlist.ascx.cs file to Async ... It is case sensitive.
brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
12 years ago
So close!

I could do with making the Facebook button a bit bigger / aligning - see image:

UserPostedImage

http://leansoftware.net/forum/images/login.png 

Could anyone try the Twiter sign up for me ?

(I only have one Twitter account (@lean_software) and the authorisation fails when I try to sign on with that account)

Thanks so very much


UserPostedImage New Network Edition V2.8 - Released Dec 2013 
brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
12 years ago
Couple of questions:

How to modify the confrmation email content?

How to change things so that only very basic information (name & email) is requested from FB?

Many thanks


UserPostedImage New Network Edition V2.8 - Released Dec 2013 
brigzy
  • brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
12 years ago

Couple of questions:

How to modify the confrmation email content?

How to change things so that only very basic information (name & email) is requested from FB?

Many thanks

Originally Posted by: brigzy 

Worked the answer to second question -

I changed the scope in LoginBox.asc to email only:


 <div class="fb-login-button" data-onlogin="LoginUser()" 
                                         data-scope="email">

UserPostedImage New Network Edition V2.8 - Released Dec 2013 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
All Email Templates are stored in the language files, the Facebook Registration Email

<Resource tag="NOTIFICATION_ON_FACEBOOK_REGISTER">
      Hello {user}.

      You have been successfully Registred on the {forumname} forum thru Facebook:

      User Name: {user}
	  Auto Generated Password: {pass}
	  Auto Generated Security Answer: {answer}
      User Email: {email} (Please dont change your email, or you are unable to login with facebook)
	  
    </Resource>

Before you ask there are no additional tokens available