Author

Topic: Tag a user to update their broken image links (Read 1149 times)

legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Take the following recommendation with a pinch of salt (like I said, I've never run the script), but it looks to me like one way for the script (v1.6) to cope with the patch I mentioned earlier would be for line 156 to change from this:

Code: (Before)
const titleElement = postElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

To this:

Code: (After)
const titleElement = postElement.parentElement.parentElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

N.B. I'm talking about the update-everything version of the script, not the single-topic version.

Well, that's exactly what I was thinking.  I just didn't realize what had to change.

Thank you, @owerGlove for your help.
legendary
Activity: 2730
Merit: 7065
PowerGlove you never cease to amaze me. I will mention this post of yours in my OP to make other users aware of the fix until TryNinja updates his code and changes the problematic line. Hopefully he will post here to confirm he did.

Work like magic without any problem although the script couldn't go through locked topics but I'm very much happy with the results. got all my important images back.
I am glad you got most of your images back. You can always re-open the threads where you couldn't update the images, run the script again, and lock them afterwards. That is if it was you who closed those threads and not the mods.
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
Take the following recommendation with a pinch of salt (like I said, I've never run the script), but it looks to me like one way for the script (v1.6) to cope with the patch I mentioned earlier would be for line 156 to change from this:

Code: (Before)
const titleElement = postElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

To this:

Code: (After)
const titleElement = postElement.parentElement.parentElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

N.B. I'm talking about the update-everything version of the script, not the single-topic version.

Work like magic without any problem although the script couldn't go through locked topics but I'm very much happy with the results. got all my important images back.

hero member
Activity: 510
Merit: 4005
I think there is problem in code line 157, 194 and 261.
Thanks for that, I think I see what the problem is.

I think this fix is what broke it. (I mean, it's an early 2023 topic, but I updated that code recently and theymos applied the fix in May 2024. Since that change, bodies and titles aren't laid out exactly as they were before on the post/topic history page.)

Actually, looking back, it's probably why ChiBitCTy also struggled to get it working before being advised to try the single-topic version instead...

I haven't tested TryNinja's script myself, because, honestly, it always struck me as a bad idea to allow a piece of code like this (that is, one that's relying on invariants that it really shouldn't be) to go and edit a bunch of my posts. That being said, TryNinja is a highly competent programmer and his script is just about the only sane way for most users to update their images, so, yeah, I get why people have been happily using it. Smiley

Take the following recommendation with a pinch of salt (like I said, I've never run the script), but it looks to me like one way for the script (v1.6) to cope with the patch I mentioned earlier would be for line 156 to change from this:

Code: (Before)
const titleElement = postElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

To this:

Code: (After)
const titleElement = postElement.parentElement.parentElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')

N.B. I'm talking about the update-everything version of the script, not the single-topic version.
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
@joker_josue you didn't notice any changes to your images after unsuccessfully running the code, right?

I don't have images to change, as I already ran the script some time ago.
Furthermore, it only does something, if it is to change the image link, if there is nothing to change it does nothing.

It seems to me that it is actually something in the script, from what I understand it is not recognizing the title of the post and ends up giving an error and not moving forward.

Perhaps recent changes in the way post titles appear have no longer been recognized by the script. We have to wait for @TryNinja to see what might be going on.
legendary
Activity: 2730
Merit: 7065
@Igebotz
I don't know it it's browser-related, but have you tried with a different browser? You should probably also be logged in to your Bitcointalk account on the browser where you are running the code. Since two users have now reported that the code isn't working, I am afraid to test it on my end so as not to mess up my images somehow.

@joker_josue you didn't notice any changes to your images after unsuccessfully running the code, right?
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
I think there is problem in code line 157, 194 and 261. I did exactly as you instructed.



I did a test now and the same thing appeared to me...  Undecided

Take another test. Enter a topic that has images. Choose the "all" option for the entire topic to be loaded. Then run the script.
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
Am I supposed to run my Ctrl + Shift + F12 on any of my topics that needed fix or any page on the forum ( I ran the last one on this thread)

This only works on your posts.
You can try running the script on the "Show the last posts of this person." and it will update the information on all topics that have images.

I think there is problem in code line 157, 194 and 261. I did exactly as you instructed.

legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Am I supposed to run my Ctrl + Shift + F12 on any of my topics that needed fix or any page on the forum ( I ran the last one on this thread)

This only works on your posts.
You can try running the script on the "Show the last posts of this person." and it will update the information on all topics that have images.
hero member
Activity: 1036
Merit: 674
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.
I think this is a valid suggestion as, it would in one move eliminate all the hassle of having to go over to an image hosting site, uploading the image after adjusting it to a proper size although that could be done on the forum, copying the right link and placing it in the other for which we would want it.

A script could be put in place to perform this function just as it is with them avatar updates. Grant access to your device and select just the right image, the codes be there to allow for adjustment of size. It would be such improvement and we are sure it ain't getting scrapped with time.
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
If you copied the whole code properly and you are still getting an error message, I think you should post in TryNinja's thread and ask for help from him. I thought that by tagging him, he would see it and come here and say something. He mentions in his thread to make a post if any error messages occur. 

There are two contradictive instructions on his OP - it could be where I'm getting it wrong.

1.
3. Go to bitcointalk.org (any page).

2.
Run it on any topic and all images posted by you will be updated

Am I supposed to run my Ctrl + Shift + F12 on any of my topics that needed fix or any page on the forum ( I ran the last one on this thread)
legendary
Activity: 2730
Merit: 7065
If you copied the whole code properly and you are still getting an error message, I think you should post in TryNinja's thread and ask for help from him. I thought that by tagging him, he would see it and come here and say something. He mentions in his thread to make a post if any error messages occur. 
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
Not from the source code ( haven't seen where to input it yet) I'm seeing entirely different interface from my F12 page. After clicking on "inspect" I hit the wall ( saw something entirely different). I sent my baby steps screenshots to your PM.
After you click on the Console tab, you need to copy and paste the code that replaces the broken images. You can find it here. Make sure you copy everything, starting with the first line "(async () => {" and until the last one "})()"

If the image links are still available on Imgur's server, it will work. However, if Imgur deleted your links, there won't be anything to replace. Let me know if this works.

Got this error messages after i pasted the code and click 'Enter' i guess my Imgur images links are deleted from server or something...

legendary
Activity: 2730
Merit: 7065
Not from the source code ( haven't seen where to input it yet) I'm seeing entirely different interface from my F12 page. After clicking on "inspect" I hit the wall ( saw something entirely different). I sent my baby steps screenshots to your PM.
After you click on the Console tab, you need to copy and paste the code that replaces the broken images. You can find it here. Make sure you copy everything, starting with the first line "(async () => {" and until the last one "})()"

If the image links are still available on Imgur's server, it will work. However, if Imgur deleted your links, there won't be anything to replace. Let me know if this works.
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
I'm tagging myself as nothing seems to be working at my end. All my images are still broken, my management service thread, my Local board charts are all still broken.
Read both threads, read both instructions yet nothing is working.  Wink
Weird, I wonder why. I don't think anything changed, the steps should still be the same. When did you last try it and was it giving you some errors? Let's try to tag @TryNinja and bring him here. Perhaps he knows what's going on and what else you could try. 

Not from the source code ( haven't seen where to input it yet) I'm seeing entirely different interface from my F12 page. After clicking on "inspect" I hit the wall ( saw something entirely different). I sent my baby steps screenshots to your PM.
legendary
Activity: 2730
Merit: 7065
I'm tagging myself as nothing seems to be working at my end. All my images are still broken, my management service thread, my Local board charts are all still broken.
Read both threads, read both instructions yet nothing is working.  Wink
Weird, I wonder why. I don't think anything changed, the steps should still be the same. When did you last try it and was it giving you some errors? Let's try to tag @TryNinja and bring him here. Perhaps he knows what's going on and what else you could try. 
staff
Activity: 1316
Merit: 1610
The Naija & BSFL Sherrif 📛
It's been a while since I last saw a user with many broken old Imgur image links, but I just came across such a post and remembered this thread I created. However, I am not going to mention the name because I already did it months ago. I don't want to bother the same people multiple times if they don't feel like doing it.

@Everyone, if you notice users with broken image links, mention their names please.

I'm tagging myself as nothing seems to be working at my end. All my images are still broken, my management service thread, my Local board charts are all still broken.

Read both threads, read both instructions yet nothing is working.  Wink
legendary
Activity: 2730
Merit: 7065
It's been a while since I last saw a user with many broken old Imgur image links, but I just came across such a post and remembered this thread I created. However, I am not going to mention the name because I already did it months ago. I don't want to bother the same people multiple times if they don't feel like doing it.

@Everyone, if you notice users with broken image links, mention their names please.
legendary
Activity: 2730
Merit: 7065
It's more like that these users didn't want to offer their service anymore or didn't care the thread anymore since they are very old and outdated or something else.
You seem to be talking about the designers whose names you mentioned in your previous post. I wasn't referring to them. My comment is more of a general observation about regular posters who are still very active on the forum, know that they can fix their images because they are also active in Meta and/or have been tagged to do so, but still nothing happens. Considering the paranoia surrounding some Bitcoin users, I think they don't trust the code. And since many can't verify it, they don't want to touch it. 
hero member
Activity: 1554
Merit: 880
pxzone.online
There are active users on the forum who know about the possibility of how to update old images easily but still refuse to do it. Maybe they have doubts about the code, thinking it can somehow lead to their accounts being compromised.
A javascript code that was made by reputed user who already made different open source projects is very least of the problem. It's more like that these users didn't want to offer their service anymore or didn't care the thread anymore since they are very old and outdated or something else.
hero member
Activity: 798
Merit: 1045
Goodnight, ohh Leo!!! 🦅
How about the mobile users is there any chance to enable developer tools?

Or are there any mobile/website tools to scan all my posts with broken image links?
My plan is to find all my posts with broken images instead of using the script to automate everything I'd like to manually reupload them.
Exactly what I thought... I've not been tagged and I've got no idea if everyone else has - (or if its just for some certain group of picture-posting accounts) but it don't even make much sense to me anymore when i stumble on my post with image reference and nothing shows up after the little glitch..

I have not been looking forward to fixing this issue.
if it deems your interest, then you gotta fix them as you've got more post than some peeps in here.

Sandra 🧑‍🦰
legendary
Activity: 2730
Merit: 7065
There are active users on the forum who know about the possibility of how to update old images easily but still refuse to do it. Maybe they have doubts about the code, thinking it can somehow lead to their accounts being compromised. I know several people that have seen the threads but I am not going to call them out. I don't think it's laziness because you aren't doing much yourself. It's more work to log in to the forum and solve the captchas at times than to run the code and let it do its magic for half an hour.
hero member
Activity: 1554
Merit: 880
pxzone.online
I found these users who are still active but didn't yet use this tool obviously because their old threads with images has image proxy errors. Most of these are designers who usually post images of their works.

@xtraelv
@roslinpl
@izanagi narukami
@Maus0728

Edit: Maus0728 has been mentioned already but looks like he doesn't need it.
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Thank you for mentioning me Josue. Actually I have converted most of my works into talkimg on my portfolio thread, but I decide to leave the html banners, since bitcointalk doesnt use it anymore. Perhaps I'd just remove them to make the thread cleaner Smiley

I think the problem goes further. Because I was checking and some images are no longer available on imgur.

Personally, I think you should keep your work history (except for those jobs you prefer not to show - we always have some   Tongue ).
But, I believe you will make the best decisions.
legendary
Activity: 2730
Merit: 7065
OP is there any way to do the same function using Android? Kiwi and Mises browser giving some PC function but I don't know console will work here or not.
I don't think there is. I don't know of a way to trigger the Inspect Element feature on a mobile phone. Someone already asked about it in this thread before. Perhaps if you google it, you might be lucky and find something.

FYI, these are the 3 first search results if you google 'inspect element on Android'. Check if there is something there worth the time, but like always, be careful about downloading any weird software. I haven't checked the content or the suggestions on the below pages:

How to Inspect Element on Android Device?
How to Inspect Elements on Android?
How to Inspect Element on Android
legendary
Activity: 2982
Merit: 1506
Pie Baking Contest: https://tinyurl.com/2s3z6dee
I don't know if anyone has already done this, but take advantage of this topic to mention @jayce

As a designer with several works here on the forum, it is regrettable that most of his portfolio is not available, as can be seen here:
https://bitcointalksearch.org/topic/jayce-designs-logo-avatar-signature-banner-etc-1142066
https://bitcointalksearch.org/topic/my-old-thread-design-5246932

Therefore, @jayce it would be good to mention this situation. Here's a tip.  Wink


Thank you for mentioning me Josue. Actually I have converted most of my works into talkimg on my portfolio thread, but I decide to leave the html banners, since bitcointalk doesnt use it anymore. Perhaps I'd just remove them to make the thread cleaner Smiley
hero member
Activity: 812
Merit: 619
I don't know if anyone has already done this, but take advantage of this topic to mention @jayce

As a designer with several works here on the forum, it is regrettable that most of his portfolio is not available, as can be seen here:
https://bitcointalksearch.org/topic/jayce-designs-logo-avatar-signature-banner-etc-1142066
https://bitcointalksearch.org/topic/my-old-thread-design-5246932

Therefore, @jayce it would be good to mention this situation. Here's a tip.  Wink


Yes some designer and compaign managers topics are looking so bad with broken images. Tryninja have done a great job to make it easy for those who have large number of thread containing useful images where thread is almost looking spam within images. I have not tried this service so far because I am using Smart phone and have a low trust on pc after losing my wallet fund.



OP is there any way to do the same function using Android? Kiwi and Mises browser giving some PC function but I don't know console will work here or not.
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
I don't know if anyone has already done this, but take advantage of this topic to mention @jayce

As a designer with several works here on the forum, it is regrettable that most of his portfolio is not available, as can be seen here:
https://bitcointalksearch.org/topic/jayce-designs-logo-avatar-signature-banner-etc-1142066
https://bitcointalksearch.org/topic/my-old-thread-design-5246932

Therefore, @jayce it would be good to mention this situation. Here's a tip.  Wink
sr. member
Activity: 980
Merit: 282
Catalog Websites
Quote
Please don't PM users and bother them about their broken image links. You never know if someone might react negatively and report you for PM spam for whatever reason.

This right here is a major concern. If you go into PM just to let people know that they have issues with their links, it might have a negative impact on your account.

People don't get patient with certain kind of updates been brought to their termed private space. WHo cares about a broken link posted days or even weeks ago. The post has been made and informaton communicated and thats it. But mentions are actually more cool only if they have the notification bot will they get to find out though
legendary
Activity: 2730
Merit: 7065
Thank you very much bud for hitting up on me in relation to fixing the broken images on some of my threads on this forum, to be sincere with you, fixing those images is something Ive planned to do a long time ago, but I just haven't had the time to, and the thought of having to start uploading the images one after the other back to talkimg, and then come back here on the forum to start editing all the threads and replacing the broken imgur image links with the talkimg one is very discouraging on its own, and this is possibly why I havent fixed those since, because each time I Come around and see how many broken images I need to fixed, I immediately feel lazy and discouraged.
No problem. I am glad you did it. Uploading hundreds of images manually is not something anyone wants to do, that's why we now have the script that does all the hard work for you, and you only sit back and wait for it to finish. I just checked some of the threads where I noticed that you had broken images, and now they are fine. The images in your locked threads weren't replaced and can't be. I think you will have to unlock those topics manually (unless it was locked by the mods) and run the script again if, of course, you also want to replace those broken links.
legendary
Activity: 2422
Merit: 1083
Leading Crypto Sports Betting & Casino Platform
@Pmalek
Thank you very much bud for hitting up on me in relation to fixing the broken images on some of my threads on this forum, to be sincere with you, fixing those images is something Ive planned to do a long time ago, but I just haven't had the time to, and the thought of having to start uploading the images one after the other back to talkimg, and then come back here on the forum to start editing all the threads and replacing the broken imgur image links with the talkimg one is very discouraging on its own, and this is possibly why I havent fixed those since, because each time I Come around and see how many broken images I need to fixed, I immediately feel lazy and discouraged.

But just this evening, I got your mention through the btt notifier bot on telegram, from which I just discovered this thread, thank you very much and I will just go ahead now apply the fixing measures stated here, I will come back with the result.
legendary
Activity: 2730
Merit: 7065
A few users updated their broken Imgur image links in the last weeks. Let's see if we can continue down this road and get some more people to do it with a simple copy/paste of a piece of code with very little manual intervention. Tag someone if you have noticed that they have broken images and tell them it's easy to fix.
hero member
Activity: 784
Merit: 672
Top Crypto Casino
It's a great thread which can be very helpful for the all members of the forum and especially for the OP's who have created their posts and added that imgur embedded images which doesn't work anymore.

I have been thinking about this problem for sometime and I believe it needs to be tackled down. A great initiative by @Pmalek and I must tag and mention @Hhampuz so he can fix the broken images in his threads. Most of the old threads of @Hhampuz has broken images which need to be fixed and I believe after seeing this post he'll fix his threads.
legendary
Activity: 2730
Merit: 7065
@Ratimov
I can see that you have a lot of broken images, but some of the topics I checked don't have images from Imgur. The domain is i.ibb.co/. That's ImgBB, is it not?
If those images are still available on that host, TryNinja script can surely upload those links to TalkImg.
legendary
Activity: 2730
Merit: 7065
Actually thought this script only edits a post that has the Developer Tools window open, not until I realized it goes through all posts made by a user
There are different codes for both of those options. If you read TryNinja's thread, you will find the main code that corrects all broken links. But there is also one that works for specific threads/posts made by a user, and a correction code for mistakes that occurred with older versions of the code.

I read this thread title literally and understood it to be negative tag a user to update their broken image links
...
You would have used the word "mention" instead of tag. Like mention a user to update their broken image links
Yeah, I see how it can create confusion. But I think I will stick with calling it 'tagging' a user. I have heard of 'tag' in the context I used it many times on the forum. And we use a similar style of communication at work to get the attention of specific work colleagues. 
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Although there has already been a lot of talk and requests to change the images, in several topics, it seems that this has given new impetus to the update.

All together, let's make the forum a more enjoyable place to read.  Wink
legendary
Activity: 2226
Merit: 6947
Currently not much available - see my websitelink
Good idea!

Would like to mention @1miau - while I know you've already updated most of the threads, I stumbled across a thread that couldn't be more appropriate at this point in time.
I am referring to the "So wählt ihr die passende Gebühr für Bitcoin-Transaktionen" thread, which is about determining the right transaction fees considering the mempool.

I will keep this thread in mind and will gradually tag people when I come across their helpful threads with broken image links.

Hey  Smiley

I've updated all of my important topics recently, so looks like I've forgotten to edit one of it.
Topic contains all re-uploaded pictures on TalkImg now.  Smiley
"So wählt ihr die passende Gebühr für Bitcoin-Transaktionen"

In case anyone will come over more important pictures not being displayed correctly in my topics, please let me know.
sr. member
Activity: 630
Merit: 277
]Tag a user to update their broken image links
I read this thread title literally and understood it to be negative tag a user to update their broken image links. I was just wondering whether the problem at hand is worth a neg tag. But after reading the full body of the post, my curiosity was quenched.
You would have used the word "mention" instead of tag. Like mention a user to update their broken image links
legendary
Activity: 2968
Merit: 3684
Join the world-leading crypto sportsbook NOW!
Thank you for the tag. I don't otherwise peek in Meta and wouldn't have known. I'll fix this tomorrow, good sizzle.
legendary
Activity: 1876
Merit: 3132
What about this legendary member Rath_ for his helpful posts on lightning network.
The user was last active four months ago and posted last almost 8 months ago, a tag will not draw their attention.

Or will it? I will update my all of my Lightning Network threads soon. Thanks for tagging me.
hero member
Activity: 1834
Merit: 879
Rollbit.com ⚔️Crypto Futures
Actually thought this script only edits a post that has the Developer Tools window open, not until I realized it goes through all posts made by a user Grin nice nitty tool,  thanks @Pmalek for the easy-to-use guide, thanks @joker_josue for the API key & image hosting service, and finally thanks TryNinja for the script, the forum can look colorful once more without the "bitcointalk.org image proxy invalid image" message Cool  


Using @Pmalek message template..

Code:
@Hhampuz
@Royse777
@Igebotz
@buwaytress
@cryptofrka
@Trofo

Check below for more information and how to use the script.

[Script] Imgur to TalkImg - automatically fix your broken images
https://bitcointalksearch.org/topic/script-imgur-to-talkimg-automatically-fix-your-broken-images-5452662

Tag a user to update their broken image links
https://bitcointalksearch.org/topic/tag-a-user-to-update-their-broken-image-links-5474066
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Refixing the broken image is a good idea if everybody understand what you are saying. As it is really I didn't get you and if I am to upload my image again to talkImg  then my question is where is the image? I don't have the image in my phone and I can only see the image Link in the post without the image so how do upload again. Please if it can be upload through the link only without the image then please can you show us the steps to do that because I don't have the images in my device.

I will prefer a pictorial image step by step guide to get it done so that nobody will say I don't understand. When I tried the process, I came to discover that I don't have the images in my device, I have deleted them so I can't do anything about so I have to leave it. So if you can show the process with image guide I will be very appreciated.

You no longer have the images you uploaded, right?
Then you can use the TryNinja script, on a computer where everything is done automatically without any intervention on your part.

If you want to do everything manually, you can download the images and upload them back to TalkImg, or drag the image link to TalkImg, and it will upload it.
legendary
Activity: 2730
Merit: 7065
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.
But it doesn't have that feature and probably never will. Because of that other (3rd-party) solutions are required.

Tagging someone and requesting them to fix the broken images is a good idea, but it would be better if we tag and share the link to the particular post/topic that has broken images.
Why do one today, two tomorrow, and three next week if someone asks you, when you can automatically fix everything at once? It requires almost no work at all to get it done.

My concern is about those accounts that are ban, which already has some post with broken images is there a way to fix their broken images.
There is nothing we can do about banned and inactive accounts now. What everyone can do is fix their own image links.

How about the mobile users is there any chance to enable developer tools?
I really don't know. Try googling the issue and see what comes up.

My plan is to find all my posts with broken images instead of using the script to automate everything I'd like to manually reupload them.
I had hundreds of broken images. There is no way I would have spends days going through my posts and fixing those manually. I doubt many people would want to do that.

Btw, not everyone is using my bot or another tool that notifies you when you're tagged.
I know. But if we count your bot, LoyceV bot, and the fact that this thread is in Meta, which is a sub-board many people visit from time to time, it's a good start.
hero member
Activity: 700
Merit: 577
Hire Bitcointalk Camp. Manager @ r7promotions.com
_goes through your entire post history, finds Imgur links, uploads the images to TalkImg, and edits your posts with the new links

Refixing the broken image is a good idea if everybody understand what you are saying. As it is really I didn't get you and if I am to upload my image again to talkImg  then my question is where is the image? I don't have the image in my phone and I can only see the image Link in the post without the image so how do upload again. Please if it can be upload through the link only without the image then please can you show us the steps to do that because I don't have the images in my device.

I will prefer a pictorial image step by step guide to get it done so that nobody will say I don't understand. When I tried the process, I came to discover that I don't have the images in my device, I have deleted them so I can't do anything about so I have to leave it. So if you can show the process with image guide I will be very appreciated.
hero member
Activity: 770
Merit: 538
Leading Crypto Sports Betting & Casino Platform
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.

What about this legendary member Rath_ for his helpful posts on lightning network.

Yes, this is actually a valid point, and I agree. I sometimes wonder why we don't have the feature to upload images directly to the forum apart from using third party site. There are some members who might create very quality and educational topics and add some pictures. If, by coincidence, the image hosting site has issues and the member who posted those pictures is no longer an active member of the forum, that means the image is going to be left unfixed, and this is the reason why the forum is supposed to have its own image upload features.

I have come across some broken images, but I can't actually remember the user who had them. If I find any, I will tag them.
hero member
Activity: 812
Merit: 560
Fixing the image errors have been provided and the procedures are there, it's now left for someone to make a challenge to follow the procedures and fix them up or not, i believe a number had already done that, but some don't mind or care because their profile contains alot of these broken images and they think they don't have the time to create in fixing the images or feels it's unnecessary, the forum could also have it's own reasons for not allowing image upload, but since the solution to fix them are available, it's left to us to make decision on what next to do.
legendary
Activity: 966
Merit: 1042
#SWGT CERTIK Audited

Well, I partially agree with your suggestion of fixing it "manually". I wish to have it fixed automatically. Although we have been waiting for theymos to take some action, it looks like 'Do Nothing' has been selected, which I also agree with.

Tagging someone and requesting them to fix the broken images is a good idea, but it would be better if we tag and share the link to the particular post/topic that has broken images.

Hmm, Really good idea, I got your Tag alert last day, I was purely using Imgur for a long time and their sudden policy change impacted my posts for some of the Important topics I've updated the Images for the rest I'm not sure is it good to update them or not. Still I'll try the script in free time hehe currently going too busy these days.

For example, I want @Hamza2424 to fix the broken images in the posts https://bitcointalksearch.org/topic/m.61568821.

That's why I love TryNinja's "Single Topic" version.

This is the simplest and fastest solution to broken images. It will not update any of your old posts that you don't want to be touched. It will stay on a single page, and only the posts on that particular page will be updated.

Hmm, I've gone through this topic and found it helping but never tried haha, I'll manually update the posts from which I'll get tagged. Becasue almost most of the topics are still active and have shown some good responses in the past I've updated the Links.
sr. member
Activity: 658
Merit: 441
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.

Nice suggestion, but I don't think Theymos is going to listen to the request because this was asked when the imgur broken image issue came up. BTW, joker's talkimg is doing a fine job the forum.

Though from his explanation it seems very simple to fix broken images and one most not go one by follow to update their broken images due to his explanations. My concern is about those accounts that are ban, which already has some post with broken images is there a way to fix their broken images.

If you find the topic very interesting and you've the time, you can repost it with the broken links fixed and cite the user as the original author. Someone did that recently for a topic that the user is no more active on the forum, and it's a good way to keep those topics alive.
HCP
legendary
Activity: 2086
Merit: 4361
Firstly, amazing script... fantastic work. Made the image transfer and post modifications a mostly painless process.  Cool

Although, I did have a couple of issues with the script... it was "hard crashing" on one post that had some "interesting" text in it. It didn't like all the URL text at all Tongue


So, I simply made a backup of the original post text, then removed all the url text, restarted the script and, once it finished, edited back in the original text.


Additionally, there were 2 or 3 other posts that ended up returning a "(403) Forbidden" when the script attempted the POST to edit the image URLs:


The posts in question definitely weren't in locked threads etc, as I was able to manually upload the images to TalkImg and then manually edit the image URLs into the posts, so I'm not sure what happened with those.

Thankfully it was only 2 or 3 posts out of my 10000+ posts Shocked over 514 pages that the script had to check and only about 3 or 4 pics in total, so it wasn't really a big deal. Tongue Wink


Again, great work on the script... and a huge shout out to joker_josue for setting up TalkImg.



legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
I have not been looking forward to fixing this issue.
I likely have 1000posts with broken links..

I suppose I could start

You should have already taken care of that!  Roll Eyes

Doing it manually takes a while, but with the script in a few minutes or a little more (it really depends on the number of images), you can make this update quickly and with little work. Wink
hero member
Activity: 882
Merit: 654
Leading Crypto Sports Betting & Casino Platform
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.

What about this legendary member Rath_ for his helpful posts on lightning network.
Tagging alone will not solve this problem and there are people who would be tagged but will not still respond to it as it might not be their priority for months even years as our focuses and commitments vary daily.

There are some that have a very good topic with images that would be absent for only God knows when as well, which is why I believe that the error shouldn't have happened in the first place instead of calling the attention of those who had forgotten they've even written a post to come back to it.

Personally, I will try the fixing advice of OP in my spare time, but my hope is for this not to persist as other image hosting sites are being threatened too. Some are now off and on with their images here, who knows what will happen soon again? Will users continue to be fixing and fixing?
legendary
Activity: 2758
Merit: 6830
Actually, not many users use notification bots. According to TryNinja, there are 600 users till March 2023. I guess not many users increased since then.
3 years of service
660 total users

maybe there are a bunch of Loyce.club notification users. But I don't know to number until he shares.
Up to date data:

857 users
754 topics tracked by 144 users
804 boards tracked by 101 users
187 phrases tracked by 73 users
120 users ignored by 24 users

6k ~ 8k notifications per day



Loyce's page is open to everyone, so you can count 90 users: https://loyce.club/notifications
hero member
Activity: 462
Merit: 767
Instant cryptocurrency exchange with own reserves!
This could be a good solution. Even though this is a good tool to fix the images, most of the forum members are not aware of it and some may find it too difficult to use. So, it's a kind of guide thread which I believe helps them understand how it works. Still, there are some inactive members who won't come online anymore and we won't be able to fix those images. This is why I had to repost a thread a few weeks ago.

...we can use to tag active Bitcointalk members we find who still have broken Imgur images in their posts. It will help to clean up the forum and make it look better. Most users use a notifications bot nowadays, so a simple @username should do the trick and make them aware of this topic.

Actually, not many users use notification bots. According to TryNinja, there are 600 users till March 2023. I guess not many users increased since then.
3 years of service
660 total users

maybe there are a bunch of Loyce.club notification users. But I don't know to number until he shares.

hero member
Activity: 770
Merit: 482
Please don't PM users and bother them about their broken image links. You never know if someone might react negatively and report you for PM spam for whatever reason. Just mention their username and tag them here; if they want, they will respond. If not, give it up and don't bother them anymore.

I was about to ask this question. What if the author ignores your mentions too? I should give up as you said. User @SquirrelJulietGarden has a good thread about Create Taproot address for your Bitcoin which was even mentioned in our local thread. I was very much interested but the images are broken. User SFR10 and I requested this user to fix the images by commenting in his thread but we did not get any response from him. So, I assume he do not use any kind of notification bot or he simply decided to ignore both of us? Could be?
legendary
Activity: 4326
Merit: 8914
'The right to privacy matters'


I have not been looking forward to fixing this issue.
I likely have 1000posts with broken links..

I suppose I could start
legendary
Activity: 2492
Merit: 1232
Good idea.
Those who found this thread may also check their post history and fix the broken link images themselves don't wait to be tagged.
I found too many on my last topic started which most commonly we post images on a thread that we started, if I have time I will fix it and I hope others will do the same.

Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.
I tend to agree with this.
But TalkImg might have existed for a long time since it was taken care of by one of the forum members.
HCP
legendary
Activity: 2086
Merit: 4361
@HCP
Working on it... was waiting for joker_josue to setup my TalkImg account. Wink

Script is currently running... might take a while:


 Shocked Grin Tongue


hero member
Activity: 1554
Merit: 880
pxzone.online
The script only works for posts made by the logged acount. You can't just run it on a random topic and expect the images to get fixed for everyone, the author needs to that himself.
Ah, my bad. So it won't work after all. So we are still stuck on the point where the op is inactive for them to do this. Also those who are not using the telegram bot won't be notified too. So only the PM works to notify them this time...
legendary
Activity: 2758
Merit: 6830
I guess we can do it by ourselves, i have more time so i can do it too. Coz if i read it right, the script works even if you're not the OP just by copy pasting the script in developer tool window. The main problem is what are the threads need fixing.
The script only works for posts made by the logged acount. You can't just run it on a random topic and expect the images to get fixed for everyone, the author needs to that himself.

Btw, not everyone is using my bot or another tool that notifies you when you're tagged.
hero member
Activity: 1554
Merit: 880
pxzone.online
I guess we can do it by ourselves, i have more time so i can do it too. Coz if i read it right, the script works even if you're not the OP just by copy pasting the script in developer tool window. The main problem is what are the threads need fixing.
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.
Certainly not this current forum software, as far as I Know. Maybe if we migrate to a new forum software that is being worked on for years.

The problem is not in the software. This feature was never active, so that the administration would not have to manage an image bank, nor would it have to deal with possible legal issues with that bank.
copper member
Activity: 2114
Merit: 1814
฿itcoin for all, All for ฿itcoin.
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.
Certainly not this current forum software, as far as I Know. Maybe if we migrate to a new forum software that is being worked on for years.

How about the mobile users is there any chance to enable developer tools?
I don't think this is possible

Or are there any mobile/website tools to scan all my posts with broken image links?
My plan is to find all my posts with broken images instead of using the script to automate everything I'd like to manually reupload them.
Wouldn't that take ages?



I haven't yet updated mine too, maybe will do it over this week.
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
November 14, 2023, 04:06:58 PM
#9
The initiative is good, especially to try to motivate active users. Unfortunately, many of the topics that have this problem are also from users who are not active.

Alternatively, someone can re create such useful threads and fix the broken links.

The idea of replicating the posts may be interesting, but this can generate some confusion and problems such as possible plagiarism arguments.
legendary
Activity: 1316
Merit: 2018
November 14, 2023, 04:00:40 PM
#8
Good idea!

Would like to mention @1miau - while I know you've already updated most of the threads, I stumbled across a thread that couldn't be more appropriate at this point in time.
I am referring to the "So wählt ihr die passende Gebühr für Bitcoin-Transaktionen" thread, which is about determining the right transaction fees considering the mempool.

I will keep this thread in mind and will gradually tag people when I come across their helpful threads with broken image links.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
November 14, 2023, 03:43:15 PM
#7
How about the mobile users is there any chance to enable developer tools?

Or are there any mobile/website tools to scan all my posts with broken image links?
My plan is to find all my posts with broken images instead of using the script to automate everything I'd like to manually reupload them.
hero member
Activity: 1428
Merit: 653
Leading Crypto Sports Betting & Casino Platform
November 14, 2023, 02:11:59 PM
#6
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.

What about this legendary member Rath_ for his helpful posts on lightning network.

Though from his explanation it seems very simple to fix broken images and one most not go one by follow to update their broken images due to his explanations. My concern is about those accounts that are ban, which already has some post with broken images is there a way to fix their broken images.
copper member
Activity: 1526
Merit: 2890
November 14, 2023, 02:03:15 PM
#5
We had thousands of broken image links after Imgur stopped working on the forum. Many users have replaced their old links and migrated to other services, like TalkImg. But there are still many images to fix. I didn't do anything with my old Imgur images until two days ago when I decided to try TryNinja's Imgur to TalkImg script. Everything has been corrected now.
~

Well, I partially agree with your suggestion of fixing it "manually". I wish to have it fixed automatically. Although we have been waiting for theymos to take some action, it looks like 'Do Nothing' has been selected, which I also agree with.

Tagging someone and requesting them to fix the broken images is a good idea, but it would be better if we tag and share the link to the particular post/topic that has broken images.

For example, I want @Hamza2424 to fix the broken images in the posts https://bitcointalksearch.org/topic/m.61568821.

That's why I love TryNinja's "Single Topic" version.

This is the simplest and fastest solution to broken images. It will not update any of your old posts that you don't want to be touched. It will stay on a single page, and only the posts on that particular page will be updated.

"Single Topic" version

Get the code here: https://gist.github.com/ninjastic/59bde80306c32153a5775b9a570b16b7

Run it on any topic and all images posted by you will be updated.

IMPORTANT: only images that are shown on the screen! This means that if you are on page 1, the script won't update the images on page 2. You can use the ;all page on the forum to make all posts show up all at once (probably won't work properly if the topic is huge?).
hero member
Activity: 644
Merit: 661
- Jay -
November 14, 2023, 01:32:39 PM
#4
What about this legendary member Rath_ for his helpful posts on lightning network.
The user was last active four months ago and posted last almost 8 months ago, a tag will not draw their attention.

Alternatively, someone can re create such useful threads and fix the broken links.

- Jay -
legendary
Activity: 1652
Merit: 1208
Gamble responsibly
November 14, 2023, 01:17:14 PM
#3
Forum itself needs to enable image uploading feature so that we will not depend on any third party before we can upload image and also that there will not be any issue like thus that we should fix anything.

What about this legendary member Rath_ for his helpful posts on lightning network.
legendary
Activity: 2730
Merit: 7065
November 14, 2023, 12:59:59 PM
#2
@HCP
@Lucius
@mocacinno
@Maus0728
@dkbit98
@The Sceptical Chymist
@abel1337
@crwth

Please fix your broken Imgur images by using the automated script that TryNinja created.

Check below for more information and how to use the script.

[Script] Imgur to TalkImg - automatically fix your broken images
https://bitcointalksearch.org/topic/script-imgur-to-talkimg-automatically-fix-your-broken-images-5452662

Tag a user to update their broken image links
https://bitcointalksearch.org/topic/tag-a-user-to-update-their-broken-image-links-5474066
legendary
Activity: 2730
Merit: 7065
November 14, 2023, 12:59:09 PM
#1
We had thousands of broken image links after Imgur stopped working on the forum. Many users have replaced their old links and migrated to other services, like TalkImg. But there are still many images to fix. I didn't do anything with my old Imgur images until two days ago when I decided to try TryNinja's Imgur to TalkImg script. Everything has been corrected now.


Because it's so easy to use and fully automated, I figured I should create this thread that we can use to tag active Bitcointalk members we find who still have broken Imgur images in their posts. It will help to clean up the forum and make it look better. Most users use a notifications bot nowadays, so a simple @username should do the trick and make them aware of this topic.

TryNinja explains how to work with the script here: [Script] Imgur to TalkImg - automatically fix your broken images. Please read it.
You will find the code for the script in his OP, but here it is again for reference: https://gist.github.com/ninjastic/36c14fb2eb1c4b750f40f332d408688f
Always verify and compare the provided link above to see if it's the same as in TryNinja's topic before you use it!


Simple how-to guide:
The code goes through your entire post history, finds Imgur links, uploads the images to TalkImg, and edits your posts with the new links.
The script doesn't require your forum login data, and you don't have to edit the code in any way (unless you want to) for it to work.
Modifying the code to fix images from other image hosts is possible if needed. In my example, I had some pictures on vgy.me that were deleted.  

1. Copy the codebase from the official gist.github link. The link is provided above.
2. Open any Bitcointalk forum page.
3. Click F12 or right-click with your mouse and select 'Inspect' to open the Developer Tools window.
4. Click on the 'Console' tab, which you can find between 'Elements' and 'Sources'.
5. Paste the code from gist.github and click enter.
6. Let it work until it reaches 100%. Don't use the forum for browsing and posting during the image upload process to avoid issues.


If you have questions or run into problems, please post them in TryNinja's topic > [Script] Imgur to TalkImg - automatically fix your broken images.  

Please don't PM users and bother them about their broken image links. You never know if someone might react negatively and report you for PM spam for whatever reason. Just mention their username and tag them here; if they want, they will respond. If not, give it up and don't bother them anymore.

Use any message you want. Here is an example that I will start with.

Quote
@insert username here,
Please fix your broken Imgur images by using the automated script that TryNinja created.

Check below for more information and how to use the script.

[Script] Imgur to TalkImg - automatically fix your broken images
https://bitcointalksearch.org/topic/script-imgur-to-talkimg-automatically-fix-your-broken-images-5452662

Tag a user to update their broken image links
https://bitcointalksearch.org/topic/tag-a-user-to-update-their-broken-image-links-5474066

I would like to thank TryNinja for creating the script and joker_josue for TalkImg!  
Jump to: