// By Cameron RedGem // http://twitter.com/CameronRedGem setTimeout(function() { if (location.href.indexOf('/profile') !== -1) { var BColor = $('table.profile td').css('border-left-color'); var BGColor = $('table.profile td').css('background-color'); var THBGColor = $('table.profile thead th').css('background-color'); var THColor = $('table.profile thead th').css('color'); $('table.profile:eq(0)').before('

Member Since
Last Active

Community Stats

Average Posts Per Day
Member\'s Local Time

Contact Information

AIM
MSN
Yahoo

Signature

'); $('#advanced_profile h2').css({ 'background': THBGColor, 'color': THColor }); if ($('#visitors').length) { $('#mini_profile').before('Last 5 Visitors ' + $('#visitors').html() + '
'); } $('table.profile:not(table[id]):not(:has(tbody[id]))').hide(); $('table.profile td.c_mark div').appendTo('#user_avatar'); $('#username').append($('#nav span').text()); $('#member_since').append($('dl.user_info dt:contains(Joined) + dd').text()); $('#last_active em').append($('table.profile td.c_desc:contains(Last Activity) + td').text()); $('#aim').append($('table.profile td.c_desc:contains(AOL IM Name) + td').text()); $('#msn').append($('table.profile td.c_desc:contains(MSN Name) + td').text()); $('#yahoo').append($('table.profile td.c_desc:contains(Yahoo! Name) + td').text()); $('#status').append($('table.profile td.c_desc:contains(Status) + td').html()); $('#pm').attr('onclick', 'window.location.href = \'' + $('table.profile td.c_desc:contains(Personal Messenger) + td a').attr('href') + '\''); $('#signature').html($('td.c_sig').html()); $('#average').text($('table.profile td.c_desc:contains(Average Posts Per Day) + td').text()); $('#local').text($('table.profile td.c_desc:contains(Member\'s Local Time) + td').text()); if ($('table.profile td.c_desc:contains(Email Address:) + td a').length) { $('#email').attr('onclick', 'window.location.href = \'' + $('table.profile td.c_desc:contains(Email Address:) + td a').attr('href') + '\''); } else { $('#email').attr('onclick', 'alert(\'Private Email Address\')'); } if ($('table.profile td.c_desc:contains(Online?) + td').text() === 'Offline') { $('#last_active span').text('OFFLINE').css('background', 'red'); } else { $('#last_active span').text('ONLINE').css('background', 'green'); } $('#profile_menu ul a').each(function() { var href = $(this).attr('href'); var text = $(this).text(); $('#user_links').append('' + text + ''); }); $('td.c_user dl dt').each(function() { if ($(this).text() !== 'Joined:') { var dt = $(this).html(); var dd = $(this).next('dd').html(); $('#mini_profile').append('' + dt + ' ' + dd + '
'); } }); $('table.profile:last td.c_desc').each(function() { var desc = $(this).html(); var td = $(this).next('td').html(); $('#mini_profile').append('' + desc + ' ' + td + '
'); }); $('div.info span:not(span[id])').css({ 'min-width': '200px', 'display': 'inline-block', 'font-weight': '700' }); $('#advanced_profile a[href*="/blog/"]').after(' ').next('br').hide(); $('#user_links a:last').css('border-bottom-width', '1px'); } }, 1000);