Git Product home page Git Product logo

yafnet-dnn's Introduction

YAFLogo

YetAnotherForum.NET (YAF.NET) ASP.NET Open Source Forum solution! The YAF.NET project is an international collaboration of like-minded, skilled, and creative individuals who are striving to make YAF.NET the most robust and malleable forum solutions available.

Quality Gate Status

license

build status

build status

Documentation

We have a preliminary documentation on the Github Wiki page

Prerequisites:

  • ASP.NET .NET Framework 4.8.1 (YAF v3.2.x)
  • ASP.NET Core 8.0 (YAF v4.x)
  • BuildPackages requires .NET v8

Source

Building the Source

Installation & Upgrade

  1. New Installation
  2. Upgrade an Existing YAF.NET Installation

DNN Module

YAF v3.x.x is also available as a DNN Module, you can download it on the GitHub Project Page

Screen Shots

mainscreen

forumsscreen

topicsscreen

Admin Control Panel adminpanel

Community Support Forum

See a real live YAF Forum by visiting the YetAnotherForum.NET community support forum: https://yetanotherforum.net/Forums. Also, get your questions answered by the YAF community.

License

Yet Another Forum.NET is licensed under the Apache 2.0 license.

Yet Another Forum Community Support

If you have any questions, please visit the YAF Community Support forum: https://yetanotherforum.net/Forums, or visit the Wiki for More Informations.

yafnet-dnn's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yafnet-dnn's Issues

What's New Module Error

Error: YAF What's New is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot insert the value NULL into column 'RankID', table 'dbo.yaf_User'; column does not allow nulls. INSERT fails. The statement has been terminated. ---> System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'RankID', table 'FY-DB-PRO.dbo.yaf_User'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at YAF.Core.Data.DbAccessBase.Execute[T](Func2 execFunc, IDbCommand cmd, IDbTransaction dbTransaction) at YAF.Classes.Data.LegacyDb.user_save(Object userID, Object boardID, Object userName, Object displayName, Object email, Object timeZone, Object languageFile, Object culture, Object themeFile, Object textEditor, Object useMobileTheme, Object approved, Object pmNotification, Object autoWatchTopics, Object dSTUser, Object hideUser, Object notificationType) at YAF.DotNetNuke.Components.Utils.UserImporter.CreateYafUser(UserInfo dnnUserInfo, MembershipUser dnnUser, Int32 boardID, Int32 portalID, YafBoardSettings boardSettings) at YAF.DotNetNuke.YafDnnWhatsNew.GetYafUserId() at YAF.DotNetNuke.YafDnnWhatsNew.BindData() --- End of inner exception stack trace ---

Runtime Error (YAF_DNN_2.30.0-35903/DNN9.4.4)

Steps to repro: (WIN 2016, SQL 2014, ASP.net 4.8)

Step 1:
New Install DNN 9.4.4
Install Bootstrap 4 Theme
Install YAF YAF_DNN_2.24.2-05828
Upgrade YAF_DNN_2.30.0-35903
> Runtime Error

Step 2:
New Install DNN 9.4.4
Install Bootstrap 4 Theme
Install YAF YAF_DNN_2.30.0-35903
> Runtime Error

--------Runtime Error-----
Event code: 3005
Event message: Es ist eine unbehandelte Ausnahme aufgetreten.
Event time: 27.12.2019 13:08:07
Event time (UTC): 27.12.2019 12:08:07
Event ID: c0d0d9953d2843d3af681b654768be6f
Event sequence: 2
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/5/ROOT-11-132219220850488518
Trust level: Full
Application Virtual Path: /
Application Path: D:\WEB\xy\
Machine name: VPSxy

Process information:
Process ID: 10116
Process name: w3wp.exe
Account name: IIS APPPOOL\xy

Exception information:
Exception type: TypeInitializationException
Exception message: Der Typeninitialisierer für "YAF.Core.GlobalContainer" hat eine Ausnahme verursacht.
bei YAF.Core.YafTaskModule.Init(HttpApplication httpApplication)
bei System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
bei System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
bei System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
bei System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Die Datei oder Assembly "System.Web.Http.WebHost, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
bei System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
bei System.Reflection.RuntimeAssembly.GetExportedTypes()
bei YAF.Core.Extensions.AssemblyExtensions.<>c__DisplayClass0_01.<FindClassesWithAttribute>b__0(Assembly a) bei System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
bei System.Collections.Generic.List1..ctor(IEnumerable1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) bei YAF.Types.Extensions.EnumerableExtensions.ForEach[T](IEnumerable1 list, Action1 action) bei YAF.Core.Extensions.AssemblyExtensions.FindClassesWithAttribute[T](IEnumerable1 assemblies)
bei YAF.Core.Modules.DynamicServicesModule.RegisterDynamicServices(Assembly[] assemblies)
bei YAF.Core.Modules.DynamicServicesModule.Load(ContainerBuilder containerBuilder)
bei YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry)
bei Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)
bei YAF.Core.Extensions.IHaveComponentRegistryExtensions.UpdateRegistry(IHaveComponentRegistry haveComponentRegistry, ContainerBuilder containerBuilder)
bei YAF.Core.Modules.BootstrapModule.Load(ContainerBuilder builder)
bei YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry)
bei Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)
bei Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
bei YAF.Core.GlobalContainer..cctor()

Request information:
Request URL: http://www.xyz.xyz/DesktopModules/YetAnotherForumDotNet/install/
Request path: /DesktopModules/YetAnotherForumDotNet/install/
User host address: XXXX.XXX.XXX.XXX
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\xy

Thread information:
Thread ID: 47
Thread account name: IIS APPPOOL\xy
Is impersonating: False
Stack trace: bei YAF.Core.YafTaskModule.Init(HttpApplication httpApplication)
bei System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
bei System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
bei System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
bei System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Custom event details:

hover card issue

there is an issue in hover card, after hover in name the following message displayed.
"SyntaxError: Unexpected token < in JSON at position 0"
image


here is firebug's Console Params:
boardId
1
forumUrl
http://miralavi.com/پشتیبانی/انجمن-های-گفتگو
type
json
userinfo
2


the site language is Persian,
DNN 7.4.2
YAF2.23.0-5742 (there was some problem in 2.2.2 version (2.22.0-5731)).

v2.2.4.5-5810 - YAF "Guest" account time-zone

Upgraded from v2.2.4.4-5809.

Noticed Guest account was showing times as GMT again. Checked the account settings and found that the timezone had been changed to (UTC-12:00) International Date Line West.

When I try to change the timezone back to (UTC-05:00) Eastern Time (US & Canada) and save, I get an error on the page; "A critical error has occurred. Please check the Event Viewer for further details."

The event logs shows the following entry:

AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:23c40654-f681-4908-b390-b6f0858d8f4f
AssemblyVersion:9.1.1
PortalId:0
UserId:1
TabId:71
RawUrl:/Forum/g/admin_edituser/u/1
Referrer:http://%forumwebsite%/Forum/g/admin_edituser/u/1
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 OPR/49.0.2725.39
ExceptionHash:vzm2oQG7/qJ6mWEyngHKWc9Thpk=
Message:Input string was not in a correct format.
StackTrace:
InnerMessage:Input string was not in a correct format.
InnerStackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.String.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at YAF.Types.Extensions.ObjectExtensions.ToType[T](Object instance) at YAF.Controls.EditUsersProfile.UpdateProfile_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: DNNDevBox

DNN Super Users - Not added to YAF "Administrator" Role

Portal Administrators are automatically added to the "Administrator" security role, but any SuperUser account is not.

Seems like they have the ability to change the settings and add themselves to the Administrators role though. It just isn't automatically added during the installation of the YAF module. Nothing major.

Thank you..

DNN 9.1.1 - Fresh YAF installation (YAF_DNN_2.24.3-5804) - Runtime Error

System reports that the installation completed successfully. After page refresh, get a runtime error:

Could not load file or assembly 'DotNetNuke, Version=8.0.0.809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
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.IO.FileLoadException: Could not load file or assembly 'DotNetNuke, Version=8.0.0.809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[FileLoadException: Could not load file or assembly 'DotNetNuke, Version=8.0.0.809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +95
System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +53
System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +44
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +61
DotNetNuke.ComponentModel.ProviderInstaller.InstallProvider(IContainer container, Provider provider) +94
DotNetNuke.ComponentModel.ProviderInstaller.InstallComponents(IContainer container) +260
DotNetNuke.ComponentModel.ComponentFactory.InstallComponents(IComponentInstaller[] installers) +70
DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object sender, EventArgs eventArgs) +2129

[HttpException (0x80004005): Could not load file or assembly 'DotNetNuke, Version=8.0.0.809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +529
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +169
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +396
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +333

[HttpException (0x80004005): Could not load file or assembly 'DotNetNuke, Version=8.0.0.809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0

Cannot insert the value NULL into column 'RankID',

Most things seem to work in the newest version but inserting a "Whats New" module to a page renders the yellow page

I am running YetAnotherForum.NET version 2.2.4.9 (Date: 29-03-2018).
The latest final version available is 2.2.4.9 released 29-03-2018.

I have read the forums and have checked that member is set to IsStart.

"The error occurs because there is no Rank found in your board which has the flag IsStart set. Check your Ranks and make sure that one Rank has that flag set."

Input string was not in a correct format

I have Yaf forum installed on a 7.3.0 DNN, i have 2 portals with different language.
the main portal in english is working fine but the other portal in arabic it has a broken link whenever you open "My Topics" link.
installed version is YAF_DNN_2.12.0-5505

Error details.

PortalID:3
UserID:20
UserName:host
ActiveTabID:401
RawURL:/forum/g/mytopics/Default
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://www.********.com/forum/g/admin_hostsettings/Default
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:65d52349-ef49-4190-ab31-200fff216e78
InnerException:Input string was not in a correct format.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Text.StringBuilder.AppendFormat
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at YAF.Core.Services.Localization.YafLocalization.GetTextFormatted(String text, Object[] args)
at YAF.Controls.MyTopicsList.InitSinceDropdown()
at YAF.Controls.MyTopicsList.Page_Load(Object sender, 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---

DNN 9.1.1 - YAF-2.24-3-5807

Top menu bar area (where it shows logged in as, my profile, etc.), the "Forum" link enters the page name twice in the URL.

E.g. http://testwebsite/YAF-ForumYAF-Forum

So when you click on this link, it causes a 404 error.

This also occurs during the installation of the extension. After getting to the "CREATE, SELECT OR IMPORT A BOARD..." and "OTHER SETTINGS..." information area, and click on the UPDATE button, you're re-directed to http://testwebsite/YAF-ForumYAF-Forum and thus get a 404 error.

If there are any other areas, I'll update this. Thank you..

yaf remove scripts

in yaf when add a mathamatic formula with Mathjax extension the the following script was removed.

script type="text/javascript" src="//cdn.mathjax.org/mathjax/2.2-latest/MathJax.js?config=TeX-AMS_HTML"></script

so the formulas dont show correctly to users.
please figure out this problem.

YAF-DNN - Feature Request Remote URL for Forum

Hello..
We are using this to link to a file locally stored on the server.

Maybe adding a browse button to this (or add another line to link to local file) so people can browse the portal folder structure and select the file to be used.

But too, this adds another issue in that this would need to be stored as a relative URL so moving to another server (development to live) won't affect the forum.

Thank you for your time and attention.

DNN 9.2.0 Testing / Issues

Hello..
Have there been any issues noted with upgrading to DNN 9.2.0?

I saw Active Forums github had postings of issues with the upgrade because it used depreciated DLL's which were removed as part of the DNN 9.2.0 udpate.

Thanks..

Exception while in admin control panel breaks YAFNET DNN Module

Not sure how I managed this one (sorry people!)... but after an hour or so using the latest 2.0 release for DNN I get this exception; usually triggered when I try to look at "Board Settings" under "Admin".

DotNetNuke.Services.Exceptions.PageLoadException: String reference not set to an instance of a String.
Parameter name: name ---> System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: name
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at YAF.Core.Services.Localization.Localizer.InitCulture()
at YAF.Core.Services.Localization.YafLocalization.LoadTranslation(String fileName)
at YAF.Core.Services.Localization.YafLocalization.get_LanguageCode()
at YAF.Core.YafTheme.GetItem(String page, String tag, String defaultValue)
at YAF.Forum.GetPageSource()
at YAF.Forum.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---

yaf_Message - Message Column configured for ntext (being depreciated)

As per Microsoft, ntext is being depreciated, will be replaced in upcoming SQL versions and replaced with nvarchar(max).

https://docs.microsoft.com/en-us/sql/t-sql/data-types/ntext-text-and-image-transact-sql

I found that when within SQL management studio making changes to the table (nulling Edited date/time and EditReason), it was stating that my message was going to be truncated.

"No row was updated. The data in row 24 was not committed. Error Source: .Net SqlClient Data Provider. Error Message: String or binary data would be truncated. The statement has been terminated. Correct the errors and retry or press ESC to cancel the change(s)."

I changed changed this column to nvarchar(max) and when saved, it states the following tables need to be save to your database; yaf_User, yaf_Message, yaf_Topic, yaf_Forum and yaf_MessageHistory.

I went ahead and made the change, but didn't notice any issues and didn't have any further issues.

User Posts on DNN Profile

is there any way using Whats New Module to let the users see their forum posts on DNN profile ?

Thanks

Friend and Profile Sync

Is there anyway to integrate friends and profile to be the same as DNN friend list and profile information ? if not it would be an amazing enhancement to this module

Integrate DNN Security Roles with YAF User Roles

See if there's a way to integrate the DNN security roles of a user with those of the YAF user roles.

For example, registered a new user and within YAF, set them to be a forum advisor. But, still had to go into the DNN user settings and assign them to the forum advisor DNN security role so they get the proper access as well.

Thanks..

localize time ago js

Dear Ingo, Could you please help me to translate
<Resource tag="TIMEAGO_JS"> // defaults to english... no need for localization.</Resource>
i want to localize the relative time in my forum.
Regards

Redirection Loop

After upgrading to the newers Beta1 version iam facing a redirection loop errors on Arabic Forum with main forum topics that have spaces between words, i tried to change the rewrite mode to translit or utf-8 and didnt work i even changed the dnn redirect to put + or %20 instead of spaces and still having the same issue, any idea ?

it gives error unfriendly URL

Albums Not Displaying Images in Lightbox / Slideshow

Hello,

I'm having an issue with the Albums which are connected to a user profile page.

I've managed to upload some images, but when trying to load the lightbox, only the selected image loads in the pop-up:
prev

When you try to navigate to the "next" / "prev" images - A white area appears:
white

Is it possible to access this feature via the code - I've cloned the code to my PC and done a search through the files - But can't find a reference to "album" anywhere.

Please let me know where I'm going wrong.

Thanks in advance
-Andrew

JQueryUI conflict

1
as you know the DNN using JqueryUI files and now in the main forum page there is a jquryui.css conflict that shown in the below screenshot.
is it possible to use dnn hosted files instead of jqueryUI files in YAFNET-DNN?

YAF.NET - What's new module

Hello..
At the bottom of the "What's New" YAF.NET module, there's "1blabla" at the bottom of this after the message listing.

Found that the "YafDnnWhatsNew.ascx" file has "<asp:Label id="lInfo" runat="server"></asp:Label>" as it's last line. REMming this out resolves this, but removing this causes an error.

yaf whats new error

Dear Ingo,
I get the following error after add the whats new module to the page

خطا : جدیدترین ارسال‌های انجمن در حال حاضر در دسترس نیست DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at YAF.Core.ControlExtensions.HtmlEncode(Control currentControl, Object data) at YAF.DotNetNuke.YafDnnWhatsNew.ProcessItem(RepeaterItemEventArgs e) at YAF.DotNetNuke.YafDnnWhatsNew.LatestPostsItemDataBound(Object sender, RepeaterItemEventArgs e) at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at YAF.DotNetNuke.YafDnnWhatsNew.BindData() --- End of inner exception stack trace ---

yaf version: YAF_DNN_2.21.0-5714.zip

site redirect to local

i move the site from local to server no all of links redirect to local.
i changed the url mask to the live site domain in web.config and restart the app but the issue is remaining.
any idea please

there is invalid request

in Yaf.Whats New submodule when checked "Show Relative Time:" two invalid request for nonavailible file (/DesktopModules/YetAnotherForumDotNet/resources/js/jquery.timeago.js) send to server.
capture
please correct invalid request in next release.
thanks

there is some confusing js replace in theme

in the themes/Fancy/js/Fancy.js there is some confusing and mistake replace.
jQuery(".menuMyList .myProfile a").text("."), jQuery(".menuMyList .myPm a").text("%"), jQuery(".menuMyList .myBuddies a").text(","), jQuery(".menuMyList .myAlbums a").text("p"), jQuery(".menuMyList .myTopics a").text("9"), jQuery(".menuMyList .menuAccount a").text("E")
that cause mistake characters instead of texts
11
Please correct this replaces in project

YAF-DNN v2.2.4.5-5811 - Editing User Time-zone causes error

Hello..
I'm going through making sure the board admins are configured correctly and have found that the users Time Zones show up as UTC -12:00. I checked within the yaf_users table and for the TimeZone they all show -300.

If I try and change them within the User Profile, I get an error and below shows up within the DNN event log.

Thank you for your time and attention..

AbsoluteURL:/Default.aspx DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke ExceptionGUID:d411618b-d0db-4853-ab34-3c0f3d3c27d3 AssemblyVersion:9.1.1 PortalId:0 UserId:1 TabId:71 RawUrl:/Forum/g/admin_edituser/u/9 Referrer:http://YafForumTest/Forum/g/admin_edituser/u/9 UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 OPR/49.0.2725.47 ExceptionHash:HwjfICmuhRpejaCWaN5VnCtw++8= Message:Input string was not in a correct format. StackTrace: InnerMessage:Input string was not in a correct format. InnerStackTrace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.String.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at YAF.Types.Extensions.ObjectExtensions.ToType[T](Object instance) at YAF.Controls.EditUsersProfile.UpdateProfile_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Source: FileName: FileLineNumber:0 FileColumnNumber:0 Method: Server Name: DevServer

Installation error

When installing YAF_DNN_2.23.0-5743.zip on DNN 7.4.2, I am getting the following issue:
"Could not load file or assembly 'CookComputing.XmlRpcV2, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.".
CookComputing.XmlRpcV2.dll in bin folder is version 2.5.0.0

insert attachment error

after successfully added the attachment when the attachment inserted into text "[attach]1[/attach]" by clicking on file name, the below error has accord

InnerMessage:Column 'HasAttachments' does not belong to table Table.
InnerStackTrace:
at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRowExtensions.Field[T](DataRow row, String columnName)
at YAF.Types.Objects.TypedMessageList..ctor(DataRow row)
at YAF.Classes.Data.LegacyDb.b__b(DataRow t)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source)
at YAF.Core.Services.YafSendNotification.ToWatchingUsers(Int32 newMessageId)
at YAF.Pages.postmessage.PostReply_Click(Object sender, EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

however, after the go to post the file was added to post.
Also the attachment dialog doesn't close (or any action) after file upload, and for view the attached file the page should be refreshed!

DNN - Absolute URL's

Hello..
DNN allows for website aliases, thus allowing you to have a website respond to multiple url requests (with proper IIS bindings, etc).

I noticed the Avatar column for a user, is hard coded with the URL of the domain which the account was created, or copied over from when YAF-DNN was installed. For example, I'm working on a development box, so the Avatar of the user is hard-coded with the development's URL. When I move it to our live server, I'll need to update these locations with an update script to the live domain URL; not a problem, but others may not know how to fix.

If you could update the code which displays the Avatar and change it to a relative URL, this would fix the hard-coding of the Avatars. For example, "/Portals/0/Users/002/02/2/admin_photo.png?ver=2014-08-27-070025-283" would be fed to the code and the proper URL would be generated to display the avatar.

For example on a DNN skin we can enter, "Seal" and no matter what the URL is (whether development, live, etc.), the image will display properly and it's not hard-coded into the skin file.

Thank you for your time and attention..

YAF-DNN v2.2.4.5-5811 - User Avatars

Hello..
The user avatar URL's are configured as such and won't display properly; /Portals/0/Users/003/03/3/Avatar.jpg

If you click on the update button, the system doesn't enter the domain URL and just enters a "http://" at the beginning; http:///Portals/0/Users/003/03/3/Avatar.jpg

Manually putting in the domain allows the avatar to show up properly.

Thank you for your time and attention..

what's new issue

Ingo,
the what's news module don't show latest post to all user's and show only for registered users,
any help please,

an old issue, dnn and yaf profile integration

DNN7.4 & YAF2.2
there is two big issue in this release of YAF.
1- there is two profile page (YAF profile page and DNN profile page) that the users confused,
2- the DNN profile pic don't show up in YAF user profile,
i ran the Dnn User Importer in YAF but the problem dont resolved,
in the yaf_User table the Avatar filed has value "http://forum.ndsa.ir/LinkClick.aspx?fileticket=1JSZl_HFh1Q2IEJNK76iNERHMCVyFq6T2jb17oItw4jjg7HwCUuoIgpH0PcL5TLk"
but this URL go to error page and avatar dont show up,
please help to figure out and resolve this issue

RSS and Atom

Before and after updating to the new version 2.2.0 i still have this error for the rss

ActiveTabID:401
ActiveTabName:المنتدى
RawURL:/forum1/g/rsstopic/pg/4/ft/0/f/7/default
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://www.website.com/forum1/g/topics/f/7/name/%D8%A8%D8%B1%D8%A7%D9%85%D8%AC%20%D8%AA%D8%BA%D8%B0%D9%8A%D8%A9/default
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:95b1d8ec-219c-4fd1-8f1e-90fa95b9c7bf
InnerException:Invalid URI: The format of the URI could not be determined.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Uri.CreateThis
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Invalid URI: The format of the URI could not be determined. ---> System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at YAF.Core.Syndication.YafSyndicationFeed..ctor(String subTitle, YafRssFeeds feedType, Int32 sf, String urlAlphaNum)
at YAF.Pages.rsstopic.GetTopicsFeed(YafSyndicationFeed& feed, YafRssFeeds feedType, Boolean atomFeedByVar, String lastPostIcon, String lastPostName, Int32 forumId)
at YAF.Pages.rsstopic.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---

YAF URL Issue with DNN 6.2.8

I upgraded my DNN installation to 6.2.8 and the default Forums module broke. Since it is no longer supported I decided it was time to switch to YAF. The installation of 2.11 was successful but I am having issues with the URLs. The URLs do not seem to have the *.aspx on the end and I don't think my DNN installation likes that.

I am getting:

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

An example URL is:

http://ozone.hgscanada.com/TheBiz/MessageBoards2/tabid/672/g/admin_admin/Shift-Trades

I have tried to read up on URLRewriting but I have since disabled that in the YAF settings in my web.config.

Please help.

No avatars

Yaf does not import my profile pics from DNN.
I'm on the latest DNN 7.2.2 and latest YAF 2.1.2 Beta 2.

YAF-DNN v2.2.4.5-5811 - "Host Admin" access needed for Administrators

Hello..
This isn't major for us since we're only running one board on the forum, but have found that even if a user is configured as an Administrator (both DNN and YAF), when trying to access the Administration pages, it reports that you need Host Admin access to view that page.

Checking Host Admin for the user allows them to access the admin area.

Thank you for your time and attention..

Host Admin permissions reqired!
To access the area your board's Host Admin should set some extra permissions for you.

Also, after updating realized "reqired" is mis-spelled above.

DNN 9.2.0 - jQuery / Host Setting Tabs Not working

Hello,

I'm having trouble moving between the tabs in the settings.

I've captured some screenshots of the console when it errors:

capture2
capture

If anyone can help with this, it would be greatly appriciated

Thanks in advance

Deleting a Board in Host Administration, Boards throws an SQL error

You receive this error message if you try to delete any board in YAF DNN 2.0 RTW:

A critical error has occurred. The DELETE statement conflicted with the REFERENCE constraint "FK_yaf_Category_yaf_Board". The conflict occurred in database "DNNTEST", table "dbo.yaf_Category", column 'BoardID'. The statement has been terminated.

broken profile picture

@w8tcha ,
the profile pic has broken
image

and when open image in new tab the following message apeared

`Server Error in '/' Application.

Parameter is not valid.

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.ArgumentException: Parameter is not valid.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: Parameter is not valid.]
System.Drawing.Bitmap..ctor(Stream stream) +638721
YAF.YafResourceHandler.GetResponseRemoteAvatar(HttpContext context) +616
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +508
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0`

and this page url and parameters is: [here]http://miralavi.com/DesktopModules/YetAnotherForumDotNet/resource.ashx?url=http%3a%2f%2fmiralavi.com%2f%D9%BE%D8%B4%D8%AA%DB%8C%D8%A8%D8%A7%D9%86%DB%8C%2f%D8%A7%D9%86%D8%AC%D9%85%D9%86-%D9%87%D8%A7%DB%8C-%DA%AF%D9%81%D8%AA%DA%AF%D9%88%2fLinkClick.aspx%3ffileticket%3dwjQlF1wyUNM%253d&width=200&height=200)
there is some Persian character in URL.
what is the problem?

relative date issue

now in persian calendar the year is 1393. when i use persian calendar and checked use relative time the post show (622 years ago)
it seems in relative time function the persian date doesn't work correctly.
please solve this issue in next release.
Thanks

search issues

Hey Ingo,
there is an issue in quick search.
when i search for a Persian character in quick searchbox
capture
after clicking to search button in the next page the above entered character change to illegal characters and search no return any value
capture

Could not load type 'YAF.YafResourceHandler' from assembly 'YAF' (YAF_DNN_2.30.0-35903/DNN9.4.4)

AbsoluteURL:/DesktopModules/YetAnotherForumDotNet/resource.ashx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:63775bc8-a792-4403-8fec-6f06a201b52e

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:8Dt264aCCSGKjE///vjxBZ3xfZY=

Message:Unhandled Error:

StackTrace:

InnerMessage:Could not load type 'YAF.YafResourceHandler' from assembly 'YAF'.

InnerStackTrace:

at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type)
at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)
at System.Web.Configuration.HandlerFactoryCache..ctor(String type)
at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: vpsxy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.