State of the Brontos

User avatar
Upthorn
Posts: 1032
Joined: Wed Jan 22, 2014 5:41 pm
Location: mastodon.social/@upthorn
Contact:

Re: State of the Brontos

Postby Upthorn » Sat Jan 21, 2023 2:02 am

hngkong wrote:
Upthorn wrote:Did beatbandito's avatar disappear for everyone else, or just me?


Still showing up for me.


I guess it must still be in your browser cache. Tried opening the image in new tab and got

Code: Select all

This brontoforum.us page can’t be found

No webpage was found for the web address:
https://brontoforum.us/download/file.php?avatar=95_1618187414.gif

HTTP ERROR 404
How fleeting are all human passions compared with the massive continuity of ducks.

User avatar
beatbandito
Posts: 4309
Joined: Tue Jan 21, 2014 8:04 am

Re: State of the Brontos

Postby beatbandito » Sat Jan 21, 2023 6:15 am

spooky
Image

User avatar
Yoji
Posts: 1449
Joined: Mon Apr 04, 2016 4:12 pm
Location: Screamtown

Re: State of the Brontos

Postby Yoji » Tue Feb 14, 2023 8:59 pm

Scene: Kiddo 01 and I, looking over the #Tell Friday thread for silly cat pictures, as we do

Kiddo 01: (pointing at the forum wallpaper) "what is that?"
Yoji: "Oh, just the wallpaper for the Brontoforums." (opens background image) "Just cool dinosaur bones and stuff."
K1: "why are there girls there?"
Y: "I... don't know. I thought she was a shaman or something? Come to think of it, I've wondered where that came from for a while now."

This seems as good a place to ask as any: Where did that wallpaper come from, anyway?
Image: Mention something from KPCC or Rachel Maddow
Image: Go on about Homeworld for X posts

User avatar
Mongrel
Posts: 21354
Joined: Mon Jan 20, 2014 6:28 pm
Location: There's winners and there's losers // And I'm south of that line

Re: State of the Brontos

Postby Mongrel » Tue Feb 14, 2023 9:29 pm

Mothra found it online (DeviantArt?) years back and asked the artist nicely if we could use it for our forum background.
Image

User avatar
Mothra
Woah Dangsaurus
Posts: 3966
Joined: Mon Jan 20, 2014 7:12 pm
Location: Boston, MA
Contact:

Re: State of the Brontos

Postby Mothra » Thu Feb 16, 2023 2:54 am

Yoji wrote:Scene: Kiddo 01 and I, looking over the #Tell Friday thread for silly cat pictures, as we do

Kiddo 01: (pointing at the forum wallpaper) "what is that?"
Yoji: "Oh, just the wallpaper for the Brontoforums." (opens background image) "Just cool dinosaur bones and stuff."
K1: "why are there girls there?"
Y: "I... don't know. I thought she was a shaman or something? Come to think of it, I've wondered where that came from for a while now."

This seems as good a place to ask as any: Where did that wallpaper come from, anyway?

Yep, it was used with permission by the artist, "Yana Moskaluk", back on 2014.

You can see it on their website, here: https://yanamoskaluk.com/

If you scroll down, it's listed under "Dino Pattern" around the bottom.

Lady
Posts: 198
Joined: Tue Jan 28, 2014 11:59 pm

Re: State of the Brontos

Postby Lady » Sun Mar 26, 2023 4:01 pm

you saw nothing

Lady
Posts: 198
Joined: Tue Jan 28, 2014 11:59 pm

Re: State of the Brontos

Postby Lady » Sun Mar 26, 2023 4:03 pm

I assume I fat-fingered moved some phpbb install file while dicking around in the online file manager. You all got a free upgrade to phpbb 3.1.12 as a result.

User avatar
Mongrel
Posts: 21354
Joined: Mon Jan 20, 2014 6:28 pm
Location: There's winners and there's losers // And I'm south of that line

Re: State of the Brontos

Postby Mongrel » Fri Apr 21, 2023 1:33 pm

Have Twitter embeds completely stopped working for anyone else on the board? I'm on Waterfox and don't have anything relevant blocked, I think.
Image

User avatar
Thad
Posts: 13250
Joined: Tue Jan 21, 2014 10:05 am
Location: 1611 Uranus Avenue
Contact:

Re: State of the Brontos

Postby Thad » Fri Apr 21, 2023 1:53 pm

if i say yes, will you stop posting them

User avatar
Mongrel
Posts: 21354
Joined: Mon Jan 20, 2014 6:28 pm
Location: There's winners and there's losers // And I'm south of that line

Re: State of the Brontos

Postby Mongrel » Fri Apr 21, 2023 2:32 pm

Thad wrote:if i say yes, will you stop posting them

Probably going to do that regardless, but like, I think you know that I've been barely doing that anyway and at this point others are posting more Twitter links than I am.

Y'KNOW
Image

User avatar
Upthorn
Posts: 1032
Joined: Wed Jan 22, 2014 5:41 pm
Location: mastodon.social/@upthorn
Contact:

Re: State of the Brontos

Postby Upthorn » Sat Apr 22, 2023 6:24 am

Mongrel wrote:Have Twitter embeds completely stopped working for anyone else on the board? I'm on Waterfox and don't have anything relevant blocked, I think.

It's an ad-block issue. I have to turn off Vivaldi's default blocking for the embeds to work, but oddly enough they work fine with uBlock Origin still on.

(Sorry, Thad)
How fleeting are all human passions compared with the massive continuity of ducks.

User avatar
Mongrel
Posts: 21354
Joined: Mon Jan 20, 2014 6:28 pm
Location: There's winners and there's losers // And I'm south of that line

Re: State of the Brontos

Postby Mongrel » Sat Apr 22, 2023 1:09 pm

Upthorn wrote:
Mongrel wrote:Have Twitter embeds completely stopped working for anyone else on the board? I'm on Waterfox and don't have anything relevant blocked, I think.

It's an ad-block issue. I have to turn off Vivaldi's default blocking for the embeds to work, but oddly enough they work fine with uBlock Origin still on.

(Sorry, Thad)

Weird. Pretty sure Waterfox has no inherent blocking and uBlock Origin isn't blocking anything (turned it off to test anyway) and I don't use any other adblocker in conjunction with uBlock. NoScript isn't the culprit either.

EDIT: Looked in userchrome and about:config, didn't see anything obvious. Hmmmmmmm

EDIT2: Turned out to be Waterfox's inherent tracking protections. Annoying that I can't carve out per-website exceptions... maybe there's an extension for that.
Image

User avatar
Mazian
Posts: 520
Joined: Sat Jan 25, 2014 3:47 pm
Location: Lullaby Supermarket

Re: State of the Brontos

Postby Mazian » Sat Apr 22, 2023 1:48 pm

As a semi-related feature request – which I don't know the practicality of – when an embedded tweet has been deleted, is there a way to display a failure message inside the post? At the moment, it just doesn't display anything at all, which makes some old posts confusing unless you quote them to see that there's an invisible embed inside.

User avatar
Mothra
Woah Dangsaurus
Posts: 3966
Joined: Mon Jan 20, 2014 7:12 pm
Location: Boston, MA
Contact:

Re: State of the Brontos

Postby Mothra » Sat Apr 22, 2023 9:46 pm

Mazian wrote:As a semi-related feature request – which I don't know the practicality of – when an embedded tweet has been deleted, is there a way to display a failure message inside the post? At the moment, it just doesn't display anything at all, which makes some old posts confusing unless you quote them to see that there's an invisible embed inside.

Well, here's the code for the current Twitter embed.

If you (or someone else) knows how to add that into the code here, I'm happy to replace it:

Code: Select all

<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={IDENTIFIER}&callback=loadx"></script>
<div class='twitter' onLoad='loadx().html'/></div>

User avatar
Mazian
Posts: 520
Joined: Sat Jan 25, 2014 3:47 pm
Location: Lullaby Supermarket

Re: State of the Brontos

Postby Mazian » Sun Apr 23, 2023 11:57 am

Not my expertise, but as an unrelated modification, appending &dnt=true to the api.twitter.com URL will prevent* the embedded tweet from being used in personalized ads/suggestions**.

* Supposedly.
** Assuming anyone here both still has a Twitter account, and didn't disable personalized ads immediately upon creating it.

User avatar
Thad
Posts: 13250
Joined: Tue Jan 21, 2014 10:05 am
Location: 1611 Uranus Avenue
Contact:

Re: State of the Brontos

Postby Thad » Sun Apr 23, 2023 12:22 pm

This is back-of-the-napkin and I've never looked at the Twitter API, but I'd probably start by changing

Code: Select all

  document.write(data.html);


to

Code: Select all

  document.write(data.html.length ? data.html : '[Error displaying tweet]');


and see if that does anything.

It's going to depend on what's in that data object, whether data.html is defined, what value it's returning when the tweet isn't found, etc. I've got a hunch that if it's empty it just returns an empty string (I think if it were returning null or undefined we'd be seeing "null" or "undefined" in place of the tweet), hence my checking its length, but of course it could be something else.

User avatar
Mothra
Woah Dangsaurus
Posts: 3966
Joined: Mon Jan 20, 2014 7:12 pm
Location: Boston, MA
Contact:

Re: State of the Brontos

Postby Mothra » Sun Apr 23, 2023 3:35 pm

Okay, I have replaced the code with this:

Code: Select all

<script type="text/javascript">
function loadx(data) {
  document.write(data.html.length ? data.html : '[Error displaying tweet]');
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={IDENTIFIER}&callback=loadx&dnt=true"></script>
<div class='twitter' onLoad='loadx().html'/></div>

User avatar
Mazian
Posts: 520
Joined: Sat Jan 25, 2014 3:47 pm
Location: Lullaby Supermarket

Re: State of the Brontos

Postby Mazian » Sun Apr 23, 2023 4:31 pm

Thad wrote:I've got a hunch that if it's empty it just returns an empty string (I think if it were returning null or undefined we'd be seeing "null" or "undefined" in place of the tweet), hence my checking its length, but of course it could be something else.


Turns out it's "something else": just a little JSON blob with none of the glue that displays a regular tweet.

Code: Select all

{"errors":[{"message":"Sorry, that page does not exist","code":34}]}

...but I know exactly zero JS, so I don't know where to go from there. Certainly not a big deal.

KingRoyal
Posts: 759
Joined: Wed Jan 13, 2016 11:32 am

Re: State of the Brontos

Postby KingRoyal » Sun Apr 23, 2023 9:43 pm

It looks like the api call to twitter results in the loadx callback getting invoked with the result of the call. This might work

Code: Select all

function loadx(data) {
  if(data.error || data.errors) {
    document.write('[Error displaying tweet]");
  }
  else {
    document.write(data.html);
  }
}
signature

User avatar
Mothra
Woah Dangsaurus
Posts: 3966
Joined: Mon Jan 20, 2014 7:12 pm
Location: Boston, MA
Contact:

Re: State of the Brontos

Postby Mothra » Sun Apr 23, 2023 11:31 pm

Guys, I need you to write out the whole thing, I have no idea what any of this is.

I've put this together in what I'm guessing is the right order, and I've pasted it in.

If this is wrong, please correct it and paste the whole thing so I can copy/paste it.

Code: Select all

<script type="text/javascript">
function loadx(data) {
  if(data.error || data.errors) {
    document.write('[Error displaying tweet]");
  }
  else {
    document.write(data.html);
  }
}
{"errors":[{"message":"Sorry, that page does not exist","code":34}]}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={IDENTIFIER}&callback=loadx"></script>
<div class='twitter' onLoad='loadx().html'/></div>

Who is online

Users browsing this forum: No registered users and 9 guests