2 dh_com Aug 01, 2012 00:26

Hi Ethan5150
I added these lines in _item_block.inc.php of the skin I use :
<?php
$jl_status = @$Item->status;
if( ($jl_status != 'private') AND ($jl_status != 'protected') ){
if( ! $Item->is_intro() ){
echo ' <div class="action_right" style="margin-top:-7px;">';
echo ' <span style="color:blue;">Share »</span>';
echo ' <a href="http://www.facebook.com/sharer.php?u='; echo $Item->permanent_url(); echo '&t='; echo $Item->title(); echo '&src=sp" title="This link opens a new window to share this post on your Facebook wall (if you have a Facebook profile, of course)" target="_blank"><img style="width:22px;vertical-align:-5px;" src="img/fb.png" alt="Share this post on Facebook" /></a>';
echo ' <a href="https://plus.google.com/share?url='; echo $Item->permanent_url(); echo '" &title="'; echo $Item->title(); echo '" title="This link opens a new window to share this post on your Google+ profile (if you have a G+ profile, of course)" target="_blank"><img style="width:21px;vertical-align:-4px;" src="img/gplus-32.png" alt="Share this post on Google+" /></a>';
echo '</div>';
};
};
?>
You need to put the two icons in the /img directory f the skin you use.
You may copy them from my site: http://www.le-fataliste.fr/
Regards
Jacques
Don't bother installing outdated plugins, just do it yourself
https://developers.facebook.com/docs/plugins/
Facebook share and like are basically the same things anymore, though they are still calculated seperately, facebook has plans of merging the two and deprecating the share.
But it's pretty easy, i ll add an option to add share in social buttons plugin, it needs to be updated anyway, the button codes keep changing.
Ok, so it sound like I should just wait until the social buttons plugin is updated, yeah?
You could do that, or simply add your own as such:
<a class="fbshare" href="http://www.facebook.com/sharer.php?u=<?php echo $baseurl; ?>index.php?p=<?php $Item->ID();?>">
Share
</a>
Ethan5150 wrote:
Ok, so it sound like I should just wait until the social buttons plugin is updated, yeah?
I am using ShareThis. Look at my page.
http://diversityhuman.com/hollywood/index.php/Entertainment-portal/kristen-stewart-cheated-betrayal-robert-pattinson-devastated
When you hit facebook 'Share' that will scan through the images and post it on facebook.
And by the way, the 'mystique' skin has facebook share plugin in it. :)