YAFLogo

azarbara
  • azarbara
  • 86% (Honored)
  • YAF Lover Topic Starter
9 years ago
Hi

i use dnn7.1.2 and yaf 2.0. i have some problem and some question:

1- in dnnyaf version 2 you integrate yaf and dnn profile. but when i click in "myprofile" all of the dnn profile items doesn't show.

2- when calendar is farsi the related time show 621 years ago! and it is unusable.

3- in the user profile page above Tabs there is a button called "admin user" what is this button? when i click it receive the following error

Failed to compare two elements in the array.
4- can we send celebrate message to user's in their birthday?


Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 years ago
Originally Posted by: azarbara 

Hi

i use dnn7.1.2 and yaf 2.0. i have some problem and some question:

1- in dnnyaf version 2 you integrate yaf and dnn profile. but when i click in "myprofile" all of the dnn profile items doesn't show.

2- when calendar is farsi the related time show 621 years ago! and it is unusable.

3- in the user profile page above Tabs there is a button called "admin user" what is this button? when i click it receive the following error

Failed to compare two elements in the array.
4- can we send celebrate message to user's in their birthday?

1. That is normal only the fields that exists in both dnn and yaf can be synced to yaf.

3. Can you post the full error from the event log.

4. No

azarbara
  • azarbara
  • 86% (Honored)
  • YAF Lover Topic Starter
9 years ago
the full error from log:


AssemblyVersion:7.1.2
PortalID:0
PortalName:رایشمند
UserID:1
UserName:azarbara
ActiveTabID:90
ActiveTabName:انجمن
RawURL:/FORUM/g/admin_edituser/u/8/رایشمند
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://rayeshmand/FORUM/g/profile/u/8/sector
UserAgent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.39 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:4c2bed82-19fc-41d4-b3c7-1c6472840413
InnerException:Failed to compare two elements in the array.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Number.StringToNumber
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Failed to compare two elements in the array. ---> System.InvalidOperationException: Failed to compare two elements in the array. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Convert.ToDecimal(String value)
   at YAF.Core.ResourcesExtensions.GetHoursOffset(LanuageResourcesPageResource lanuageResource)
   at YAF.Core.YafLanguageNodeComparer.Compare(LanuageResourcesPageResource x, LanuageResourcesPageResource y)
   at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)
   at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
   at YAF.Core.StaticDataHelper.TimeZones(ILocalization localization)
   at YAF.Controls.EditUsersProfile.BindData()
   at YAF.Controls.EditUsersProfile.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
Source:
نام سرور : HP

azarbara
  • azarbara
  • 86% (Honored)
  • YAF Lover Topic Starter
9 years ago
i add some other items to dnn profile like: age, university, degree

can i show the items in yaf profile?