Pages:
Author

Topic: [130 weeks] [Updated Jul 10] LoyceV's Trust list viewer - Create your own! - page 16. (Read 22461 times)

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
Starting point to avoid loading the large index file: Trust list for: cryptodevil (Trust: +9 / =0 / -1) (188 Merit earned) (Trust list) (BPIP)

BPIP hasn't updated it's links to my Trust list viewer yet, and the top-navigation-bar isn't ready either. All of this should be fixed in the coming hours.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
Starting point to avoid loading the large index file: Trust list for: hilariousandco (Trust: +22 / =2 / -0) (DT1! (37) 810 Merit earned) (Trust list) (BPIP)
The top-navigation-bar is working on the latest weeks, the rest will be updated within several hours. Or use BPIP for navigation.



Sorry for the delay, forgot about it while working on my latest project.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
I was enjoying the (hot) weather yesterday, so I didn't get to post yet. The update was completed as scheduled though, and BPIP has updated it's links too.
Weekly Trust list to avoid loading the large index page: Trust list for: satoshi (Trust: +33 / =0 / -0) (2329 Merit earned) (Trust list) (BPIP)

Interesting detail: the only user who distrusts satoshi's judgement removed it:
20 minutes after that entry there were entries to indicate Rmcdermott927 had no longer trusted/distrusted users including Lauda, however that information has been removed which is in itself puzzling as other UID's with identical circumstances information is left on that page.
On DT Change Log - BPIP, some weird things happen because the forum doesn't update Trust settings and Default trust breakdown at the same time. I think it has to do with caching (to reduce Bitcointalk server load).

Quote
What I'm puzzled about is your Week 82 https://loyce.club/trust/2020-08-08_Sat_05.13h/131361.html [1a], [1b] which was generated ~20 hours after the entry for Lauda shows me as:

Quote
Trust list for: Timelord2067 (Trust: +8 / =6 / -0) (470 Merit earned) (Trust list) (BPIP) (created 2020-08-08_Sat_05.13h)
Back to index
I update Trust scores for my Trust list viewer on Thursdays (or close to it). I can't scrape everything at once, and updating this when I update my Trust list viewer would delay the update. On Fridays, I scrape Merit data already, so I do it before that.
legendary
Activity: 3626
Merit: 2209
💲🏎️💨🚓
...

Cause and Effect:

Hello again,

I don't follow the ins and outs of the never ending merit/trust wars, however I like to check how I am going once a week when your weekly trust pages get updated.

According to this: https://islaudastillondt.tk/

Quote
2020-08-07_Fri_09.49h: Lauda is on DT2 with 0 inclusions.

Lauda became DT 2 (0) when

https://bpip.org/TrustLog

Quote
8/7/2020 7:21:13 AM    DT1 peers    @Vod DT1 distrusts Rmcdermott927 DT1

Quote
Trust list for: Vod (Trust: +29 / =2 / -3) (DT1! (13) 1615 Merit earned) (Trust list) (BPIP) (created 2020-08-08_Sat_05.13h)
Back to index

22. NEW ~Rmcdermott927 (Trust: +25 / =1 / -0) (DT1 (-1) 57 Merit earned) (Trust list) (BPIP)

20 minutes after that entry there were entries to indicate Rmcdermott927 had no longer trusted/distrusted users including Lauda, however that information has been removed which is in itself puzzling as other UID's with identical circumstances information is left on that page.




Lauda is back on DT2 (0) and is confirmed by both this image of my trust feedback scores reflecting his negative of me:



This is also cross verified on BPIP: https://bpip.org/Profile?p=Timelord2067

Quote
Trust Feedback Information
   Pos    Neu    Neg
Received    8    6    1




What I'm puzzled about is your Week 82 https://loyce.club/trust/2020-08-08_Sat_05.13h/131361.html [1a], [1b] which was generated ~20 hours after the entry for Lauda shows me as:

Quote
Trust list for: Timelord2067 (Trust: +8 / =6 / -0) (470 Merit earned) (Trust list) (BPIP) (created 2020-08-08_Sat_05.13h)
Back to index

So I was wondering when the details are taken for your weekly updates if not when the date/time is shown in the corresponding URL's?

I'd ask @ibminer and @suchmoon about the repeated errors in the BPIP entries, however ibminer gave me DT distrust for simply asking questions in the BPIP thread (which is DT trust abuse) and suchmoon is also engaging in DT trust abuse due to my suggestion he verify the details of my posts as opposed to flying off the handle claiming over and over "this is the last straw" whenever anyone suggests suchmoon hasn't checked his facts.  Again, this is DT trust abuse by suchmoon.

Thanks for reading.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
Starting point of the week to avoid loading the large index page: Trust list for: DarkStar_ (Trust: +53 / =1 / -0) (1395 Merit earned) (Trust list) (BPIP)

BPIP hasn't updated it's links yet (the scheduler should work again).
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I can't recall which thread covers this, but does this link https://loyce.club/trust/selfscratchers/131361.html update, or was it a one off?
You're looking for Trust Selfscratchers: who scratched his own back the most?. I locked it because I didn't want to implement the Trust-changes.
legendary
Activity: 3626
Merit: 2209
💲🏎️💨🚓
I can't recall which thread covers this, but does this link https://loyce.club/trust/selfscratchers/131361.html update, or was it a one off?  I'd actually forgotten I had it bookmarked and just came across it again.  The Trust list link is for week 18, so I'd say it hasn't been viewed for over a year.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
Starting point of the week to avoid loading the large index file: Trust list for: funchiestz (Trust: #  +0 / =0 / -8) (92 Merit earned) (Trust list) (BPIP)
BPIP's link isn't updated yet, and my top-navigation-bar takes a few hours (I messed up this morning).
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
The update has been online for hours already, but I didn't have time to post yet.
Starting point of the week to avoid loading the big index page: Trust list for: Hhampuz (Trust: +84 / =3 / -0) (2042 Merit earned) (Trust list) (BPIP)

The top-navigation-bar is updated on half of the latest weeks (the rest follows the coming hours), and BPIP has been updated already too.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Update:
Historic overview (the last entry is most recent)
78. https://loyce.club/trust/2020-07-11_Sat_05.05h
Profile of the week to avoid loading the large (use Firefox!) index file: Trust list for: DarkStar_ (Trust: +52 / =1 / -0) (1375 Merit earned) (Trust list) (BPIP)
BPIP is updated already, and the top-navigation-bar works for the most recent couple of weeks. Navigation for older weeks still take a few hours to update.

Thanks to more data being available, I've been able to mark much more banned users this week:
I added OmegaStarScream's list to my list of banned users. Most of them have probably been banned for years already, I just didn't know about them until last week.

Quote
Last week, 1019 users on my Trust list viewer were marked as banned. This week, it's 2122 users.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
Try again: I've added suchmoon's exact code to apache2.conf.
Nope. Tongue

I just tried and it does return the correct header:

Loading...
Edited 2020-11-30 to fix a broken image

Edit to your edit:
legendary
Activity: 2758
Merit: 6830
Try again: I've added suchmoon's exact code to apache2.conf.
Nope. Tongue

Edit: It worked now. Maybe it was a cache issue? I will update the script with your website url.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
No. I still get the same error.
Try again: I've added suchmoon's exact code to apache2.conf.

I can also add just add this instead:
Code:
  Header set Access-Control-Allow-Origin "*"
legendary
Activity: 2758
Merit: 6830
@TryNinja: does it work now?
No. I still get the same error.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Code:

  Header set Access-Control-Allow-Origin "https://bitcointalk.org"

I've added only the second line to .htaccess (as described here). @TryNinja: does it work now?
legendary
Activity: 3654
Merit: 8909
https://bpip.org
I'm using standard Apache2. It's a text-file, I don't need headers Smiley

Try something like this:

Code:

  Header set Access-Control-Allow-Origin "https://bitcointalk.org"


In apache configuration.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I still can't make requests to your website from a browser because of CORS.

Code:
Access to fetch at 'https://loyce.club/trust/latestversion.txt' from origin 'https://bitcointalk.org' has been blocked by
CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I have no idea what any of this means

Quote
It's also a simple fix, but I'm not sure what do you use for your website.
I'm using standard Apache2. It's a text-file, I don't need headers Smiley

Quote
Other than that, I have already created a script (with a lot of copy pasting from BPIP's extension) that adds a button to your Trust List on everyone's profile/posts.
I don't think I'll ever install a browser extension, but this is cool Smiley
Since more than 99% of the users don't have a custom Trust list (and aren't mentioned on someone else's list): can you exclude those? Each week (starting Feb 8 this year) I've added a list of all profiles in it's subdirectory. Example: user_ids.txt. Further reading: this started around here.
The latest version doesn't include users who used to be on a custom Trust list but aren't no longer on it.
legendary
Activity: 2758
Merit: 6830
Update: Done! I have installed certbot.
Thank you. But now I have another request. Cheesy

I still can't make requests to your website from a browser because of CORS.

Code:
Access to fetch at 'https://loyce.club/trust/latestversion.txt' from origin 'https://bitcointalk.org' has been blocked by
CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your
needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

It's also a simple fix, but I'm not sure what do you use for your website. Other than that, I have already created a script (with a lot of copy pasting from BPIP's extension) that adds a button to your Trust List on everyone's profile/posts.

edit:

For now, I made so the requests go through my proxy server, which makes the request to your page, bypassing CORS. It also needs a cool icon. Right now, I'm using one I downloaded from google after searching for "trust favicon". Big credits to BPIP's extension and their coders, since I just took a big chunk of code from their extension.

The "latestversion" link is cached for 1 hour to avoid making a new request for every page refresh.

Code:
// ==UserScript==
// @name         Loyce Trust List Viewer Button
// @version      0.1
// @description  adds a button under each user's profile with the latest link to Loyce's Trust Viewer list.
// @author       TryNinja
// @match        https://bitcointalk.org/index.php?topic=*
// @match        https://bitcointalk.org/index.php?action=profile;u=*
// @grant        none
// @credits      A big part of the code was taken (copy-pasted and modified) from BPIP's extension. https://bitcointalk.org/index.php?topic=5224821.0
// ==/UserScript==

(function() {
    const MAX_VALID_USER_ID = 1500000000;
    const PROFILE_URL_PREFIX = "https://bitcointalk.org/index.php?action=profile;u=";
    const LOYCE_TRUST_LAST_VERSION_URL = "https://loyce.club/trust/latestversion.txt";

    let LOYCE_TRUST_URL;
    let LOYCE_TRUST_URL_PROFILE;
    let LOYCE_TRUST_PROFILE_BUTTON_HTML;

    function injectLoyceTrustButtons() {
        LOYCE_TRUST_URL_PROFILE = LOYCE_TRUST_URL + "%%USERID%%.html";
        LOYCE_TRUST_PROFILE_BUTTON_HTML = '';

        if (window.location.href.startsWith(PROFILE_URL_PREFIX)) {
            const user_id = window.location.href.replace(PROFILE_URL_PREFIX, "");
            const user_name_cell = document.querySelector("tr.titlebg ~ tr td.windowbg table tr").lastElementChild;
            LOYCE_TRUST_PROFILE_BUTTON_HTML = LOYCE_TRUST_PROFILE_BUTTON_HTML.replace("%%USERID%%", user_id);
            setTimeout(() => {
                user_name_cell.innerHTML = user_name_cell.innerHTML + " " + LOYCE_TRUST_PROFILE_BUTTON_HTML;
            }, 50)
        } else {
            document.querySelectorAll("img[title='View Profile']")
                .forEach(img => {
                    let profile_box = img.parentElement.parentElement.parentElement;
                    let user_name_link = profile_box.querySelector("b > a");
                    let profile_link = profile_box.querySelector("div.smalltext a[href*='action=profile']");
                    if (user_name_link && profile_link) {
                        let user_id = user_name_link.getAttribute("href")
                            .replace(PROFILE_URL_PREFIX, "");
                        if (user_id > MAX_VALID_USER_ID) {
                            return;
                        }
                        const loyceTrustProfileFullURL = LOYCE_TRUST_URL_PROFILE.replace("%%USERID%%", user_id);

                        const loyceTrustButtonElement = document.createElement("a");
                        loyceTrustButtonElement.setAttribute('href', loyceTrustProfileFullURL);
                        loyceTrustButtonElement.setAttribute('target', '_blank');

                        const loyceTrustButtonImageElement = document.createElement("img");
                        loyceTrustButtonImageElement.setAttribute('src', 'https://i.imgur.com/2Gfqvto.png');
                        loyceTrustButtonImageElement.setAttribute('style', 'width: 16px; height: 16px;');
                        loyceTrustButtonImageElement.setAttribute('title', 'Loyce\'s Trust Viewer');

                        loyceTrustButtonElement.appendChild(loyceTrustButtonImageElement);
                        profile_link.before(loyceTrustButtonElement);
                    }
                });
        }
    }

    function getLatestLoyceTrustURL() {
        let cached = JSON.parse(localStorage.getItem('@btt-ninja-cache/loyce-trust-link'));

        if (!cached) {
            fetch(LOYCE_TRUST_LAST_VERSION_URL)
                .then((response) => response.text())
                .then(data => {
                    LOYCE_TRUST_URL = data;
                    cached = {
                        last_url: data,
                        time: Date.now()
                    };
                    localStorage.setItem('@btt-ninja-cache/loyce-trust-link', JSON.stringify(cached));
                    injectLoyceTrustButtons();
                });
        } else {
            LOYCE_TRUST_URL = cached.last_url;
            const oneHourAgo = Date.now() - 1000 * 60 * 60;

            if (cached.time < oneHourAgo) {
                localStorage.setItem('@btt-ninja-cache/loyce-trust-link', null);
            }

            injectLoyceTrustButtons();
        }
    }

    getLatestLoyceTrustURL();
})();
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Would it be possible to have a Firefox add-on button similar to the BPIP one on a user's profile page that takes you to the corresponding trust page for that week?
It would be great if the BPIP extension can include this. I suggest you suggest it in that topic Smiley

Can you implement HTTPS in your website?
I've had the suggestion before, but never got the time (or motivation) to implement it. I was hoping to have some time today, but things turned out differently.
Update: Done! I have installed certbot.

Loyce.club now redirects to https://loyce.club/ !
legendary
Activity: 2758
Merit: 6830
Can you implement HTTPS in your website? It can be done for free and quickly with https://letsencrypt.org

That would make it possible to do things like what Timelord2o67 said above (getting the latest list from /trust/latestversion.txt). Right now, you can't make unsecure non-https requests to the browser from an https website (like Bitcointalk).
Pages:
Jump to: