Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (SteveS), 27 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/14/13
Posts: 2
Top Posters (30 Days)
Ruben 27
Gizmo 23
Bert 18
sb 5
hema0359 4
After the Rose 4
gladiator 3
skicomau 3
mona said 2
Rob Provencher 2
Latest Photos
Uhm...
Mayan End of World
Gas Station Disco Video Shoot
Test Pictures
Audrey Kate
Page 1 of 2 1 2 >
Topic Options
#249445 - 06/07/12 01:54 PM How do I set a Twitter Feed in the right or left column???
CyberChild Offline
stranger
Registered: 05/25/08
Posts: 15
Loc: Lakewood, WA
Hello All,

So I tried to not look like a newbie but I still cannot find the answer frown

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 smile

Thank you Thank you Thank you,

Nathan
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#249446 - 06/07/12 03:14 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
Ruben Offline

Registered: 12/20/03
Posts: 4959
Loc: Lutz,FL
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
Top
#249447 - 06/07/12 04:01 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
driv Offline

Carpal Tunnel
Registered: 01/10/04
Posts: 2543
https://twitter.com/about/resources/widgets/widget_profile

Enter your twitter user name and add it to the content island.


Code:

/* 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' crazy
Top
#249448 - 06/07/12 04:47 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
CyberChild Offline
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
#249449 - 06/07/12 04:51 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
CyberChild Offline
stranger
Registered: 05/25/08
Posts: 15
Loc: Lakewood, WA
Here is the twitter page for the non profit
https://twitter.com/#!/malesurvivororg

Ubb homepage
http://www.malesurvivor.org/board/ubbthreads.php
Top
#249450 - 06/07/12 04:58 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
Ruben Offline

Registered: 12/20/03
Posts: 4959
Loc: Lutz,FL
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
Top
#249451 - 06/07/12 05:04 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
Ruben Offline

Registered: 12/20/03
Posts: 4959
Loc: Lutz,FL
Take out the line feeds so it looks like:
Html:
/* 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]
CyberChild Offline
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

Quote:
/* 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
#249455 - 06/07/12 05:33 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
Ruben Offline

Registered: 12/20/03
Posts: 4959
Loc: Lutz,FL
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
Top
#249456 - 06/07/12 05:36 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
driv Offline

Carpal Tunnel
Registered: 01/10/04
Posts: 2543
Hi,
Yes I can confirm it's working me me also. Try CTRL-F5 smile
_________________________
Using version :: 7.5.7 ...sans SFS at the mo' crazy
Top
#249457 - 06/07/12 05:38 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
CyberChild Offline
stranger
Registered: 05/25/08
Posts: 15
Loc: Lakewood, WA
Haha I got it set now, thank you so much for your help smile
Top
#249458 - 06/07/12 05:41 PM Re: How do I set a Twitter Feed in the right or left column??? [Re: CyberChild]
driv Offline

Carpal Tunnel
Registered: 01/10/04
Posts: 2543
Cool smile
_________________________
Using version :: 7.5.7 ...sans SFS at the mo' crazy
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Marking a topic as 'read' manually
by sw55
06/18/13 04:29 PM
How to add AD island?
by Conrad
06/18/13 01:19 PM
Need to update from 6 to latest: can't until server checked
by Digilady
06/17/13 08:17 AM
Shout Box
by Bert
06/15/13 04:15 PM
Calendar
by Bert
06/15/13 04:11 PM
Forum Stats
11000 Members
36 Forums
33988 Topics
183528 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image