MyBB Community Forums

Full Version: How can I add this in a post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I activated HTML code but it doesn't work...I would like to post this twitter widget in my forum. How can I do that?

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 250,
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('GNRLA').start();
</script>
You will need a plugin. There are multiple plugins for this:

http://shopmybb.com/item/usergroups-html/8
http://mybbsource.com/mods.php?act=view&id=83

There are some others out there but I found these two.
script tags are disabled for security reasons, wouldn't have thought a post would be the best place to do that though.
So...no scripts even with plugins?
If you have a plugin that re-enables scripts then yes, but as I said, don't know why you'd want this in a post, this would be better off in a template somewhere... why do you want to put this in a post??
GNRLA twitter was an example but I thought about making a topic with GN'R and GN'R members twitters and that's why I asked.

Maybe I could add twitters widget in the template as you said...Do i need a plugin for that?
(2010-05-29, 05:25 PM)Ulises Wrote: [ -> ]GNRLA twitter was an example but I thought about making a topic with GN'R and GN'R members twitters and that's why I asked.

Maybe I could add twitters widget in the template as you said...Do i need a plugin for that?
No, you simply edit your themes template and paste in the code.
Thanks

Tried to do it in a template. It's cool but I would like to have all the widget in one topic called "Guns N' Roses in twitter" so I guess I have to buy the plugin.

Shame isn't for free... Undecided
Ohh well. The best things in life are [not] free Toungue.
I guess Toungue

Guess I have to take a look to my paypal account