Another 'social bookmarks / share this' question

resolved (11 posts) (4 voices)

  1. roblepair
    Member

    my 'sharethis' bookmarks all work well, except one: stumbleupon. Stumbleupon opens a 'new' stumbleupon page where you can add a url that you would like to enter there. It should open a page in which you have to add things like description, but the permalink of the post + title should be filled in. In other words: stumbleupon does not recognise the post permalink + title you would like to promote. Or: the Awake theme does not 'transport' the url. This is not a stumbleupon-fault, because:
    I still have another bookmarking plugin installed, which includes stumbleupon as well, and that one works fine.
    My question is: what should be changed in the following code to make stumbleupon work?
    the actual code (which doesn't work properly) is:
    array( "name" => "StumbleUpon",
    'icon' => get_template_directory_uri() . '/styles/_shared/post_sociables_stumbleupon.png',
    'class' => 'stumbleupon_icon',
    'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&title=TITLE',
    ),

    Example post to show my 'problem', see for example: http://roblepair.ruhosting.nl/roblog/2010/05/garden-of-england-great-dixter

    In this example post you see first the bookmarks 'tweet this etc, including 'stumble this', which works fine;
    and just below those bookmarks you find the built-in 'ShareThis' bookmarking feature of the Awake theme (in which all work fine, except StumbleUpon).
    Maybe it needs just a small change, but I can't figure that out.
    Thanks in advance for your help

    Posted 1 year ago #
  2. Elliott
    Support

    Hello roblepair,

    Do you mean the URL is not showing up correctly? Right now it is being shortened with bit.ly. Do you mean you want the full permalink and not the bit.ly version?

    I have not used stumbleupon but I think it should work both ways.

    Posted 1 year ago #
  3. Dorian
    Support

    Hi roblepair,

    I took a look at it, and it seems the URL parsing is just fine:

    http://www.stumbleupon.com/submit?url=http://roblepair.ruhosting.nl/roblog/2010/05/garden-of-england-great-dixter/&title=Garden+of+England%253A+in+Great+Dixter+raak+je+niet+uitgekeken

    Check URL and the title.

    I'm not sure, would you like to have the title in the Topic section, or?

    Sorry, but I'm a bit confused about this.

    Cheers,
    Uniq

    Posted 1 year ago #
  4. roblepair
    Member

    Indeed, the url is not parsed into the stumbleupon page when I click the stumble upon icon in the ShareThis feature of the awake theme, the resulting page in StumbleUpon looks like this ->

    1st screenshot: the url of the blogpost is not inserted.

    As I said, when I use another plugin with StumbleUpon bookmarking, the url is parsed correctly, 2nd

    screenshot:

    Attachments

    1. stumble_result_tweet_this_plugin.jpg (41.3 KB, 0 downloads) 1 year old
    2. stumble_result_awake.jpg (22.8 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  5. Dorian
    Support

    Hi roblepair,

    I think I'm missing something here, but may I ask where exactely have you placed the link for SU in the awake theme and it's not working? I've tried to figure out myself, but I can only see the one below the post.

    Uniq

    Posted 1 year ago #
  6. roblepair
    Member

    Yes, the Awake ShareThis links, including SU, are below every post (I thought that's the only possible place?).
    I don't know what you are missing. I hope I can make it clearer: in my previous post, there are two images.
    1. the one above is the result of clicking on the SU-link within the Awake ShareThis links.
    This result does not contain the URL of the suggested post. It only sais: "enter an URL for the site you want to review" and a form filled with "http://www." You still have to fill in the URL.

    2. the second image, below the first one, shows the result of clicking on another 'stumble this' link (from the 'tweet-this' plugin. I included that second picture to show that the stumble this link does work in that other bookmarking plugin: the URL has been filled in, the stumble upon page is ready for writing a review about the post whose URL has been filled in already.

    This does not happen when clicking on the stumblethis link contaied in the Awake bookmarking feature.

    I hope you it is clearer now. Thanks for your attention.
    Rob

    Posted 1 year ago #
  7. Elliott
    Support

    Hey Roblepair,

    I'm kind of baffled as to why it is doing this. I think this is happening when stumbleupon cannot find the URL that is being submitted. When I type in something like http://www.google.com in the url field then it works fine.

    Except when I type in something fake like http://www.google.com/weird or http://localhost then it does not parse the URL.

    I just tried visiting your page again but it is not being displayed. Perhaps StumbleUpon cannot view your page and is prompting you to type in a real URL?

    If we can figure out why your page is not being displayed (when i view it seems like an infinite loop) and fix it then stumbleupon will probably see your page also and will start to work correctly.

    What plugins do you have activated?

    Posted 1 year ago #
  8. roblepair
    Member

    Hi Elliott,
    I use several plugins, but the only plugin related to this issue is 'tweet-this'. That plugin contains several bookmarking-links, also stumble upon.
    That is the plugin that I mentioned in the previous post, and whose stumble-this link works fine.
    That plugin gives the correct result in stumbleupon (the second of the two imagesin previous post.

    Kind regards,
    Rob

    Posted 1 year ago #
  9. Elliott
    Support

    Your site is back up for me now and it seems that stumbleupon does not like bit.ly URLs.

    If we change the bit.ly URL back to the real permalink then it might work.

    In the sociable code try changing it like this..

    function webtreats_sociable_bookmarks() {
    	global $wp_query, $post;
    
    	$stumble = get_permalink($post->ID); // A change here
    
    	$sociable_sites = array (
    
    		array( "name" => "Twitter",
    			'icon' => get_template_directory_uri() . '/styles/_shared/post_sociables_twitter.png',
    			'class' => 'twitter_icon',
    			'url' => 'http://twitter.com/home?status=TITLE%20-%20PERMALINK',
    		),
    
    	    array( "name" => "StumbleUpon",
    		    'icon' => get_template_directory_uri() . '/styles/_shared/post_sociables_stumbleupon.png',
    			'class' => 'stumbleupon_icon',
    		    'url' => 'http://www.stumbleupon.com/submit?url='. $stumble .'&title=TITLE', // And here
    		),

    We are adding a line.. $stumble = get_permalink() and we are echoing that into the stumble URL field.

    See if this works roblepair.

    Posted 1 year ago #
  10. roblepair
    Member

    Hi Elliott, thank you so much!, that was the trick! It works fine!.
    Now I know even better why I wanted to pay for this theme.
    Kind regards,

    Rob

    Posted 1 year ago #
  11. Elliott
    Support

    Glad it works for you roblepair. I'll flag this so Webtreats can take a look and if this is a bug then we should see it fixed in the next update.

    Posted 1 year ago #
  12. Webtreats
    Support

    Thanks Elliott!
    We'll look into this.

    Posted 1 year ago #

Reply

You must log in to post.

Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme