SUCCESS!!!!!!!
For those that wish to display each member's TWITTER TWEETS on their profile page, here is what to do!
==========================
(VERSION 6.1.6) I'm guessing it should work for 7.0 as well.... if it does not please post a reply here.
STEP ONE:
Go to ADMIN --> BUILDERS --> PAGES BUILDER --> PROFILE
Drag a _PHP BLOCK where you want it to appear on the page.
Name the Caption Lang Key: My Tweets
Select GUEST and/or MEMBER, then insert the following PHP Code:
==========================
global $p_arr;
$Memb = (int)$p_arr['ID'];
$arr = db_arr("SELECT `twitterID` FROM `Profiles` WHERE `ID` = '$Memb'");
$twitterID = $arr['twitterID'];
if ( $twitterID ){
echo "
<p>
<script src=\"http://widgets.twimg.com/j/2/widget.js\"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 230,
height: 275,
theme: {
shell: {
background: '#050505',
color: '#b5b5b5'
},
tweets: {
background: '#ffffff',
color: '#444444',
links: '#d40e8b'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'default'
}
}).render().setUser('$twitterID').start();
</script>
</p>
";
}
==========================
Change SETTINGS to your liking!
Save it!!!
==========================
STEP TWO:
Go to ADMIN --> BUILDERS --> FIELDS BUILDER --> EDIT PROFILE (and/or JOIN PAGE)
Drag a NEW_ITEM block where you want it to appear on the page.
Name: twitterID
Caption: Twitter Username
Description: If you want your Twitter Tweets to appear on your profile page, enter your Twitter Username here.
Type: Text
Save it!.....
it should work as soon as a member enters their TWITTER USERNAME.... otherwise the block WILL NOT appear!
Have fun impressing the world.
Blaine.