 |
 |
 |
 |
Registered: 06/23/06
Posts: 842
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#249447 - 06/07/12 04:01 PM
Re: How do I set a Twitter Feed in the right or left column???
[Re: CyberChild]
|
Carpal Tunnel
|
Registered: 01/10/04
Posts: 2543
|
|
https://twitter.com/about/resources/widgets/widget_profileEnter your twitter user name and add it to the content island.
/* PHP CODE HERE */
/* BODY HERE */
$body = <<<EOF
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 250,
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('YOUR_TWITTER_ACCOUNT').start();
</script>
EOF;
_________________________
Using version :: 7.5. 7 ...sans SFS at the mo'
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#249448 - 06/07/12 04:47 PM
Re: How do I set a Twitter Feed in the right or left column???
[Re: CyberChild]
|
stranger
|
Registered: 05/25/08
Posts: 15
Loc: Lakewood, WA
|
|
Driv,
I entered the following into my custom island but when I load my forum listing it shows the island name but nothing else. I set the cache time to "5". Did I do something wrong on the code?
Thanks, Nathan
/* PHP CODE HERE */
/* BODY HERE */ $body = <<<EOF
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 30000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render().setUser('MaleSurvivorORG').start(); </script>
EOF;
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#249451 - 06/07/12 05:04 PM
Re: How do I set a Twitter Feed in the right or left column???
[Re: CyberChild]
|

|
Registered: 12/20/03
Posts: 4934
Loc: Lutz,FL
|
|
Take out the line feeds so it looks like: /* PHP CODE HERE */
/* BODY HERE */
$body = <<<EOF
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 250,
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('MaleSurvivorORG').start();
</script>
EOF;
_________________________
Blue Man Group
There is no such thing as stupid questions. Just stupid answers
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#249454 - 06/07/12 05:31 PM
Re: How do I set a Twitter Feed in the right or left column???
[Re: Ruben]
|
stranger
|
Registered: 05/25/08
Posts: 15
Loc: Lakewood, WA
|
|
Hmmmmm Here is the code that I put into the custom island an still nothing shows on the forum list page /* PHP CODE HERE */
/* BODY HERE */ $body = <<<EOF <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 30000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render().setUser('MaleSurvivorORG').start(); </script> EOF;
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|