Twitter BBCode

  • To unlock all of features of Rams On Demand please take a brief moment to register. Registering is not only quick and easy, it also allows you access to additional features such as live chat, private messaging, and a host of other apps exclusive to Rams On Demand.

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
Isn't there a better BBCode for Twitter out there? I'm sure I've seen one that turned the link into an official looking Twitter output.
Something that renders a result like this:

Drmtvdv.jpg
 

PhxRam

Guest
I knew you would know of it.
crap, you probably wrote the code for it.

Nah.. you just simply have to make your own embed code using twitter paramaters.

You will have to build the bbcode.

Give me a minute to come up with something
 

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
  • Thread Starter Thread Starter
  • #8
Nah.. you just simply have to make your own embed code using twitter paramaters.

You will have to build the bbcode.

Give me a minute to come up with something
See? lol.

Good things happen when Bob is bored. :LOL:
 

PhxRam

Guest
Ok. I can work on this now.. I had to watch the daughter for a bit.
 

MrMotes

Starter
Joined
May 6, 2014
Messages
954
There's a s9e media pack for Xenfro that embeds most stuff and it's free. I've used it for the phpbb version...
 

PhxRam

Guest
add a bbcode media site and add

Match urls

Code:
https://twitter.com/*/*/{$id}

and embed html

Code:
<div align="center">
<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={$id}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"/>
</div>
 

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
  • Thread Starter Thread Starter
  • #13
 

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
  • Thread Starter Thread Starter
  • #14
Yayyyyyyyyyyyyyyyyyyyyyyyy!

Thanks @PhxRam!
 

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
  • Thread Starter Thread Starter
  • #15
Any way to comment in a specific container size?

And really, why am I so charming and sexy?
 

PhxRam

Guest
Any way to comment in a specific container size?

And really, why am I so charming and sexy?

Sorry I didnt see this..

You can TRY to add

Code:
#twitter-widget-0 {width:500px;}

I make no guarantees this will work.

edit.. add it to extras.css template.
 

-X-

Medium-sized Lebowski
Joined
Jun 20, 2010
Messages
35,576
Name
The Dude
  • Thread Starter Thread Starter
  • #17
Sorry I didnt see this..

You can TRY to add

Code:
#twitter-widget-0 {width:500px;}

I make no guarantees this will work.

edit.. add it to extras.css template.
Nerp.

I'm so very disappointed in you.
I thought you were able to figure anything out when it comes to this stuff.

leaving.gif
 

PhxRam

Guest
you might have to add for every embed..

ex. widget-0
widget-1
widget-2