Recent Topics

1 Feb 19, 2009 22:32    

Hi, I have created a new ShareThis plugin that allows you to add a ShareThis link to your blog using b2evo's widgets and containers.

It is based off of the original ShareThis plugin, written by Larry Nieves.

Here's the link to more info and download:
http://manual.b2evolution.net/Sharethiswidget_plugin

NOTE: this has only been tested on v2.4.2.

Cheers!

2 Feb 26, 2009 11:01

This one's not working for me. I disabled the other share this, and enabled this one. It's not showing up in the posts, even though I picked "always." Did I have to do something else?

Nelson

3 Mar 02, 2009 21:28

The apply rendering option should be left to the default - "Never".

Also, you need to add the plug-in to your specific blog as a widget after you install it into b2evo. See the 5 steps outlined in the plugin manual page (link above in 1st post), if you haven't already.

What version of b2evo are you using?

4 Mar 03, 2009 17:42

jaromy,

thanks for posting this. I am getting a rendering error on my side bar where the button is suppose to show.

"Notice: Trying to get property of non-object in /htdocs/www/blogs/plugins/_sharethiswidget.plugin.php on line 113

Fatal error: Call to a member function dget() on a non-object in /htdocs/www/blogs/plugins/_sharethiswidget.plugin.php on line 118"

I did everything listed in the manual. From here I am kinda stuck. I can follow direction but I am new to this stuff. Aprreciate any help Thanks,

oh and I am using 2.4.0 version.

Jonathan

5 Mar 05, 2009 06:30

Will "share this widgetized" put the sharethis widget in the post like the other share this? I thought widgets were just for sidebars, tops, and bottoms.

6 Mar 05, 2009 20:13

Hey guys,

Jayincosd - I'll check things out. I believe it's related to a similar error with my other plugin, PostToMyspace, so I should be able to look at it this weekend and get a fix out.

Nelsonguirado - Widgets can go anywhere there is a container. Currently, there is no default container for Posts. But you can create/add one yourself - see: http://forums.b2evolution.net/viewtopic.php?t=14515

Once you do this, then the container will show up in the Widgets control panel page, so you can add any widget to it at that point.

It's a little bit more work than the other Share This plugin, but it buys you the flexibility to place/format it however you like, plus you can put it on every post automatically in one fell swoop.

7 Mar 09, 2009 00:25

Hey guys,

I have a new version of the plug-in available for download. It will fix the problems you have been seeing and reporting.

Basically the problem results from adding the widget into a non-Post container (such as the sidebar). I fixed the code so that it doesn't crap out...

Ultimately, however, you should be adding the widget into a new Post container so that the Share This link will link to the actual posting. Otherwise, ShareThis plugin will not know which post you are interested in linking to, and will default to the Blog link/url.

I updated the documentation to make this a little bit clearer, and included some code examples. So please do check that out if you have any doubts or questions.

Cheers,
J

8 Jul 28, 2009 19:19

I tried the ShareThis plugin, however it's not appearing in the widgets lists. I was able to add the container to main.index.php. Any help is appreciated. I am running 2.4.7.

9 Aug 19, 2009 13:47

Does this work fully in 3.3.x ?

I've got it to display the Share This button in a sidebar, but I can't get the button to appear in the individual posts.

10 Nov 26, 2009 12:27

I´m looking for some solution to change the name "ShareThis" showed in the post. I don´t know what must write and where in the archive _sharethis.plugin.php to show another thing like Share this notice.

This is a part of code, maybe the changes was here but not sure.

$sharethis_url = "http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&charset=utf-8&post_services=" ;
$sharethis_url .= urlencode( $services) ;
$sharethis_url .= '&style=default&publisher=' . $pub ;
if ( ! $this->is_ie_crap() ) {
require_js( $sharethis_url );
return true;
}

I have read in other forums, i need put in some site, some like this:
<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#
publisher=xxxxxxxxxxx&amp;type=website&amp;
buttonText=Share%20this%20notice"></script>

Where and how would be the changes??? thanks


Form is loading...

Run your own website! – This forum is powered by b2evolution CMS, a complete engine for your website.