Mono Support How to keep the answered post in its original position ?  

Viewed 20218 time(s), 13 post(s), 8/6/2013 6:10:42 PM - by super
8/6/2013 6:10:42 PM
6018 Reputation 709 Total posts

I see by default when any post is marked as answered, the answered post gets at the top in the topic in monox. But I don't want to change the position of answered post. Since the background color of post is changed, that is enough for me.

So I can keep the position of the answered post un-changed ?

1
8/7/2013 8:38:28 AM
3016 Reputation 428 Total posts

Hi,

you can do it by overriding GetMessagesDefaultSorter method from the DiscussionRepository and change the default sorting behaviour,

Regards. 

2
8/7/2013 5:06:25 PM
6018 Reputation 709 Total posts

How to do that and where ? which page ? where to get code for the method ?

3
8/8/2013 7:55:36 AM
15993 Reputation 2214 Total posts

Hi,

this only happens on the Topic's first page so I'm not sure if this is worth pursuing ?

Regards

4
8/8/2013 10:29:43 AM
6018 Reputation 709 Total posts

Khorvat,

What do you mean by topic's first page ?

If I understood you correctly, you mean topic in which there is only 1 page ? if yes, still, we can't say how many topics will be one page (it could be a lot) when site admin have an active forum based users.

I think changing the position automatically when any post is marked as answered makes it non-user friendly since any new user looking for an answer might get confused since the answer is showing first as the new user won't know the order of discussion. A lot of times in forums users do want to read the discussion in order to know what's happening..

Could you please help me with this in code ? How to do that and where ? which page ? where to get code for the method ? and change to what ?

5
8/8/2013 10:46:54 AM
6018 Reputation 709 Total posts

I would like to keep functionality like this: EXample

As you can see the answered post remains in the same position, this is exactly I would like to have and I think it should be available in monox by default as similar pattern is followed by majority of forums all over the world instead of having answered post in 1st position.

6
8/8/2013 3:52:15 PM
6018 Reputation 709 Total posts

khorvat,

any help with this ?

7
8/9/2013 9:33:54 AM
15993 Reputation 2214 Total posts

Yes, there was a bug with the existing functionality. We have moved back the old functionality where we show the answer message in it's current position if placed on the first page, if placed on any other page we show it in place for that page or show it as a first post on the first page.

This will be available in next nightly build.

Regards

8
8/9/2013 10:27:18 AM
6018 Reputation 709 Total posts

Khorvat,

Could you please consider adding one small feature to it ? An option to keep the post to its original position irrespective to the page # ?

9
8/12/2013 3:37:47 PM
6018 Reputation 709 Total posts

Could you please consider adding one small feature to it ? An option to keep the post to its original position irrespective to the page # ?
Khorvat,

could you please comment on my above post ?

10
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.