Bitcoin Forum
June 03, 2024, 02:23:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: @small improvement request. In merited posts, show your name in red or bold or..  (Read 546 times)
libert19
Hero Member
*****
Offline Offline

Activity: 2520
Merit: 950



View Profile WWW
August 22, 2019, 04:46:18 AM
 #21

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.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
tbct_mt2
Hero Member
*****
Offline Offline

Activity: 2352
Merit: 837


CoinPoker.com


View Profile WWW
August 22, 2019, 05:24:21 AM
 #22

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.

hatshepsut93
Legendary
*
Offline Offline

Activity: 2996
Merit: 2148


View Profile
August 26, 2019, 01:45:36 AM
Last edit: August 26, 2019, 02:46:16 AM by hatshepsut93
Merited by Welsh (2), TheBeardedBaby (2), malevolent (1), Pmalek (1), hd49728 (1)
 #23

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://bitcointalk.org/index.php?topic=5148488.msg52264117#msg52264117
hd49728
Legendary
*
Offline Offline

Activity: 2114
Merit: 1039


View Profile
August 26, 2019, 02:01:20 AM
 #24

[ ... ]
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.
hatshepsut93
Legendary
*
Offline Offline

Activity: 2996
Merit: 2148


View Profile
August 26, 2019, 02:15:03 AM
Last edit: August 26, 2019, 02:30:25 AM by hatshepsut93
 #25

[ ... ]
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.

hd49728
Legendary
*
Offline Offline

Activity: 2114
Merit: 1039


View Profile
August 26, 2019, 02:20:31 AM
 #26

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
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!