Home > Forum

Support Forum

Version 2.0.0 bug with PlusOne button

Discussion forum for WP Socializer plugin

Version 2.0.0 bug with PlusOne button

Postby kashiif » Tue Dec 27, 2011 11:58 am

Hi!

First of all, hats off to such a great plugin. I have tried many social networking plugins but WP Socializer is so far the best.

Correct Description

When I try to set url for plus one by using
<?php echo wp_socializer('plusone', 'url=' . $addon_url); ?>

The url property is not set properly. After going through the code, i figured out that the problem is in wp-socializer.php. There are two case statements for 'plusone': The first one calls wpsr_plusone_bt() while the alter calls wpsr_plusone(). The later is correct.

Commenting the first case passes correct url. I am not sure if it would break shortcodes (which I am not using right now)

Old Description

I have encountered one problem though. When a page is set to have a canonical url (<link rel="canonical" href="any_url_here" />), Facebook and PlusOne will use the meta data from the canonical page, instead of the current page itself. But the WP Socializer buttons will ignore canonical url and pass the current url.

For example see a page at my website: http://www.kashiif.com/firefox-extensio ... s-welcome/

If you try the same page in FB linter tool:

http://developers.facebook.com/tools/de ... welcome%2F


Or in google plus one:

http://www.google.com/webmasters/tools/ ... e%2F&view=


You can understand what I am talking about.
kashiif
 
Posts: 4
Joined: Tue Dec 27, 2011 11:41 am

Re: Version 2.0.0 bug with PlusOne button

Postby vaakash » Wed Dec 28, 2011 6:52 am

Hello kashiif ,

Thanks for trying WP Socializer. I think, you were not aware of the recent version "2.2"
It was released on released on 11/11/2011

It has most of the bugs fixed. The issues you told were already spotted and rectified.

Please download the latest version and report if you have any issues. I am always there to debug.
Link: http://www.aakashweb.com/wordpress-plug ... ocializer/

Thank you.
User avatar
vaakash
Site Admin
 
Posts: 704
Joined: Sun Jan 17, 2010 11:15 am
Location: India

Re: Version 2.0.0 bug with PlusOne button

Postby kashiif » Thu Dec 29, 2011 5:53 pm

HI!

Thanks for your response.

Sorry I mistakenly reported the wrong version., In-fact I am using version 2.2.

There is one more issue I found out. When using wp_socializer('digg', 'url=some_url'), there is no button displayed. By using Firebug, I located the following line was generated correctly:

Code: Select all
<!-- Start WP Socializer Plugin - Digg Button -->
<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fwww.kashiif.com%2Ffirefox-extensions%2Fcopy-urls-expert%2F&amp;title=Copy+Urls+Expert+%26%238211%3B+Copy+Urls+of+All+Tabs%2FLinks" ></a>
<!-- End WP Socializer Plugin - Digg Button -->


However the css classes "DiggThisButton"/"DiggMedium" does not seem to exist. You can have a look at http://www.kashiif.com/firefox-extensio ... mark-plus/
kashiif
 
Posts: 4
Joined: Tue Dec 27, 2011 11:41 am

Re: Version 2.0.0 bug with PlusOne button

Postby vaakash » Thu Dec 29, 2011 7:27 pm

The classes "DiggThisButton"/"DiggMedium" exists Refer this page : http://about.digg.com/downloads/button/smart

Digg button always have this problem. Its due to asynchronous loading of the button (this error occurs only to digg - wondering why !!).

Try refreshing the page or check whether the "digg button is script is included in the header or footer.

Thank you.
User avatar
vaakash
Site Admin
 
Posts: 704
Joined: Sun Jan 17, 2010 11:15 am
Location: India

Re: Version 2.0.0 bug with PlusOne button

Postby Cynthia29 » Fri Dec 30, 2011 6:23 am

Google, plus one to make sure that Google will deliver 1000 plus one for 7 to 14 days by adding 100 1 per 24 hours; By doing this, Google will see your site as a site for rapid growth and will quickly increase your rank in the research. Another reason you should buy Google, plus one of us is that we are not using the robot or a proxy server to deliver your one adds, we use real people to deliver our services. You can buy Google and one of us at the cheapest rate.
Cynthia29
 
Posts: 1
Joined: Fri Dec 30, 2011 6:22 am

Re: Version 2.0.0 bug with PlusOne button

Postby kashiif » Fri Dec 30, 2011 7:19 am

vaakash wrote:Try refreshing the page or check whether the "digg button is script is included in the header or footer.


Yeap, you are correct. No javascript is being loaded from digg. So is it a bug or am I missing anything?
kashiif
 
Posts: 4
Joined: Tue Dec 27, 2011 11:41 am

Re: Version 2.0.0 bug with PlusOne button

Postby vaakash » Fri Dec 30, 2011 10:53 am

If you are using the template function, then you should use the code

Code: Select all
<?php echo wpsr_digg_script(); ?>


either in the header or footer for including the digg button script.

If you are placing the button using the "Administration page" then WP Socializer will automatically include the script.

Please check that out. Thank you.
User avatar
vaakash
Site Admin
 
Posts: 704
Joined: Sun Jan 17, 2010 11:15 am
Location: India

Re: Version 2.0.0 bug with PlusOne button

Postby kashiif » Fri Dec 30, 2011 12:03 pm

This fixes the problem. Thanks
kashiif
 
Posts: 4
Joined: Tue Dec 27, 2011 11:41 am


 


  • Related topics
    Replies
    Views
    Last post


Return to WP Socializer

cron


phpBB SEO