Try this:
How to install Social Bookmarks to your Dolphin Site Blogs
For those of you that run a Dolphin Site and would like to add a social bookmark feature to your blogs. Or anywhere on your site for that matter, this seems to be the best option available as of writing this blog.
First of all, the shortcut way of doing this is to put all of the possible shortcuts into a pop up menu and put them all under one button. Mine looks like Sharethis button
but you will have some options here. Rather than attempt to create something like this for ourselves, let's let somebody do it for us. You can get this through the site http://www.addthis.com/ Click "Get your button" in the left column. Then select which button you want - you can also do this for rss buttons. After you follow the prompts and fill out the registration - they give you a code to copy and paste.
Long Button code:
<!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button1-addthis.gif" width="125" height="16" border="0" alt="Bookmark and Share" /></a> <script type="text/javascript">var addthis_pub = 'Stuart038';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>
<!-- AddThis Button END -->
Drop Down Button Code:
<!-- AddThis Button BEGIN -->
<script type="text/javascript">addthis_pub = 'Stuart038';</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/button1-addthis.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
<!-- AddThis Button END -->
Edit: public_html/inc/classes/BxDolBlogs.php
YOU SHOULD ALWAYS MAKE A BACK UP OF YOUR FIILES BEFORE EDITING THE CODE
======================================================================================
For the Top Area of a Blog Post Find and insert the code you copied:
$sBlogPosts .= <<<EOF
<div style="margin-bottom:10px;">
INSERT ADDTHIS CODE HERE
<div>
<div class="cls_res_thumb">
{$sPostCaptionHref}
</div>
{$sActions}
<div class="clear_both"></div>
</div>
<div class="fr_small_gray_centered">
{$sAuthor}
<span style="vertical-align:middle;"><img src="{$site['icons']}clock.gif" class="marg_icon" alt="{$sDateTime}" /></span><span class="margined">{$sDateTime}</span>
<span style="vertical-align:middle;"><img src="{$site['icons']}add_comment.gif" class="marg_icon" alt="" /></span><span class="margined">{$aResSQL['CountComments']} {$sCommentsC}</span>
<span style="vertical-align:middle;"><img src="{$site['icons']}folder_small.png" class="marg_icon" alt="{$sCategoryName}" /></span>
<a href="{$sOwnerCatLink}">
{$sCategoryName}
</a>
</div>
<div class="blog_text{$sFriendStyle}">
{$sPostPhoto}
{$sPostText}
</div>
<div class="clear_both"></div>
{$sTags}
</div>
EOF;
==========================================================================================
For the bottom area of the blog post insert the code you copied:
EOF;
}
$sAuthor = '';
//339933 color green
$sPostText = ($iView==2) ? $aResSQL['PostText'] : $aResSQL['PostText'];
if ($iView==2) $sActions='';
$sTags = <<<EOF
<div class="fr_small_gray_centered">
<span style="vertical-align:middle;"><img src="{$site['icons']}tag_small.png" class="marg_icon" alt="{$sTagsC}" /></span>{$sTagsC}: {$sTagsHrefs}
</div>
INSERT ADDTHIS CODE HERE
EOF;
$sFriendStyle = "";
To put the button at the top of the article content:
$ret = <<<EOF
<div class="navigationLinks">
<span><a href="articles.php">{$sArticlesC}</a></span>
<span>></span>
<span><a href="articles.php?catID={$aArticle['CategoryID']}&action=viewcategory">{$sCategoryName}</a></span>
<span>></span>
<span>{$sTitle}</span>
</div>
<div class="articleBlock">
<div class="mainTitle">{$sTitle}</div>
<div class="date">{$aArticle['Date']}</div>
INSERT YOUR ADDTHIS CODE HERE
<div>{$sText}</div>
</div>
EOF;
To put the button at the bottom of the article content:
$ret = <<<EOF
<div class="navigationLinks">
<span><a href="articles.php">{$sArticlesC}</a></span>
<span>></span>
<span><a href="articles.php?catID={$aArticle['CategoryID']}&action=viewcategory">{$sCategoryName}</a></span>
<span>></span>
<span>{$sTitle}</span>
</div>
<div class="articleBlock">
<div class="mainTitle">{$sTitle}</div>
<div class="date">{$aArticle['Date']}</div>
<div>{$sText}</div>
INSERT YOUR ADDTHIS CODE HERE
</div>
EOF;
It works on Dolphin 6
This was posted on Unity by some one a long time ago!! search the forums!!
Stuart
There are none so blind as those that will not see.