[ 11 posts ]  Reply to topicPost new topic 
Author Message
 [ca]
 Post subject: Twitter BBCode
PostPosted: Thu Sep 14, 2017 7:39 pm 
User avatar
Am a girl
Member
[*]
[*]
Just a BBCode for embedding tweets.
The syntax for tweet embeds is really simple too its just:
Code:
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="LINK_TO_TWEET"></a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Could call it [tweet]

_________________
Image
Image
ImageImageImageImage
 
Top
Offline 
 User page at mfgg.net
 
 [au]
 Post subject: Re: Twitter BBCode
PostPosted: Thu Sep 14, 2017 7:59 pm 
User avatar
Not banned.
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
Would be very useful.

_________________
Image

Available for ANDROID and IOS
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 10:37 am 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

You made it simple to add this, and someone else said it would be useful, so I did it!

[tweet]https://twitter.com/Yoshin01/status/908407834143887360[/tweet]

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 10:47 am 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

Wait a minute: What should it be under "BBCode Usage"?

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 12:18 pm 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

Vinny you also mistyped:

[tweet]https://twitter.com/Yoshin01/status/908407834143887360][/tweet]

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [ca]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 12:37 pm 
User avatar
Am a girl
Member
[*]
[*]
VinnyVideo wrote:
Wait a minute: What should it be under "BBCode Usage"?

Same as [video]
Insert a tweet: [tweet]https://twitter.com/url[/tweet]

_________________
Image
Image
ImageImageImageImage
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 1:10 pm 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

Is there a reason there's no ending <p> tag?

Also probably add the <script> to the end of the page right before </body> instead of including it every time there's a twitter quote

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [ca]
 Post subject: Re: Twitter BBCode
PostPosted: Fri Sep 15, 2017 1:33 pm 
User avatar
Am a girl
Member
[*]
[*]
I just stole the code from mw, would likely be best to include and ending</p> and add the <script> Yea

_________________
Image
Image
ImageImageImageImage
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Thu Sep 21, 2017 2:42 pm 
User avatar
12 years god help me
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
In HTML5 closing p tags is optional, but this site has an XHTML transitional doctype so yeah it should be closed for validity

 
Top
Offline 
 
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Thu Sep 21, 2017 3:29 pm 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

Spritey wrote:
In HTML5 closing p tags is optional

Image

this is just a joke please don't be offended anybody

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Twitter BBCode
PostPosted: Thu Sep 21, 2017 9:59 pm 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

I've tried a bunch of things, including this, but it's still not working.

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
 [ 11 posts ]  Reply to topicPost new topic 


Who is online

Users browsing this topic: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group