Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

r-a-y

By: a guest on Jul 13th, 2010  |  syntax: None  |  size: 0.31 KB  |  hits: 129  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php global $bp, $forum_template; ?>
  2.  
  3. <a href="<?php echo $bp->root_domain . '/' . BP_GROUPS_SLUG . '/' . $forum_template->topic->object_slug . '/forum/topic/' . $forum_template->topic->topic_slug . '/#post-'. $forum_template->topic->topic_last_post_id; ?>"><?php bp_the_topic_time_since_last_post() ?> ago</a>