Advertisement
Guest User

Facebook share button in Profile

a guest
Sep 1st, 2014
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.55 KB | None | 0 0
  1. <span class="highlight">Share This Profile: <a onclick='window.open("http://www.facebook.com/sharer.php?u=<?php bp_displayed_user_avatar( 'type=full' ); ?>
  2.  
  3. <?php bp_user_link() ?>&amp;t=<?php bp_displayed_user_fullname() ?><?php bp_displayed_user_avatar( 'type=full' ); ?>
  4.  
  5. ", "facebook", "toolbar=no, width=550, height=550"); return false;' href='http://www.facebook.com/sharer.php?u=<?php bp_user_link() ?>&amp;t=<?php bp_displayed_user_username() ?>'  class='facebookShare'>
  6. <img src="<?php bloginfo('template_url'); ?>/_inc/images/facebook.png"></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement