Author

Topic: @small improvement request. In merited posts, show your name in red or bold or.. (Read 599 times)

legendary
Activity: 2044
Merit: 1018
Not your keys, not your coins!
Done.

I didn't read the whole thread, just the OP and quickly glanced at a few posts to verify that no one written the script already.
Cool. One last thing, updating screenshot of your script to finish, please. Your username should be displayed at first position in screenshot. Wink
legendary
Activity: 3024
Merit: 2148
[ ... ]
Looks good, but it might be better if you can sort username to the first displayed name in list of merit senders in each posts/ threads. I think it is what users ask for. For small posts/ threads, that received unsignificant merits, it does not matter. Nevertheless, for huge posts/ threads, that received hundreds of merits from many users, if you only merited minor merits (one, two, three, example) your name will be listed and bolded in very last position. So, current version of your userscript will not help too much.

Done.

I didn't read the whole thread, just the OP and quickly glanced at a few posts to verify that no one written the script already.

legendary
Activity: 2044
Merit: 1018
Not your keys, not your coins!
[ ... ]
Looks good, but it might be better if you can sort username to the first displayed name in list of merit senders in each posts/ threads. I think it is what users ask for. For small posts/ threads, that received unsignificant merits, it does not matter. Nevertheless, for huge posts/ threads, that received hundreds of merits from many users, if you only merited minor merits (one, two, three, example) your name will be listed and bolded in very last position. So, current version of your userscript will not help too much.
legendary
Activity: 3024
Merit: 2148
Strange that no one has made it yet, here's a script for this:

Code:
// ==UserScript==
// @name     Bitcointalk Highlight My Name in Merit
// @version  1.0
// @grant    none
// @include        https://bitcointalk.org/index.php?topic=*
// @run-at         document-end
// ==/UserScript==
;[...document.querySelectorAll(".td_headerandpost")].forEach(post => {
    let myName = document.querySelector("#hellomember b").textContent
    let allMerits = [...post.querySelectorAll(".smalltext i > a")]
    let myMerit = allMerits.find(e => e.textContent === myName)
    if (myMerit) {
        myMerit.style["font-weight"] = 1000
        if (allMerits.indexOf(myMerit) !== 0) {
            let myScore = myMerit.nextSibling
            post.querySelector(".smalltext i").removeChild(myMerit)
            post.querySelector(".smalltext i").removeChild(myScore)
            allMerits[0].before(myScore)
            myScore.before(myMerit)
        }
    }
})


Screenshot:



Also check my related userscript that sums all merits of a post -> https://bitcointalksearch.org/topic/m.52264117
hero member
Activity: 2366
Merit: 838
Afaik all smartphones browsers come with 'find' function.

Let me know which browser you use I'll help you use find function)
Forum software has never been smartphone-friendly in particular, or mobile-devices-friendly in general. It is good to have that function for lists of merit senders/donators to OPs, but it is still good enough to accept and keep using current version.
This function is more important and more meaningful when users look at threads with unsignificants received merits, and from limited merit senders. Because those threads are helpful, and have not yet received too many merits, so if readers have available sendable merits, they should spend some of their sendable merits to those OPs.

For huge merit-received OPs, it is good to send more merits to OPs, but it is still fine if readers don't send more to OPs.
hero member
Activity: 2520
Merit: 952
crtl+f and type your name.

Thanks for pointing that out although not everyone uses a computer to access the forum, majority should be using their smartphone which aren't equiped with this function. OP"s suggestion will benefit both Mobile and Laptop users as it can be easily spotted without any effort.

@iasenko ok I get it although I would had prefer It to be more visible with highlighted red color. If this suggestions was to be implemented it should be red.

Afaik all smartphones browsers come with 'find' function.

Let me know which browser you use I'll help you use find function)

My proposal is:
- Username of logged-in user appear first in the list of merit senders
- Top merit senders after logged-in username.
- A drop-down list of merit senders (in descending orders). That list will help to save more space under topic title; and if anyone want to click on drop-down list. This feature can be modified in profile page.

I second that.
legendary
Activity: 2338
Merit: 10802
There are lies, damned lies and statistics. MTwain
<...>
I’m pretty sure that the order of the Meriter names on a given post is based on these three factors in the following order of priority:

1. Total number of sMerits (he could have merited it more than once) awarded to to the post by the profile (descending order).
2. Activity of the profile (descending).
3. Registry date (oldest first).

Therefore, if two or more profiles have awarded the same number of sMerits to a given post, the leftmost name will be that with most Activity. If even so two or more profiles have the same Activity, then the leftmost will be the profile that was registered first.

That means that activity changes alone modify the order.
sr. member
Activity: 1050
Merit: 416
Buy Bitcoin
Why is the creation date of the bitcointalk account an important factor?
I don't think it's important, it's probably an arbitrary choice. Trust settings uses the same order. From a programmer's perspective it makes sense to just sort the (user) numbers.

By "oldest account first", LoyceV tried to mean the account which merited the post first followed by the subsequent accounts meriting the same amount of merits.
No, that's not what I meant. It's also not how it's sorted.

I guess then your facts are wrong atleast for this post - Jammu & Kashmir Special Status (Article 370) Ends!!




As you can see, both nutildah and Totscha have given 2 merits each to the post.

nutildah is a legendary member and registered on April 19, 2014. He merited the said post on Aug 7, 2019  07:07:08 AM


Totscha is a hero member but registered on Sep 12, 2013. He merited the said post on Aug 7, 2019 07:10:40 AM

Of the two, Totscha's account is the oldest. If its sorted by oldest first, Totscha's name should be shown before nutildah. But thats not the case here. So I think it's sorted based on the time of giving merit.

Edit: So the order is (all in descending)
1. Number of merits
2. Activity
3. User ID (oldest user first)

theymos has confirmed this to be the order
Pretty sure it's first by merit awarded for that post (obviously), then by activity.

Right. And in case of equal activity, member ID is the tiebreaker.


legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Why is the creation date of the bitcointalk account an important factor?
I don't think it's important, it's probably an arbitrary choice. Trust settings uses the same order. From a programmer's perspective it makes sense to just sort the (user) numbers.

By "oldest account first", LoyceV tried to mean the account which merited the post first followed by the subsequent accounts meriting the same amount of merits.
No, that's not what I meant. It's also not how it's sorted.
hero member
Activity: 2366
Merit: 838
My proposal is:
- Username of logged-in user appear first in the list of merit senders
- Top merit senders after logged-in username.
- A drop-down list of merit senders (in descending orders). That list will help to save more space under topic title; and if anyone want to click on drop-down list. This feature can be modified in profile page.
sr. member
Activity: 1050
Merit: 416
Buy Bitcoin
The current sorting priority is:
2. Oldest account first
I don't think this should change.
Why is the creation date of the bitcointalk account an important factor?
So if your account is older than mine but we send the same amount of merits for the same post, your name would appear before before mine every time?


No. By "oldest account first", LoyceV tried to mean the account which merited the post first followed by the subsequent accounts meriting the same amount of merits.


@iasenko, I don't think this feature is required for everyone. Maybe a select few like the merit sources need them. I think a userscript/addon is all that is required here if you are not comfortable with ctrl+f. Why don't you try posting your request here?
legendary
Activity: 2730
Merit: 7065
The current sorting priority is:
2. Oldest account first
I don't think this should change.
Why is the creation date of the bitcointalk account an important factor?
So if your account is older than mine but we send the same amount of merits for the same post, your name would appear before before mine every time?

Or change the message to:
Code:
Merited by You(x) and: X(x), Y(x), Z(x)...
I agree:
Or the name of the logged in user appears first on the list followed by everyone else. 
legendary
Activity: 2702
Merit: 3045
Top Crypto Casino
Or change the message to:
Code:
Merited by You(x) and: X(x), Y(x), Z(x)...

x = amount of sent merits
legendary
Activity: 2184
Merit: 1302
Resend Merits can’t be considered a problem because you originally sent Merits to that user. In fact, I do this when I have a lot of source sMerits and I don't have time to resend those merits. Remember you have basically considered it as high-quality posts
That's correct, sending merits to an account for s post twice isn't actually a problem, it's fine if the action was done intentionally, for example someone with limited Smerits can merit a post once due to lack of smerits and come back to merit them again after a refill.

The suggestion I think was for people who send merits twice unintentionally, probably due to the fact they couldn't spot their usernames easily to know if they had sent merits to the post initially.
legendary
Activity: 2702
Merit: 4002
Resend Merits can’t be considered a problem because you originally sent Merits to that user. In fact, I do this when I have a lot of source sMerits and I don't have time to resend those merits. Remember you have basically considered it as high-quality posts.

This can be done using a userscript or by requesting an update to BitcoinTalk++ script.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I like your suggestion! I sometimes Merit a thread again even though I've already Merited it, when I realize I only sent 1 or 2 Merit the first time, and OP has been updating the topic for many months. I tend to easily overlook threads like this, while I Merit new threads more often.
Highlighting my own name looks useful Smiley

Alternatively the meriters could be listed alphabetically. That way it would be a bit easier to find your name if it is on the list.
The current sorting priority is:
1. Most Merit first
2. Oldest account first
2. First Meriting user first (thanks akhjob)
I don't think this should change.
legendary
Activity: 2730
Merit: 7065
It is a good suggestion iasenko and it makes sense to be able to see your name in either a different color or in bold.
Alternatively the meriters could be listed alphabetically. That way it would be a bit easier to find your name if it is on the list. Or the name of the logged in user appears first on the list followed by everyone else. 
legendary
Activity: 2044
Merit: 1018
Not your keys, not your coins!
I had to laugh at the first image--I recently mentioned how crazy it was in the first few days of the merit system, which a lot of newbies are probably unaware of.  But you only have to look at how many merits Theymos got for that announcement to see my point, or all the merits other members got in the same thread.

Anyway, I kind of like your idea, iasenko.  This forum could use some enhancements to spice things up, and I wish Theymos would follow some of the suggestions being made, like yours and the ones about reporter badges and so forth.  At the very least, it'd make things more visually appealing and more colorful.
Months ago, people complained that why threads published years ago or inactive thread or inactive users received hundreds of merits. Threads, OPs don't need merits. Users used their merit more generously early days, but it is not reason to complain why they sent merits to theymos, satoshi, Hal Finney and other famous users. Merits were used correctly, anyway.
I'm hoping that this system will increase post quality by:
 - Forcing people to post high-quality stuff in order to rank up. If you just post garbage, you will never get even 1 merit point, and you will therefore never be able to put links in your signature, etc.
 - Highlighting good posts with the "Merited by" line.
legendary
Activity: 3528
Merit: 7005
Top Crypto Casino
I had to laugh at the first image--I recently mentioned how crazy it was in the first few days of the merit system, which a lot of newbies are probably unaware of.  But you only have to look at how many merits Theymos got for that announcement to see my point, or all the merits other members got in the same thread.

Anyway, I kind of like your idea, iasenko.  This forum could use some enhancements to spice things up, and I wish Theymos would follow some of the suggestions being made, like yours and the ones about reporter badges and so forth.  At the very least, it'd make things more visually appealing and more colorful.
full member
Activity: 202
Merit: 180
It's precious, protect it!
It is just a requrested idea, but I don't think there are very convincing reasons to come back huge threads - that already received hundreds of merits to send OPs additional merits. There are more others need merits and deserve merits for their good contributions, but still not yet receive merits for their good posts.
Indeed, I don't see the benefits of giving merit to post already having a bunch of them.

Damn it! You are so smart. I forgot this feature.
mate everybody knows that. :p

Nevertheless, not all users - especially newbies - know about that feature, or forgot about it; so the request from iasenko still makes sense.
I don't think newbies have much merits to send XD

maybe it was intentional, maybe by mistake, but I think I already have enough merit and those could be sent to someone who actually can use it. Smiley
I see no point to have more than 1000, the only advantage is that you can to send more merit to other people, but again you can request to be a merit source.
salute
legendary
Activity: 2408
Merit: 4282
eXch.cx - Automatic crypto Swap Exchange.
crtl+f and type your name.

Thanks for pointing that out although not everyone uses a computer to access the forum, majority should be using their smartphone which aren't equiped with this function. OP"s suggestion will benefit both Mobile and Laptop users as it can be easily spotted without any effort.

@iasenko ok I get it although I would had prefer It to be more visible with highlighted red color. If this suggestions was to be implemented it should be red.
legendary
Activity: 2240
Merit: 3150
₿uy / $ell ..oeleo ;(
Looks promising, haven't been affected though but the possibilities are there. You didn't highlight any user on the image you provided to give us an idea of how it should look like. One part of me what's the feature as it'll prevent me meriting a post twice. On the other hand if i were to be a beneficiary, I won't want this (your suggestion) to prevent that lol. But on a general note, I'm in support of the idea. I'll go for red as it will be more visible than bold.

No, I haven't provided visual example of the solution but a example of the problem. You can try to find yourself there in those lists. If you know most of the guys rank you can follow the ranks and find it that way. The lists are based on ranks.

crtl+f and type your name.

That's good but again, you have do additional tasks to find yourself in those lists. What i suggest should be easy to implement and you need a fraction of a second to spot yourself Smiley

I actually suggested it because happens again that someone has merited my thread 2 times, maybe it was intentional, maybe by mistake, but I think I already have enough merit and those could be sent to someone who actually can use it. Smiley
I see no point to have more than 1000, the only advantage is that you can to send more merit to other people, but again you can request to be a merit source.
legendary
Activity: 2044
Merit: 1018
Not your keys, not your coins!
The request from iasenko is great, and is helpful if someone want to visit old threads, that they already sent merits to OPs previously. It is very easily to see your name in list of merit senders if OPs have not yet received too many merits. In threads, that OPs received huge merits, and list of merit senders is very long, feature to bold, color, glow username if people already merited OPs is excellent ideas.

It is just a requrested idea, but I don't think there are very convincing reasons to come back huge threads - that already received hundreds of merits to send OPs additional merits. There are more others need merits and deserve merits for their good contributions, but still not yet receive merits for their good posts.

crtl+f and type your name.
Damn it! You are so smart. I forgot this feature.
Thank you. I checked, and result is good.

Nevertheless, not all users - especially newbies - know about that feature, or forgot about it; so the request from iasenko still makes sense.
full member
Activity: 202
Merit: 180
It's precious, protect it!
crtl+f and type your name.
legendary
Activity: 2408
Merit: 4282
eXch.cx - Automatic crypto Swap Exchange.
Looks promising, haven't been affected though but the possibilities are there. You didn't highlight any user on the image you provided to give us an idea of how it should look like. One part of me what's the feature as it'll prevent me meriting a post twice. On the other hand if i were to be a beneficiary, I won't want this (your suggestion) to prevent that lol. But on a general note, I'm in support of the idea. I'll go for red as it will be more visible than bold.
legendary
Activity: 2240
Merit: 3150
₿uy / $ell ..oeleo ;(
I just request a small change from which everyone can benefit from.

There are some threads/posts where many people sent 1 merit and the list of those users become big. Sometimes it's difficult to find if you have given merit already to the thread/post and then you start searching for your username. I'm sure everyone has been trough this.
Sometimes you think you have given merit to a great post before but you are not.

What I suggest it you name to stand out in those list somehow. If it can be bold, colored or whatever is the easiest way but I think this should be implemented.

here some examples where the implementation can be useful >



Let me know what you think.
Jump to: