I'm now on 7.5.8. One of the changes I have to make with each upgrade is to add in the social networking functionality. I know you have a basic like and Twitter entry on the entire thread, but people often like a single entry in a thread of 200 posts. So linking to the entire thread doesn't help much. Also, there's no google+ or the many other options.

You can see what I add in on this post -

http://www.wineintro.com/forum/ubbthreads.php/topics/427627#Post427627

Here's my code for doing this:

Code
SOCIAL NETWORKING BUTTONS BELOW EACH FORUM POST

========================================================================

INITIALIZE GOOGLE +1 CODE ONCE

in /templates/default/header.tpl
line 43

just before </head>, add:

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

This initializes the Google +1 button code.

========================================================================

SET VARIABLE FOR USE IN SOCIAL SCRIPTS

in /scripts/showflat.inc.php 

line 870
look for: 
$postrow[$i]['Subject'] = $results[$i]['POST_SUBJECT'];

add in after that: 
// LISA ADDED FOR SOCIAL NETWORKING
$postrow[$i]['SubjectSocial'] = $results[$i]['POST_SUBJECT'];

========================================================================

DRAW THE VISIBLE BUTTONS ON EACH INDIVIDUAL POST

in /templates/default/post_side.tpl

Starting at line 100 it says:

<td class="post_top_link" valign="bottom">
<a href="#top">{$lang.TOP}</a>
</td>
<td class="post-options" valign="bottom" align="right">


replace those four lines with the entire block below between the squiggles

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<!-- LISA CODE FOR SOCIAL NETWORKING START -->
<td class="post_top_link" valign="bottom">
<a href="#top">{$lang.TOP}</a>
</td>
<td valign="bottom">

<table border=0 cellspacing="0" cellpadding="0" width=100%><TR><TD class="post-options" valign="bottom" align="left">
<g:plusone size="small" annotation="inline" width="150"></g:plusone>
<BR>
<a rel="nofollow" href="http://twitter.com/home?status={$postrow[post].SubjectSocial}%20{$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}" title="Post {$postrow[post].SubjectSocial} to Twitter" target="_blank"><img src="{$config.FULL_URL}/images/social/twitter.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Twitter" title="Add {$postrow[post].SubjectSocial} to Twitter " /></a>
<a rel="nofollow" href="http://www.facebook.com/sharer.php?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Facebook" target="_blank"><img src="{$config.FULL_URL}/images/social/facebook.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Facebook" title="Add {$postrow[post].SubjectSocial} to Facebook " /></a>
<a rel="nofollow" href="http://www.myspace.com/Modules/PostTo/Pages/?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to MySpace" target="_blank"><img src="{$config.FULL_URL}/images/social/myspace.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to MySpace" title="Add {$postrow[post].SubjectSocial} to MySpace " /></a>
<a rel="nofollow" href="http://del.icio.us/post?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Add {$postrow[post].SubjectSocial} to del.icio.us" target="_blank"><img src="{$config.FULL_URL}/images/social/delicious.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Del.icio.us" title="Post {$postrow[post].SubjectSocial} to Del.icio.us" /></a>
<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" target="_blank"><img src="{$config.FULL_URL}/images/social/digg.gif" border="0" alt="Digg {$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" /></a>
<a rel="nofollow" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Yahoo My Web" target="_blank"><img src="{$config.FULL_URL}/images/social/yahoomyweb.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Yahoo My Web" title="Add {$postrow[post].SubjectSocial} to Yahoo My Web" /></a>
<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Google Bookmarks" target="_blank"><img src="{$config.FULL_URL}/images/social/googlebookmarks.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Google Bookmarks" title="Add {$postrow[post].SubjectSocial} to Google Bookmarks" /></a>
<a rel="nofollow" href="http://www.stumbleupon.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Stumbleupon" target="_blank"><img src="{$config.FULL_URL}/images/social/stumbleupon.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Stumbleupon" title="Add {$postrow[post].SubjectSocial} to Stumbleupon" /></a>
<a rel="nofollow" href="http://reddit.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Reddit" target="_blank"><img src="{$config.FULL_URL}/images/social/reddit.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Reddit" title="Add {$postrow[post].SubjectSocial} to Reddit" /></a>
</TD><td bgcolor="#F9F9F5" valign="bottom" align="right" class="post-options" >
<!-- LISA CODE FOR SOCIAL NETWORKING END -->

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Then down near line 150

{if $postrow[post].mailpostlink}
<span class="post-buttons"><a href="{$postrow[post].mailpostlink}" rel="nofollow"><img src="{$config.BASE_URL}/images/{$style_array.general}/email.gif" alt="" /> {$lang.EMAIL_POST}</a></span>
{/if}
</td>
</tr>


Change that to

{if $postrow[post].mailpostlink}
<span class="post-buttons"><a href="{$postrow[post].mailpostlink}" rel="nofollow"><img src="{$config.BASE_URL}/images/{$style_array.general}/email.gif" alt="" /> {$lang.EMAIL_POST}</a></span>
{/if}
</td>
</tr>
</table>

</TD></TR>

========================================================================

GOOGLE PLUS LOAD POST-PAGE-DRAW FOR SPEED

needs to go after all +1 buttons, so put in footer. Note you have to escape the } and { with literal so they're not processed

in /templates/default/footer.tpl

around line 47, before div id=footer

<!-- LISA CODE TO LOAD GOOGLE +1 BUTTON AFTER PAGE LOAD -->
<script type="text/javascript">
  (function() {literal}{{/literal}
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  {literal}}{/literal})();
</script>
<!-- END CODE -->


========================================================================

DRAW VISIBLE BUTTONS AT BOTTOM OF PAGE THAT LISTS ALL THREADS IN A GIVEN TOPIC

/templates/default/postlist.tpl

line 316 - bottom - after $ishopto section

<!-- LISA CODE FOR SOCIAL NETWORKING -->
<table border=0 cellspacing="0" cellpadding="0" width=100%><TR><TD class="post-options" valign="bottom" align="left">
<g:plusone size="small" annotation="inline" width="150"></g:plusone>
<BR>
<a rel="nofollow" href="http://twitter.com/home?status={$postrow[post].SubjectSocial}%20{$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}" title="Post {$postrow[post].SubjectSocial} to Twitter" target="_blank"><img src="{$config.FULL_URL}/images/social/twitter.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Twitter" title="Add {$postrow[post].SubjectSocial} to Twitter " /></a>
<a rel="nofollow" href="http://www.facebook.com/sharer.php?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Facebook" target="_blank"><img src="{$config.FULL_URL}/images/social/facebook.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Facebook" title="Add {$postrow[post].SubjectSocial} to Facebook " /></a>
<a rel="nofollow" href="http://www.myspace.com/Modules/PostTo/Pages/?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to MySpace" target="_blank"><img src="{$config.FULL_URL}/images/social/myspace.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to MySpace" title="Add {$postrow[post].SubjectSocial} to MySpace " /></a>
<a rel="nofollow" href="http://del.icio.us/post?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Add {$postrow[post].SubjectSocial} to del.icio.us" target="_blank"><img src="{$config.FULL_URL}/images/social/delicious.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Del.icio.us" title="Post {$postrow[post].SubjectSocial} to Del.icio.us" /></a>
<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" target="_blank"><img src="{$config.FULL_URL}/images/social/digg.gif" border="0" alt="Digg {$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" /></a>
<a rel="nofollow" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Yahoo My Web" target="_blank"><img src="{$config.FULL_URL}/images/social/yahoomyweb.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Yahoo My Web" title="Add {$postrow[post].SubjectSocial} to Yahoo My Web" /></a>
<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Google Bookmarks" target="_blank"><img src="{$config.FULL_URL}/images/social/googlebookmarks.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Google Bookmarks" title="Add {$postrow[post].SubjectSocial} to Google Bookmarks" /></a>
<a rel="nofollow" href="http://www.stumbleupon.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Stumbleupon" target="_blank"><img src="{$config.FULL_URL}/images/social/stumbleupon.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Stumbleupon" title="Add {$postrow[post].SubjectSocial} to Stumbleupon" /></a>
<a rel="nofollow" href="http://reddit.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Reddit" target="_blank"><img src="{$config.FULL_URL}/images/social/reddit.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Reddit" title="Add {$postrow[post].SubjectSocial} to Reddit" /></a>
</TD></TR></TABLE>
<!-- END LISA CODE -->

========================================================================

DRAW VISIBLE BUTTONS AT BOTTOM OF MAIN FORUM PAGE THAT LISTS CATEGORY AREAS

/templates/default/forum.tpl

line 114 - bottom - after $tbclose and /section

<!-- LISA CODE FOR SOCIAL NETWORKING -->
<table border=0 cellspacing="0" cellpadding="0" width=100%><TR><TD class="post-options" valign="bottom" align="left">
<g:plusone size="small" annotation="inline" width="150"></g:plusone>
<BR>
<a rel="nofollow" href="http://twitter.com/home?status={$postrow[post].SubjectSocial}%20{$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}" title="Post {$postrow[post].SubjectSocial} to Twitter" target="_blank"><img src="{$config.FULL_URL}/images/social/twitter.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Twitter" title="Add {$postrow[post].SubjectSocial} to Twitter " /></a>
<a rel="nofollow" href="http://www.facebook.com/sharer.php?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Facebook" target="_blank"><img src="{$config.FULL_URL}/images/social/facebook.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Facebook" title="Add {$postrow[post].SubjectSocial} to Facebook " /></a>
<a rel="nofollow" href="http://www.myspace.com/Modules/PostTo/Pages/?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to MySpace" target="_blank"><img src="{$config.FULL_URL}/images/social/myspace.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to MySpace" title="Add {$postrow[post].SubjectSocial} to MySpace " /></a>
<a rel="nofollow" href="http://del.icio.us/post?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Add {$postrow[post].SubjectSocial} to del.icio.us" target="_blank"><img src="{$config.FULL_URL}/images/social/delicious.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Del.icio.us" title="Post {$postrow[post].SubjectSocial} to Del.icio.us" /></a>
<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" target="_blank"><img src="{$config.FULL_URL}/images/social/digg.gif" border="0" alt="Digg {$postrow[post].SubjectSocial}" title="Digg {$postrow[post].SubjectSocial}" /></a>
<a rel="nofollow" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;t={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Yahoo My Web" target="_blank"><img src="{$config.FULL_URL}/images/social/yahoomyweb.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Yahoo My Web" title="Add {$postrow[post].SubjectSocial} to Yahoo My Web" /></a>
<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Google Bookmarks" target="_blank"><img src="{$config.FULL_URL}/images/social/googlebookmarks.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Google Bookmarks" title="Add {$postrow[post].SubjectSocial} to Google Bookmarks" /></a>
<a rel="nofollow" href="http://www.stumbleupon.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Stumbleupon" target="_blank"><img src="{$config.FULL_URL}/images/social/stumbleupon.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Stumbleupon" title="Add {$postrow[post].SubjectSocial} to Stumbleupon" /></a>
<a rel="nofollow" href="http://reddit.com/submit?url={$config.FULL_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}%2F%23Post{$postrow[post].Number}&amp;title={$postrow[post].SubjectSocial}" title="Post {$postrow[post].SubjectSocial} to Reddit" target="_blank"><img src="{$config.FULL_URL}/images/social/reddit.gif" border="0" alt="Add {$postrow[post].SubjectSocial} to Reddit" title="Add {$postrow[post].SubjectSocial} to Reddit" /></a>
</TD></TR></TABLE>
<!-- END LISA CODE -->

========================================================================


ACTUAL IMAGES

if needed move in all /images/social/ from backup (should still be there from before)

Could this be an option that we could turn on / off, for those who enjoy having that more robust set of social networking?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts