Advertisement
  • 1 page(s)
Comments broken

All comments in Safari now step off the right side of the page.  Every comment is indented as a child under the previous comment.

Report this thread post

It is even worse for addons. Comments appear to be in nearly random order now, and still without any replies. And the download numbers have been reset as well. curse should really start testing before doing stuff...

Report this thread post

Unfortunately when they redesigned the site (BTW I do like the new look) some of the improvememts have caused some browser quirks to really show themselves. Some of the CSS is not quite cross browser friendly. There sill continue to be issues until their developers get enough complaints to make them fix the issues. I use Firefox most of the time and the new look causes many issues that fortunately I can fix on my end by rewriting the page code as I receive it. (yay, Firefox) Most people will just need to just keep letting the Curse developers know what their issues are.All new designs have quirks that will not be found until in a live environments such as it is now.

Report this thread post

Same here, all comments from my addon's page have disappeared.

http://wow.curse.com/downloads/wow-addons/details/altoholic.aspx

using IE7, tested in IE6 as well, doesn't seem to be browser-related imho.


[edited by: Thaoky at 9:56 AM (GMT -6) on 6 Oct 2008]

Report this thread post

  Quote:
Originally Posted by Thaoky Go to post by >Thaoky

Same here, all comments from my addon's page have disappeared.

http://wow.curse.com/downloads/wow-addons/details/altoholic.aspx

using IE7, tested in IE6 as well, doesn't seem to be browser-related imho.

 

This may have happened in relation to the projects merging with wowace.  it is fixible however.

Report this thread post

With some of the performance issues critical for the 3.0 WoW patch under control, I'm going to make time to fix the stairstepping issue today.

Lead Developer, Curse.com

Report this thread post

The bugs are still there.

- zero'd download counters

- deleted comments (newest comments are dated october 2007).

Report this thread post

they are not deleted - the comments from the old site are in reverse order

Lead Developer, Curse.com

Report this thread post

Why are they reversed, what can you possibly be thinking or was it just easier to do it that way? It sure does not serve the members or addon developers so let us hope it pleases the site developers. We would not want it to not work for anyone, now would we?


[edited by: Thalius at 2:27 AM (GMT -6) on 9 Oct 2008]

Report this thread post

They ARE deleted.

 

There were 72+ comments, now the comments-counter counts 46 comments.

 

The reverse of 72+ comments are still 72+ comments, at least with my logic... ;)

Report this thread post

Well for one, I didn't do the comment data import.  I assume they are reversed because they were retrieved from the old curse in their display order (latest first), and then inserted into the new site in that order.  Obviously the site expects later comments to come after earlier ones.

I'm working on a fix for this in the database, but it is complicated.  This was not an issue in the display before because they were sorted by date - but that doesn't work with threaded comments, which is why it appeared to reverse after the threading was put back in.

Xinda, I've pulled up your old project page at http://old.curse.com/downloads/details/9562/?cpage=4#comments and I see that the last comment on your project is the same as the first one (due to the import goofup) on the new site.   Both sites show 4 pages (20 per) of comments which implies 72+ comments on both sites, at least with my logic.  The issue is with the comment counter on the addon page, which is probably showing replies to the project, and not counting replies to other comments.

 

Lead Developer, Curse.com

Report this thread post

ok, then I give you a hint:
it works fine in the curseforge iframe comment box, though there's no "reply to this post" button and replies are not indented but that's another issue...

compare:

http://wow.curse.com/downloads/wow-addons/details/druid-stats-i.aspx
http://wow.curseforge.com/projects/druid-stats-i/ (if you see the imported comments here that is)

Edit: *cries* I'm blind... forget what I wrote there

 

Also changing sortorder is usually not a big deal when working with databases, after all thats one of the most important features of DBMS: to provide data abstraction. If I could guess, previously sorting was by the post ID which is the primary key (so it was implicitly done since most DBMS automagically sort by the primary key), but since the importing was done in the reverse order, now the sorting is wrong. An "order by datefield" would most definitely do the trick if SQL is involved...


[edited by: watchout at 6:12 PM (GMT -6) on 9 Oct 2008]

Report this thread post

  Quote:
Originally Posted by watchout Go to post by >watchout

Also changing sortorder is usually not a big deal when working with databases, after all thats one of the most important features of DBMS: to provide data abstraction. If I could guess, previously sorting was by the post ID which is the primary key (so it was implicitly done since most DBMS automagically sort by the primary key), but since the importing was done in the reverse order, now the sorting is wrong. An "order by datefield" would most definitely do the trick if SQL is involved...

Well, its not that simple, since you want your comment to show below the comment its replying to.  I have a fix in the works to move around the existing comments, I just have to knock out more important issues like authentication and such before I can work on it.  Hopefully tomorrow...

The curseforge iframe is a separate page from the curse comments page and didn't get the update when the curse page was fixed.  I'll get that in for the next push.

Lead Developer, Curse.com

Report this thread post

The reply count has been fixed in the sql queries and will be updated the next time the project is bumped from the caches.

Lead Developer, Curse.com

Report this thread post

  Quote:
Originally Posted by Prodigal Go to post by >Prodigal

Well, its not that simple, since you want your comment to show below the comment its replying to.

I was curious and checked out some comments pages and tried to figure out how it's done internally. It's kind of bugfinding training for me, judging by an error how a system works can come in really handy :)

Ok so by what I've seen you don't calculate the display depth when showing, but when posting a comment, and then save that in the database - thats a great thing I guess - performance-wise.

Ok next step. Since saving the level wouldn't be enough (replies wouldn't show up in the right place) you'll have a "reply to" comment id saved somewhere. To get the right order, you'll probably save their own comment id in the reply to field for top-level comments, this way you only had to sort comment id DESC, reply id DESC.

Right, now we have the mixed comments, and sorting by the reply-to field would do no good since it would only mix up everything again. The first sort by the date field would only do the right order per comment level. So what you need is the right "reply-to" field content. I think there is a way, but I'm not sure how good the performance will be:

make a new dynamic column, get it's contents from an inner join with in inner select of the same table that selects the date and id. Or - most probably better performance-wise - run a nightly job to add this new field, then add it to the select statement, use instead of the reply-to sorting.

 

So now to conclude: I have to apologize. I was a bit too quick with jumping to conclusions before, the solution is definitely not trivial. Also if I got anything wrong there, please tell me I'd like to know how good my guesses have been... :)

  Quote:
Originally Posted by Prodigal Go to post by >Prodigal

important issues like authentication and such before I can work on it.  Hopefully tomorrow...

ooh yes please, though authentication works quite ok atm (was much worse before) - I think you just have to go to curse.com to get an active session and then you can see curse.com comments on curseforge, or something like that


[edited by: watchout at 9:34 AM (GMT -6) on 11 Oct 2008]

Report this thread post

There's actually already a field like you're talking about, it just has incorrect values in it for the historical comments.  I tried Friday to get this fixed using just sql but that didn't work consistently for all projects.  I'm going to write a program/script to do this and write the updated values - then we'll have to find some downtime to run the script, because comments come in on projects at a fast clip, and I don't want to have locking issues while its running.

Lead Developer, Curse.com

Report this thread post
  • 1 page(s)