|
Joined: May 2008
Posts: 15
Stranger
|
Stranger
Joined: May 2008
Posts: 15 |
Hello All, So I tried to not look like a newbie but I still cannot find the answer So here is my newbie question how can I setup my column to show my non profit's twitter feed? I am hoping that the feed can show the last xxxx number of posts an it and will refresh automatically just as the Recent Topics Box does. Also I would love to add the Recent Topics Box to my ubb can someone give me the code for that as well..... I know I know gotta love us newbies always wanting more an more Thank you Thank you Thank you, Nathan
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
For a recent topics island that would be a post island For Twitter which I don't use I assume you would grab a script from twitter and place it in what is called a custom island. Try ubbwiki.com and search for post island,custom island and possibly portal.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
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;
|
|
|
|
Joined: May 2008
Posts: 15
Stranger
|
Stranger
Joined: May 2008
Posts: 15 |
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;
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
It works for me. I am not sure what text editor you used to enter it but you have some extra line feeds that need to be deleted.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
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
|
|
|
|
Joined: May 2008
Posts: 15
Stranger
|
Stranger
Joined: May 2008
Posts: 15 |
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;
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
It is working now for me at your site. Possibly it us your browser cache.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
Hi, Yes I can confirm it's working me me also. Try CTRL-F5
|
|
|
|
Joined: May 2008
Posts: 15
Stranger
|
Stranger
Joined: May 2008
Posts: 15 |
Haha I got it set now, thank you so much for your help
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
Cool
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
879
guests, and
150
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|