YAFLogo

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago
Hi,

I updated forum to 2.2.0 on a DNN 7.4 platform, framework 4.5x intagrated mode.

But I faced some problems.

1) I don't see avatars at all. They are shown correctly in DNN but they are not showing in YAF. I only see the missing image icon where the avatar should be. You can check here.

UserPostedImage

I was also using a different reputation image and it disappeared too. How can I change that reputation image?

The thing with the avatar is whatever I upload it from YAF or DNN it doesn't show up in YAF userbox and also in topic list. When I upload using YAF, image is shown correctly until the user logged in. Then showing the error image agan. The thing I realized that when I wanted to change the avatar of an user I see a link like this.

http://domain.com/LinkClick.aspx?fileticket=YEMXIrgpEdtfV58IIbLyGSuv63DWCIsDtBN0toRcYnXsajChnNdnjO_8UyMWpIyN .

When I open this link directly in the webpage I got this error.

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +11013491
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +145
   System.Convert.ToInt32(String value) +43
   DotNetNuke.Services.FileSystem.FileLinkClickController.GetFileIdFromLinkClick(NameValueCollection queryParams) +64
   DotNetNuke.Services.FileSystem.FileServerHandler.ProcessRequest(HttpContext context) +685
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

I first thought this happens because of DNN but I began to get this error after YAF update. I saw this old thread with same issue. Though it is tagged as fixed, that solutions there didn't work for me. I also used user importer already.

https://github.com/YAFNET/YAFNET-DNN/issues/7 

2) Attachment option is not working. I think it is solved here.

https://github.com/YAFNET/YAFNET/commit/b181c6759e765a1306ceafadcb193c21be82fa16 

Though I made the changes in PostAttachments.ascx, I couldn't do the ones in PostAttachments.ascx.designer.cs so it still is not working. To make it work, shall I download the latest source code and compile it again? Is there a easier way to do it?

3) Active users list doesn't show any user. In the main forum page I see there are active users and guests in the forum but when I click active users link I don't see any user there, just empty.

4) I see this forum uses 2.2.1 BETA 20150211 already but I didn't see the place to download it. When it will be released?

Thanks...

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

Hi,

http://noble-army.net/forum 

UserPostedImage

Originally Posted by: Hakey 

This is a new issue since dnn 7.4.0. This will be fixed with YAF 2.2.1

I was also using a different reputation image and it disappeared too. How can I change that reputation image?

Originally Posted by: Hakey 

I depens on which files you had changed?! I guess you modified the forum.css?

2) Attachment option is not working. I think it is solved here.

https://github.com/YAFNET/YAFNET/commit/b181c6759e765a1306ceafadcb193c21be82fa16 

Though I made the changes in PostAttachments.ascx, I couldn't do the ones in PostAttachments.ascx.designer.cs so it still is not working. To make it work, shall I download the latest source code and compile it again? Is there a easier way to do it?

Originally Posted by: Hakey 

Should be fixed with 2.2.1 (Compiling BETA version right now)

3) Active users list doesn't show any user. In the main forum page I see there are active users and guests in the forum but when I click active users link I don't see any user there, just empty.

Originally Posted by: Hakey 

Could be temporary caching issue, is this still an issue? I can see on your forum that the active users list on the Active Users page shows the user's correctly now.

4) I see this forum uses 2.2.1 BETA 20150211 already but I didn't see the place to download it. When it will be released?

Thanks...

Originally Posted by: Hakey 

Soon

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago

I depens on which files you had changed?! I guess you modified the forum.css?

Originally Posted by: tha_watcha 

I didn't edit forum.css. I just replaced images under /DesktopModules/YetAnotherForumDotNet/images/reputation/ folder.

reputation_bg.png and reputation_dot.png images. I checked and my images are still there but they are not showing after update.

Could be temporary caching issue, is this still an issue? I can see on your forum that the active users list on the Active Users page shows the user's correctly now.

Originally Posted by: tha_watcha 

I checked it again and the list is still empty for me. But I also checked it in Firefox now and I can see the list there. With which browser did you check with?

I can see the list Firefox but can't see in IE.

BTW while writing, this message box Ioses focus and page moves to top. And I have to scroll down and click again to be able to continue writing. It is like scroll to top icon, on right bottom, is clicked automatically...

Thanks...

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

I depens on which files you had changed?! I guess you modified the forum.css?

Originally Posted by: Hakey 

I didn't edit forum.css. I just replaced images under /DesktopModules/YetAnotherForumDotNet/images/reputation/ folder.

reputation_bg.png and reputation_dot.png images. I checked and my images are still there but they are not showing after update.

Originally Posted by: tha_watcha 

Images from that folder where never used in YAF. For the reputation bar an jquery-ui Progressbar is used. So you must have overridden the standard styling in one of the css files.

Could be temporary caching issue, is this still an issue? I can see on your forum that the active users list on the Active Users page shows the user's correctly now.

Originally Posted by: Hakey 

I checked it again and the list is still empty for me. But I also checked it in Firefox now and I can see the list there. With which browser did you check with?

I can see the list Firefox but can't see in IE.

Originally Posted by: tha_watcha 

I can confirm it it is an issue only with IE, working on a fix

BTW while writing, this message box Ioses focus and page moves to top. And I have to scroll down and click again to be able to continue writing. It is like scroll to top icon, on right bottom, is clicked automatically...

Thanks...

Originally Posted by: Hakey 

Which browser?

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago

Images from that folder where never used in YAF. For the reputation bar an jquery-ui Progressbar is used. So you must have overridden the standard styling in one of the css files.

Originally Posted by: tha_watcha 

Ok I'll look for it.

I can confirm it it is an issue only with IE, working on a fix

Originally Posted by: tha_watcha 

Ok thanks...

Which browser?

Originally Posted by: tha_watcha 

IE.

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago
Hi,

I tried the Beta version. It seems that the avatar issue is fixed. But the issues with attachment feature continue for me. I also tried with a fresh install of DNN 7.4 and this beta version of YAF, nothing else installed.

1) It uploads if I browse and choose the file. But there is no uploading bar or something like that. You have no idea if it is being uploaded or something went wrong. Also window doesn’t close itself after successful upload. Just sits on the screen. You have to close that window and refresh that page to see it is uploaded successfully.

2) If you drag and drop a file to the box on the modal window, it opens the image itself on the browser instead of uploading. So you lose the page.

3) I use CKEditor which is also provided by you as a DNN module. (Thanks for another good work.) So in Yaf I choose “DNN default editor”, which gives more features than the one that comes with YAF. But when using it, if you click one of the attachments, that are uploaded already, nothing happens. But if you choose the one that comes with YAF, it adds [attach] code to the editor. But it doesn’t work with the CKEditor module in DNN.

4) If filename has no space in it, which is likely to happen, it is not broken in part by default and deforms the design of the page. For example, a file with the name “bla-bla-bla-bla-bla-bla-bla-bla-bla-bla-bla-bla.jpg” instead of being wrapped or hiding with “…” goes all the way down and deforms the design. It may be hided with “…” like “bla-bla-bla-bla-bla-bla-bla-b….jpg”, which will also show extension, and show the full name when you hover the link.

5) In the attachment page in my profile, there is no confirmation alert when you want to delete an attachment. It would be better I think.

6) REQUEST : It would be very good if we could add images directly inside of the message when we choose from attachment list instead of the BBcode.

7) REQUEST : Also, is listing the attachments under post option removed? I would like to have that too…

8) REQUEST : Clicking pictures in the message opens them in the browser. It would be very good if they show up in a modal window, like old attachments were working.

Thanks…

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago
Hey tha_watcha,

Any words about these?

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

1) It uploads if I browse and choose the file. But there is no uploading bar or something like that. You have no idea if it is being uploaded or something went wrong. Also window doesn’t close itself after successful upload. Just sits on the screen. You have to close that window and refresh that page to see it is uploaded successfully.

Originally Posted by: Hakey 

Are you getting any Java Script errors? I guess this issue is related to the unresolved jquery-ui issues with dnn, otherwise there are progressbars and the dialog should close itself when all uploads are finished

2) If you drag and drop a file to the box on the modal window, it opens the image itself on the browser instead of uploading. So you lose the page.

Originally Posted by: Hakey 

You have to drag it to the box that says "Drop file(s) here", in 2.2.1 beta 2 i changed that so you can drop the files everywhere inside the upload dialog

3) I use CKEditor which is also provided by you as a DNN module. (Thanks for another good work.) So in Yaf I choose “DNN default editor”, which gives more features than the one that comes with YAF. But when using it, if you click one of the attachments, that are uploaded already, nothing happens. But if you choose the one that comes with YAF, it adds [attach] code to the editor. But it doesn’t work with the CKEditor module in DNN.

Originally Posted by: Hakey 

This will be fixed in 2.2.1 beta 2. By the way be aware that the provider version of the CKEditor will give you more features which will not work unless you allow them via the host settings. Also keep in mind that this version is not optimized for YAF.

4) If filename has no space in it, which is likely to happen, it is not broken in part by default and deforms the design of the page. For example, a file with the name “bla-bla-bla-bla-bla-bla-bla-bla-bla-bla-bla-bla.jpg” instead of being wrapped or hiding with “…” goes all the way down and deforms the design. It may be hided with “…” like “bla-bla-bla-bla-bla-bla-bla-b….jpg”, which will also show extension, and show the full name when you hover the link.

Originally Posted by: Hakey 

Will be fixed in 2.2.1 beta 2

5) In the attachment page in my profile, there is no confirmation alert when you want to delete an attachment. It would be better I think.

Originally Posted by: Hakey 

This is a bug which will be fixed in 2.2.1 beta 2

6) REQUEST : It would be very good if we could add images directly inside of the message when we choose from attachment list instead of the BBcode.

Originally Posted by: Hakey 

Working on it

7) REQUEST : Also, is listing the attachments under post option removed? I would like to have that too…

Originally Posted by: Hakey 

Yes there are removed, no need for that since there are inside the post.

8) REQUEST : Clicking pictures in the message opens them in the browser. It would be very good if they show up in a modal window, like old attachments were working.

Originally Posted by: Hakey 

That should be still the case

Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago

Are you getting any Java Script errors? I guess this issue is related to the unresolved jquery-ui issues with dnn, otherwise there are progressbars and the dialog should close itself when all uploads are finished

Originally Posted by: tha_watcha 

None that I'm aware. Could be a jquery problem as you stated. There are also misplaced modal windows in the pages yaf stays. So probably they will be fixed with it too. I think that fix will come with 7.4.1 and hopefully soon.

You have to drag it to the box that says "Drop file(s) here", in 2.2.1 beta 2 i changed that so you can drop the files everywhere inside the upload dialog

Originally Posted by: tha_watcha 

Yep I exactly do so. But still does the same behaviour. Maybe it also is a problem related to that DNN jquery bug.

This will be fixed in 2.2.1 beta 2. By the way be aware that the provider version of the CKEditor will give you more features which will not work unless you allow them via the host settings. Also keep in mind that this version is not optimized for YAF.

Originally Posted by: tha_watcha 

Yes I am aware of that. It took some time to set it up correctly. It would be better if you could chose it as default editor in YAF. No need other 3 rich text editor. That CKEditor does everything alone and highly customisable. You can make it simple or complex. You can even manage the feautres, users may use, according to their roles. And you can directly add images inside the post, resize edit, full control. (You know all of these though. :))

So won't need to change attachment feature like this. I was using it with previous attachment option and it was good. If I want to add images inside post I use CKEditor. If I want to add images under the post I use attachment option. I am aware that you changed it because the editors that come with YAF don't have that feature. But can't you add that CKEditor inside YAF and keep old attachment system as a second option to the one now? Best of both ;)

That should be still the case

Originally Posted by: tha_watcha 

For now it opens in browser not modal windows. If it is working like that already, it may be an issue of jquery bug again.

I also want to add how I modified reputation bar, for being a reference to other users or searchers who are looking for it.

I edited YetAnotherForumDotNet\Content\forum.min.css And changed the following classes like this. I gave them images instead of background colors. Though they are not shown in Firefox but it was like that before too. 🙄

.yafnet .ReputationBar{margin-top:5px;width:98%;background-image:url("/DesktopModules/YetAnotherForumDotNet/images/reputation/reputation_bg.png");width: 127px;height: 26px;}
.yafnet .ReputationBarValue{background-image:url("/DesktopModules/YetAnotherForumDotNet/images/reputation/reputation_dot.png");width: 12px;height: 14px;}

Thanks...

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago
Is the Site online so i can take a look at the remaining problems directly?
Hakey
  • Hakey
  • 60.2% (Friendly)
  • YAF Camper Topic Starter
9 years ago
Sent PM.

Thanks...

Users browsing this topic