Pages:
Author

Topic: [Shut Down] BlackHatCoiner's Blockchain Stats BBCode Depicter - page 2. (Read 987 times)

copper member
Activity: 1526
Merit: 2890
Thanks! I added them. I still don't get why to do it, though. There's no sensitive information transferred other than the IP address, but that is transferred whether you use http or https.

It's working I have tested, actually it will work for all the new requests but for all those request which are already cashed by browsers need to be refreshed manually or let the browser decide. But once it will refresh it won't be cashed any more.

Thanks! I added them. I still don't get why to do it, though. There's no sensitive information transferred other than the IP address, but that is transferred whether you use http or https.

It should have worked can you please try this, just make sure you are changing in the correct .htaccess file related to same website
Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Edit:

Opps sorry to tell you, yes your price URL is perfect, but unfortunately it's not going to work here on BitcoinTalk reason is because browser doesn't see the same URL . Your price URL will be replaced by bitcointalk image proxy. It will be something like

src="https://ip.bitcointalk.org/?u=https%3A%2F%2Fblackhatcoiner.com%2Fprice%2F&t=630&c=_BnnItB_xeGbWA"

And of course browser will cache this, so there is no way you can control this and yes my first statement was correct you can blame theymos for this (again that's not a bug or issue it is suppose to be like this).

If you test your URL directly in the browser you will see it works fine and refreshes price every time https://blackhatcoiner.com/price
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
Since you are using PHP I guess if you add some headers to your PHP response I guess it won't cache and will request browser not to cache this response, something like
I added those in my php file (for /price/). Still, it doesn't seem to help. You still need to clear your cache in order to view the correct price.

No need to block HTTP you can simply redirect all your "http" traffic to "https", if you have access to your .htaccess file just add below lines
Thanks! I added them. I still don't get why to do it, though. There's no sensitive information transferred other than the IP address, but that is transferred whether you use http or https.
copper member
Activity: 1526
Merit: 2890
The header that controls the "https" of your website is not configured correctly.

I mean what's the problem with that. There's no sensitive information transferred such as email addresses or passwords.

I think he's trying to tell you to add the HSTS (or maybe it was called something else, can't remember now lol) header to your web server responses so that you block HTTP connections and only serve HTTPS (like Google).

No need to block HTTP you can simply redirect all your "http" traffic to "https", if you have access to your .htaccess file just add below lines

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
The header that controls the "https" of your website is not configured correctly.

I mean what's the problem with that. There's no sensitive information transferred such as email addresses or passwords.

I think he's trying to tell you to add the HSTS (or maybe it was called something else, can't remember now lol) header to your web server responses so that you block HTTP connections and only serve HTTPS (like Google).
copper member
Activity: 1526
Merit: 2890

Bitcoin Price (BTC/USD):


Code:
[abbr=BlackHatCoiner's Blockchain Stats BBCode Depicter][url=https://bitcointalksearch.org/topic/shut-down-blackhatcoiners-blockchain-stats-bbcode-depicter-5366056][img]https://blackhatcoiner.com/price/[/img][/url][/abbr]



Something now right? in browser atm price is shown $60,970, but when using BBCode it shows $62,200.

I think theymos is cashing and not refreshing images on every request?

BBCode


Browser




Edit:

Sorry my bad.. already answered  Kiss

And as fix I suggest the good old CTRL-F5. It works.

I was searching for a way to solve this. At the moment, I'll just use this as a temporary solution. Thanks!

So it's browser cash issue... well it's a feature not an issue but still :p

Since you are using PHP I guess if you add some headers to your PHP response I guess it won't cache and will request browser not to cache this response, something like

Code:
header ("Pragma-directive: no-cache");
header ("Cache-directive: no-cache");
header ("Cache-control: no-cache");
header ("Pragma: no-cache");
header ("Expires: 0");
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Didn't you have a project that shows these stats in txt?
I have, but only for daily data, not real-time. And it's been offline for months Sad
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
Simply the idea is to automatically put shortcuts to links at the end of each topic, all a person has to do is click on the link to insert the code.
Done!

The link for the userscript can be found either here or at my github. Install it and tell me if I should change anything. I had never coded a userscript before, so I need some feedback. I think that I should put them inside Additional Options. What do you say?

I can imagine it's going to be very resource intensive to check each new block against a database of all addresses that are ever used (this is a very long list), so I'm not sure how viable this idea is.
Didn't you have a project that shows these stats in txt?
legendary
Activity: 2492
Merit: 3612
Buy/Sell crypto at BestChange
I just read what a userscript is. Would you mind explaining to me how would that help?
you can read full list of Bitcointalk userscripts here ---> https://bitcointalksearch.org/topic/list-bitcointalkorg-userscripts-add-ons-smf-patches-5148488

The proposal I was talking about is based on this ----> User Script: Automatically remove nested quotes v1.1.1


Simply the idea is to automatically put shortcuts to links at the end of each topic, all a person has to do is click on the link to insert the code.

so in above image instead of ( Full text | Latest quote | ~snip~ ), you can add ( Price | Low fee | Mining Hash Rate)

The user does not need to manually type and modify BBcode.



legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I'm not sure if it's useful but I like those: total funded addresses (per category 1/3/bc1q) and total number of used addresses?
Hmm, that's challenge since I'll have to connect my VPS to my home node and also install a script on my RPi 4 that will show this kind of information. Do you know if there are block explorer implementations that provide these?
I don't know any explorer that shows total funded addresses. I can imagine it's going to be very resource intensive to check each new block against a database of all addresses that are ever used (this is a very long list), so I'm not sure how viable this idea is.

Quote
why have you added this alt parameter inside img? Shouldn't I just add an abbr tag?
Good point, that's much better Smiley
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
I'm not sure if it's useful but I like those: total funded addresses (per category 1/3/bc1q) and total number of used addresses?
Hmm, that's challenge since I'll have to connect my VPS to my home node and also install a script on my RPi 4 that will show this kind of information. Do you know if there are block explorer implementations that provide these?

A suggestion: Add a link to this topic and alt-tag to all images to make it easier to use for anyone who sees it
Yep, but why have you added this alt parameter inside img? Shouldn't I just add an abbr tag? Example:


Code:
[abbr=BlackHatCoiner's Blockchain Stats BBCode Depicter][url=https://bitcointalksearch.org/topic/shut-down-blackhatcoiners-blockchain-stats-bbcode-depicter-5366056][img]https://blackhatcoiner.com/price/[/img][/url][/abbr]

Too late: changing the URL will break all existing quotes. Looks like you're stuck with your invaluable domain forever now
I meant that I'll keep both and redirect anyone who enters blackhatcoiner.com/ to bttbb.com/. You will be able to img both blackhatcoiner.com and bttbb.com.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Do you want me to add something?
I'm not sure if it's useful but I like those: total funded addresses (per category 1/3/bc1q) and total number of used addresses?

Another one: the percentage of empty block space in the last 1 or 24 hours. If this goes down, I expect fees to go up.

Add New Domain: If you have some money, the brief domain will be better like BTTBB.com (bitcointalk BBcode)
I do have some money. If I see it gaining resonance, I'll buy it. At the moment, I'll leave it on the invaluable blackhatcoiner dot com.
Too late: changing the URL will break all existing quotes. Looks like you're stuck with your invaluable domain forever now Cheesy
member
Activity: 189
Merit: 52
In a world of coins, use them.
The header that controls the "https" of your website is not configured correctly.

I mean what's the problem with that. There's no sensitive information transferred such as email addresses or passwords.

Yes, but having a "Secure" tag on your website when viewed in the browser makes websites seem more professional, im not your dad so im not gonna tell you what to do, I am just telling you what was flagged.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
The header that controls the "https" of your website is not configured correctly.

I mean what's the problem with that. There's no sensitive information transferred such as email addresses or passwords.
member
Activity: 189
Merit: 52
In a world of coins, use them.
There was one issue though, your Transport Policy header is either non-existent or not configured correctly.

Oh... So, what does that mean? How does this affect the user?

The header that controls the "https" of your website is not configured correctly.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
There was one issue though, your Transport Policy header is either non-existent or not configured correctly.

Oh... So, what does that mean? How does this affect the user?
member
Activity: 189
Merit: 52
In a world of coins, use them.
Hey BlackHatCoiner!

You have a pretty rockin' website, so I decided to scan it for vulnerability issues and you're website was almost completely secure. There was one issue though, your Transport Policy header is either non-existent or not configured correctly. If this is intentional, great! If not, here is the documentation to help fix it: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security

Great site design btw Cheesy
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
Add userscript: You can create userscript that add options automatically instead of manually writing it.
I just read what a userscript is. Would you mind explaining to me how would that help?

Add price for each platform: Add the price of bitcoin from a specific platform
Controversial; how will it remain simple? At the moment you just enter the website url with a slash and a “price”. (With a slash)

Average fees for the network: Adding the best average is currently fantastic.
I've already done this.

Add New Domain: If you have some money, the brief domain will be better like BTTBB.com (bitcointalk BBcode)
I do have some money. If I see it gaining resonance, I'll buy it. At the moment, I'll leave it on the invaluable blackhatcoiner dot com.
legendary
Activity: 2492
Merit: 3612
Buy/Sell crypto at BestChange
It's good I can think of the following:

 - Add userscript: You can create userscript that add options automatically instead of manually writing it.
 - Add price for each platform: Add the price of bitcoin from a specific platform
 - Average fees for the network: Adding the best average is currently fantastic.
 - Add New Domain: If you have some money, the brief domain will be better like BTTBB.com (bitcointalk BBcode)

legendary
Activity: 1344
Merit: 6415
Farewell, Leo
And as fix I suggest the good old CTRL-F5. It works.

I was searching for a way to solve this. At the moment, I'll just use this as a temporary solution. Thanks!
legendary
Activity: 3500
Merit: 6205
Looking for campaign manager? Contact icopress!
Done.
I added a low, medium and high fee. I think we should leave it that simple.

Perfect! Thank you!

Do images update on your Chrome? Just to be sure, could you open a Firefox and a Chrome and refresh the page? I think that in Firefox it works properly, but in Chrome you have to open them in another window to refresh their results. There must be troubles with cache involved.

I can reproduce the mentioned issue (easiest visible at current price) on Chrome and Edge too (also Chromium).
And as fix I suggest the good old CTRL-F5. It works.
Pages:
Jump to: