![]() |
Embed Tweets from Twitter BB Code
1 Attachment(s)
As with most BB Codes this should work on all versions of vBulletin including vBCloud.
Will embed tweets as you see here. Log into your Admin CP go to Custom BB Codes on the side menu, expand it, and choose Add New Bb Code. On the next page enter the following: Title: Tweet BB Code Tag Name: tweet Replacement: Code:
<blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/abc/status/{param}">Embedded Tweet</a></blockquote> Description: Embeds a Tweet Use Option: No Button Image: (Leave blank or find your own icon image) Remove Tag If Empty: YES All remaining Yes/No questions - also YES. And save the BB Code. Now in a post you can post something like [tweet]642036152850083841[/tweet] to embed a tweet. You find the number by finding the link to the tweet on twitter and taking the number from the link. For example the link to a tweet might be: Code:
https://twitter.com/fox5ny/status/642037356162256896 [tweet]642037356162256896[/tweet] To embed the tweet. |
any screenshot?
|
The demo link is better than a screenshot- http://sedona.vbulletin.net/forum/te...299-test-topic
|
yes ... demo link is much better ;)
another "demo" you can find on my homepage, just - the twitter-code is modified for german language |
This is odd. The mod works great, except one bug. When I try to edit a thread's title that has a tweet embedded ..... the pop up asking me if I want to navigate away from the page displays each time I click on the Thread Title input box.
Can someone verify this? I am using VB 5.1.9 |
Quote:
Unfortunately not likely I can do anything about it, can't really modify Twitter's code. It is weird though. Also only happens when a Tweet is in the first post of a topic. |
hi
great have you intend to to make automatic import of any tweet of an tweetter account? :up: |
No that would be beyond the scope a BB Code. Sorry.
|
This works great on any threads in forums that are publicly accessible. However, nothing displays when the post is in a forum that's private and can only been seen by specific usergroups. Is there a way to make this work in private forums?
Thanks! |
This is the replacement code I literally just used on a post on a private site without issue-
Code:
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/twt/status/{param}">Embedded Tweet</a></blockquote> |
All times are GMT. The time now is 10:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|