Twitter and Reddit BBCODE now available.

Talk about everything but gaming in here!

Moderators: pilonv1, Juzbuffa

Post Reply
User avatar
lestat
Pixel Count Lestat
Pixel Count Lestat
Posts: 12710
Joined: 03 Jul 2006 11:15 pm
XBL ID: grlestat
PSN ID: grlestat
Steam ID: grlestat
Friend Code: SW-5550-6241-2054
EpicGS ID: grlestat
Battle.net ID: grlestat#1153
Location: Sydney
Contact:

Twitter and Reddit BBCODE now available.

Post by lestat »

Hi All,

With more news appearing from the above 2 sources, thought it would be handy to have BBCODE support so you can embed links from twitter and reddit into the board.

For example from the recent google thread I posted.

Code: Select all

[tweet]https://twitter.com/Charalanahzard/status/1104584670174359552[/tweet]

Code: Select all

[reddit]https://www.reddit.com/r/Games/comments/azghiq/rumour_new_google_console_to_feature_ubisoft/[/reddit]


Pretty straight forward as long as long as you use the correct url. Enjoy. :)
User avatar
Cletus
Hates Everyone Equally
Hates Everyone Equally
Posts: 15563
Joined: 04 Jul 2006 12:56 am
Location: Aboard the HMAS Todd Margaret
Contact:

Re: Twitter and Reddit BBCODE now available.

Post by Cletus »

test
guttermouth
Very Regular Member
Very Regular Member
Posts: 3837
Joined: 05 Jul 2006 09:12 pm
XBL ID: Recipe For Hate
PSN ID: Recipe4Hate

Re: Twitter and Reddit BBCODE now available.

Post by guttermouth »

Image
User avatar
unfnknblvbl
googlebomber
googlebomber
Posts: 9788
Joined: 04 Jul 2006 10:17 pm
XBL ID: unfunk
Steam ID: unfnknblvbl
Location: Just behind GameHED

Re: Twitter and Reddit BBCODE now available.

Post by unfnknblvbl »

Can you make the Reddit embed thingie not do this?
reddit-embedding.png
Waaaaaaay too much white space on the sides.
You do not have the required permissions to view the files attached to this post.
The sky calls to us; if we do not destroy ourselves, we will one day venture to the stars
User avatar
unfnknblvbl
googlebomber
googlebomber
Posts: 9788
Joined: 04 Jul 2006 10:17 pm
XBL ID: unfunk
Steam ID: unfnknblvbl
Location: Just behind GameHED

Re: Twitter and Reddit BBCODE now available.

Post by unfnknblvbl »

The sky calls to us; if we do not destroy ourselves, we will one day venture to the stars
User avatar
F for Fake
Member
Member
Posts: 710
Joined: 01 Sep 2007 10:51 pm
XBL ID: Thread Killer
PSN ID: Cool_-_Z
Steam ID: Bell end
Location: Wandin Valley

Re: Twitter and Reddit BBCODE now available.

Post by F for Fake »

It's just blank for me (using Firefox on Windows)
Firefox on android it just shows a scroll bar with nothing in it.
User avatar
unfnknblvbl
googlebomber
googlebomber
Posts: 9788
Joined: 04 Jul 2006 10:17 pm
XBL ID: unfunk
Steam ID: unfnknblvbl
Location: Just behind GameHED

Re: Twitter and Reddit BBCODE now available.

Post by unfnknblvbl »

F for Fake wrote:It's just blank for me (using Firefox on Windows)
Firefox on android it just shows a scroll bar with nothing in it.

Weird. I just tried in IE, Edge, and Firefox on Windows 10 and they all looked pretty much the same as on Chrome. Still way too much whitespace on the sides of embedded Reddit posts.

Also worth noting is that you have to be logged in to view attachments, even if they're inline images. How long has that been a thing for?
The sky calls to us; if we do not destroy ourselves, we will one day venture to the stars
User avatar
lestat
Pixel Count Lestat
Pixel Count Lestat
Posts: 12710
Joined: 03 Jul 2006 11:15 pm
XBL ID: grlestat
PSN ID: grlestat
Steam ID: grlestat
Friend Code: SW-5550-6241-2054
EpicGS ID: grlestat
Battle.net ID: grlestat#1153
Location: Sydney
Contact:

Re: Twitter and Reddit BBCODE now available.

Post by lestat »

He probably has javascript disabled or there might be adblock stopping it, the way the embedding works is invoking javascript from twitter/reddit to render the inline widget.

The white space is a workaround for the transparent background the reddit embed has, it doesn't mix well with our dark theme, so I had to put in a div with white background. I'll try and find a way to shrink the div to the size of the items within.

Edit: Fixed it, I had to use "display: inline-block;" style to size the div to the content.
User avatar
Ambrose Burnside
All accusations are unsubstantiated
All accusations are unsubstantiated
Posts: 8688
Joined: 04 Jul 2006 09:15 pm
XBL ID: AmbroseBurnside
Steam ID: Ambrose Burnside
Location: Perth, WA

Re: Twitter and Reddit BBCODE now available.

Post by Ambrose Burnside »

F for Fake wrote:It's just blank for me (using Firefox on Windows)
Firefox on android it just shows a scroll bar with nothing in it.
Same for me (same browser and OS) :(
Currently playing: Age of Empires 2: Definitive Edition (PC), Far Cry 4 (PC), FIFA 23 (Series X)
User avatar
lestat
Pixel Count Lestat
Pixel Count Lestat
Posts: 12710
Joined: 03 Jul 2006 11:15 pm
XBL ID: grlestat
PSN ID: grlestat
Steam ID: grlestat
Friend Code: SW-5550-6241-2054
EpicGS ID: grlestat
Battle.net ID: grlestat#1153
Location: Sydney
Contact:

Re: Twitter and Reddit BBCODE now available.

Post by lestat »

You must have tracking protection enabled. I tried it out on firefox, stock firefox showed them fine, going incognito with tracking protection enabled, they're just blank like you guys said.

Going into settings and forcing tracking protection on for everything, they appear blank in a normal firefox window.

So unfortunately can't do much about it since you're actively blocking it, the best I can do is add the url for the link so you can open it in a separate browser window.
User avatar
unfnknblvbl
googlebomber
googlebomber
Posts: 9788
Joined: 04 Jul 2006 10:17 pm
XBL ID: unfunk
Steam ID: unfnknblvbl
Location: Just behind GameHED

Re: Twitter and Reddit BBCODE now available.

Post by unfnknblvbl »

ohhhh, that's interesting.

Also, the new Reddit embed looks good. Thanks heaps! :up:
The sky calls to us; if we do not destroy ourselves, we will one day venture to the stars
User avatar
F for Fake
Member
Member
Posts: 710
Joined: 01 Sep 2007 10:51 pm
XBL ID: Thread Killer
PSN ID: Cool_-_Z
Steam ID: Bell end
Location: Wandin Valley

Re: Twitter and Reddit BBCODE now available.

Post by F for Fake »

Ok. So yeah I disabled content blocking for this site only (click the shield icon next to your address bar) and it's all good. guttermouth's gif makes sense now :)
User avatar
pilonv1
Eels - regular season champions
Eels - regular season champions
Posts: 19049
Joined: 04 Jul 2006 11:08 am
XBL ID: pilonv1
PSN ID: pilonv1
Steam ID: pilonv1

Re: Twitter and Reddit BBCODE now available.

Post by pilonv1 »

nice :up:
Post Reply