Author

Topic: Any extension for viewing total merit on post/topic ? (Read 345 times)

hero member
Activity: 510
Merit: 4005
PowerGlove works off of an original copy of SMF which the forum is based on, and he has created several patches for it. But the forum has been heavily modified, there is no merit system code in SMF. PowerGlove would have some pretty big obstacles to attempt [correctly] patching or modifying code he doesn't have access to. Tongue
Yep, there are quite a few things that I'd like to tackle, but my hands are tied in a lot of cases. Even for things where there's a good amount of overlap between stock SMF and theymos' version, my patches are still pretty "impressionistic" (i.e. the line numbers don't match at all, so theymos has to read my diffs and then carefully splice the changes in on his end).

In terms of this particular idea (I personally don't see much value, other than maybe satisfying curiosity), I think the way I would implement it is as a tooltip on the word "Merited" [1]:



(That's a very well-written post; makes me a bit embarrassed to see that I only parted with one measly merit. I'll sprinkle it with more when I'm wadded again.) Smiley

[1] There's a around that word already (Merited) so adding a title attribute to that is pretty neat and unobtrusive (Merited).
hero member
Activity: 952
Merit: 555
20BET - Premium Casino & Sportsbook
Don't get it all wrong please, the two of you should under my point here clear, am not arguing or going against any suggestion made, its a good idea abd a welcome development, at least you can think of something and present it to the forum and left for the community to give a take in it and the admin as well accepting it, but i also think giving an individual opinion on it should not be what one should frown at, moreover my suggestion is not kicking against it, alot of people have brought in many ideas as well before this, but considers how many were accepted and implemented, yet that doesn't sound a discouragement on them from presenting more the next time when they have another idea to give, let's not just tackle other's opinion even though they aren't inline with ours.
hero member
Activity: 518
Merit: 547
Actually, knowing the numbers of total merits on each post is not a bad idea but i don't see the necessity for such,
It depends from person to person. It depends on how much you care about your post and judge yourself. Sometimes people assume their post quality by the number of merits they received. Of course, good posts get more merits than generic posts. Everyone doesn't need to use such a script. If you think you don't want it, ignore it. Other members may find it interesting. Take me, for example. I don't create many threads. But, Whenever I see others write good posts, it's fun to see how many merits they got.

Quote
Also i wouldn't want it to look more like a competitive quest that everyone will want to see himself getting a huge total number of merits on his post comparing to what others has, since everyone giving the merits is appearing on the post, making a summation of these merits is not that very important since there's no requirement for such post with the highest merits received or before participating in a signature campaign.
Op did not claim any of what you stated. He did not say that it was essential to summation up these merits. You are just trying to create a few points and twisting them. Nobody told you that there are some requirements for such a post with the highest merits received to participate in the signature campaign. Or maybe I am missing something? Learn to appreciate when someone creates useful tools. A single tool cannot be suited to everyone. Suppose it doesn't fit you. Please don't use it.
hero member
Activity: 1036
Merit: 933
Find your Digital Services at- cryptolibrary.pro
The total amount of merits sent or received in the last 120 days is likewise not easily available unless you count manually, unless you have an extension installed in your PC that allows this. When you don't have a PC, using your phone to browse the forum might be much easier. However, certain extensions are not compatible with mobile phones.
I think the words should be, "that not all mobile browser applications support extensions."
If you use the chrome or Brave, Opera and others as usual mobile browser then you can't install the computer browsers extensions on those mobile browsers. If I found a browser which name is Kiwi Browser it support the computer extension on it . I think you could try it out on Kiwi Browser I also used it for my mobile browsing it is quite impressive.
I am alreadyinstall the extension tampermonkey on kiwi browser on my mobile for run this script.

Actually, knowing the numbers of total merits on each post is not a bad idea but i don't see the necessity for such, what about considering some threads that will receive only one merits onbtheir post, some none, while some two or many as possible, the question here is now that how will the arithmetic calculation be, will it be on an instant update and be calculated as the merits are coming in or on a daily review after 24 hrs before you can see the total sum.
Also i wouldn't want it to look more like a competitive quest that everyone will want to see himself getting a huge total number of merits on his post comparing to what others has, since everyone giving the merits is appearing on the post, making a summation of these merits is not that very important since there's no requirement for such post with the highest merits received or before participating in a signature campaign.
I think there was once a thread created to remove the names and merit giving to a user on his thread or topic, which means when you receive a merit, you won't know who gives you and others will not have access to seeing your merit history as well, but if it goes this private, some may abuse the merit system as well.
If you don't find it necessary then there is no need to use it I am not forcing anyone. But I like it, as I am talking about this topic, I got a different joy when I saw that 11 was on the merit side and I didn't have to count. Dude, moreover in forum there is no saying that you have to earn merit for joining signature campaign only. There is no problem in doing your own work and earning merit through it. And I have not mentioned anything here that any signature campaign has asked for such post with the highest merits received in their requirement. Smiley
hero member
Activity: 952
Merit: 555
20BET - Premium Casino & Sportsbook
I hope this will also work for others users.
Yes. I found it helpful. Sometimes I want to count how many merits a single post receives. It's unnecessary, but I don't know why I want to count merit from some good posts. Maybe because I wish I were more creative and created such quality content which can get that many merits  Cheesy As other users already mentioned, there are similar scripts. But, I believe extensions are better than user scripts. Even an Average Joe knows how to use an extension, but an average Joe doesn't know how to apply user scripts.

I have a feeling that this is not what you are looking for but I thought I'd still share it here. as far as I know, the BPIP extension has an option that you can enable so you can see the combined merits of the thread and posts in that thread has received.
I am using this feature and other Merit related info that BPIP provides. Still, I found OP's idea is not bad. It will count merits from a specific post. It won't be hard for suchmoon to write such code and update the extension (If he wants to).

Two userscripts that can help you.
But, it will be best if someone can get all they want from a single extension.

Actually, knowing the numbers of total merits on each post is not a bad idea but i don't see the necessity for such, what about considering some threads that will receive only one merits onbtheir post, some none, while some two or many as possible, the question here is now that how will the arithmetic calculation be, will it be on an instant update and be calculated as the merits are coming in or on a daily review after 24 hrs before you can see the total sum.

Also i wouldn't want it to look more like a competitive quest that everyone will want to see himself getting a huge total number of merits on his post comparing to what others has, since everyone giving the merits is appearing on the post, making a summation of these merits is not that very important since there's no requirement for such post with the highest merits received or before participating in a signature campaign.

I think there was once a thread created to remove the names and merit giving to a user on his thread or topic, which means when you receive a merit, you won't know who gives you and others will not have access to seeing your merit history as well, but if it goes this private, some may abuse the merit system as well.
hero member
Activity: 1022
Merit: 744
It's all good, but as we all know, the world is changing, and automating the overall number of merit is a welcome development in the forum. I also lose count while calculating the total number of merits in a specific post, especially when there are several and are offered by a number of forum users.
While using the extension on your PC, you can see the total number of merits each thread next to the total number of persons who commented in the topic. However, it would be a significant advancement if the OP's total number of merits could be displayed in the thread, as the OP suggests.


Quote
The total amount of merits sent or received in the last 120 days is likewise not easily available unless you count manually, unless you have an extension installed in your PC that allows this. When you don't have a PC, using your phone to browse the forum might be much easier. However, certain extensions are not compatible with mobile phones.
Yes, however the BBIP link allows you to see the overall number of merits in the last 120 days. It will also be a positive development if the extension is compatible with mobile devices.
sr. member
Activity: 854
Merit: 424
Playbet.io - Crypto Casino and Sportsbook
But, it will be best if someone can get all they want from a single extension.
Not all people want those extensions because they don't need extensions or don't want to install extensions on their browsers and devices. Being careful is always good if you are security-wise enthusiast.

The total amount of merits sent or received in the last 120 days is likewise not easily available unless you count manually, unless you have an extension installed in your PC that allows this. When you don't have a PC, using your phone to browse the forum might be much easier. However, certain extensions are not compatible with mobile phones.
You can check it at BPIP.org website or with BPIP extension with its latest version: 2.3.x (download).
sr. member
Activity: 784
Merit: 306
Hire Bitcointalk Camp. Manager @ r7promotions.com
It’s incredible how we want everything to be automated and easy nowadays, I wonder if people will actually do anything by themselves in the future. There’s been some great suggestions in the past year that has been implemented by Theymos, it’s possible he may consider your suggestion. Others may not find it convenient but for me, it’s no stress to add the amount of merit manually.

It's all good, but as we all know, the world is changing, and automating the overall number of merit is a welcome development in the forum. I also lose count while calculating the total number of merits in a specific post, especially when there are several and are offered by a number of forum users.

The total amount of merits sent or received in the last 120 days is likewise not easily available unless you count manually, unless you have an extension installed in your PC that allows this. When you don't have a PC, using your phone to browse the forum might be much easier. However, certain extensions are not compatible with mobile phones.
hero member
Activity: 1764
Merit: 514
Leading Crypto Sports Betting & Casino Platform
The benefit of this to me is that some time we have to create some posts about analysis based and for analysis I think it will save our time. Moreover, if you open a topic or post, there are many merits or are getting, isn't it amazing to see it on a display rather than counting it? Moreover, if the number of such posts or topics is multiple, it will be more beneficial through it. I am not really good at coding otherwise I would have tried to make it myself.
But thanks for the list.
It doesn't have much practicality but yes, it can be used in some analysis based topic for counting merit. This can be helpful for many users who count their merits manually. Moreover, almost everyone has the habit of counting. I believe that what seems insignificant to me will be very important to someone else. ‍Some users can take the advantages by using this code.
legendary
Activity: 1789
Merit: 2535
Goonies never say die.
Although I doubt that something like this will be implemented, maybe our @PowerGlove will be able to do something.
I am also waiting for the response of this genius person. I think the topic has not caught his eyes yet otherwise he would have done the script already. Grin

PowerGlove works off of an original copy of SMF which the forum is based on, and he has created several patches for it. But the forum has been heavily modified, there is no merit system code in SMF. PowerGlove would have some pretty big obstacles to attempt [correctly] patching or modifying code he doesn't have access to. Tongue
hero member
Activity: 1036
Merit: 933
Find your Digital Services at- cryptolibrary.pro
This could be done with UserScript codes but can you tell us what it is useful for that or why you consider it necessary to have someone write that code?
Mostly, there is no benefit in knowing the total number except in classifying the highest subjects in terms of merit, which you can find here https://bitcointalk.org/index.php?action=merit;stats=toptopics
Here is a list of some of the available codes that you might find useful https://bitcointalksearch.org/topic/list-bitcointalkorg-userscripts-add-ons-smf-patches-5148488
I didn't mention anything that was very necessary or forced anyone to write the code, I just requested it. But for what reasons it can be useful is already many have mentioned that above.
The benefit of this to me is that some time we have to create some posts about analysis based and for analysis I think it will save our time. Moreover, if you open a topic or post, there are many merits or are getting, isn't it amazing to see it on a display rather than counting it? Moreover, if the number of such posts or topics is multiple, it will be more beneficial through it. I am not really good at coding otherwise I would have tried to make it myself.
But thanks for the list.

Although I doubt that something like this will be implemented, maybe our @PowerGlove will be able to do something.
I am also waiting for the response of this genius person. I think the topic has not caught his eyes yet otherwise he would have done the script already. Grin



Owh!! Your post just caught my eye, its really worked.I just got what I wanted Thanks for the sharing.  Cheesy

edited


legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
The idea itself is interesting. Although in reality it is only useful when a topic has many merits, given by many users.

It is true that there are already some add-ons and scripts that everyone can use in their browser to do this, but something implemented in the forum would be more interesting.

Although I doubt that something like this will be implemented, maybe our @PowerGlove will be able to do something.
hero member
Activity: 518
Merit: 547
I hope this will also work for others users.
Yes. I found it helpful. Sometimes I want to count how many merits a single post receives. It's unnecessary, but I don't know why I want to count merit from some good posts. Maybe because I wish I were more creative and created such quality content which can get that many merits  Cheesy As other users already mentioned, there are similar scripts. But, I believe extensions are better than user scripts. Even an Average Joe knows how to use an extension, but an average Joe doesn't know how to apply user scripts.

I have a feeling that this is not what you are looking for but I thought I'd still share it here. as far as I know, the BPIP extension has an option that you can enable so you can see the combined merits of the thread and posts in that thread has received.
I am using this feature and other Merit related info that BPIP provides. Still, I found OP's idea is not bad. It will count merits from a specific post. It won't be hard for suchmoon to write such code and update the extension (If he wants to).

Two userscripts that can help you.
But, it will be best if someone can get all they want from a single extension.
sr. member
Activity: 854
Merit: 424
Playbet.io - Crypto Casino and Sportsbook
legendary
Activity: 1596
Merit: 1288
This could be done with UserScript codes but can you tell us what it is useful for that or why you consider it necessary to have someone write that code?
Mostly, there is no benefit in knowing the total number except in classifying the highest subjects in terms of merit, which you can find here https://bitcointalk.org/index.php?action=merit;stats=toptopics
Here is a list of some of the available codes that you might find useful https://bitcointalksearch.org/topic/list-bitcointalkorg-userscripts-add-ons-smf-patches-5148488
legendary
Activity: 2534
Merit: 1115
I have a feeling that this is not what you are looking for but I thought I'd still share it here. as far as I know, the BPIP extension has an option that you can enable so you can see the combined merits of the thread and posts in that thread has received.

just quoting this post of suchmoon to reference what it looks like when you enabled the option that I am talking about.
Loading...
Edited 2020-11-30 to fix a broken image
hero member
Activity: 1204
Merit: 802
Leading Crypto Sports Betting & Casino Platform
It’s incredible how we want everything to be automated and easy nowadays, I wonder if people will actually do anything by themselves in the future. There’s been some great suggestions in the past year that has been implemented by Theymos, it’s possible he may consider your suggestion. Others may not find it convenient but for me, it’s no stress to add the amount of merit manually.
hero member
Activity: 798
Merit: 702
I have not seen any tools like that, but I believe there are some kind of tools that most members use to make a total calculation for the total number of merits received on a particular post. I guess that's how the list of the most merited posts is made. Manual counting will consume a lot of time. Just like if I want to make a count on the total number of merits that I have received on my previous or active thread, I count them one after the other to get an accurate number.

I believe a lot of people might have the same thought, but the forum administrator might have better things on his primary to-do list than this.

But it will also be nice, just as you have suggested, for such an upgrade to be added to BPIP extensions, if there will be any sooner or later.

Or such tools could also be added to ninjastic space by TryNinja since it's also a tool used to check users merit.
hero member
Activity: 1036
Merit: 933
Find your Digital Services at- cryptolibrary.pro
Is there a way to see(directly in forum) how many total merits a topic or post has received?
If not then, can any genius guy made some code for me not only just for all the forum members, through that, it can be seen how many total merits have been  got in any topic or post.
Also, I would like to request suchmoon that you can enable this option in the next update of your bpip extension. 😉
I think it would be better to show the output here And besides, you can give where you think it will be good.  I just gave an example to illustrate. -
I hope this will also work for others users.
-------------Thanks in advance ----------------

note: edited
Here is the output:


Thanks to hatshepsut93
Code:
// ==UserScript==
// @name     Bitcointalk Post Merit Sum
// @version  1.0
// @grant    none
// @include        https://bitcointalk.org/index.php?topic=*
// @run-at         document-end
// ==/UserScript==

;[...document.querySelectorAll(".td_headerandpost")].forEach(post => {
    try {
        let sum = [...post.querySelectorAll(".smalltext i > a")]
            .map(e => {
                return parseInt(e.nextSibling.textContent.match(/\((.*)\)/)[1])
            })
            .reduce((acc, e) => acc + e, 0)
        if (sum > 0) {
            let sumElement = document.createElement("span")
            sumElement.textContent = `Total merit: ${sum} | `
            post.querySelector(".smalltext i").prepend(sumElement)
        }
    } catch (e) {
        console.error(e)
    }
})


Jump to: