Rob, thank you for this module. Awesome; huge tweetmeme fan. I implemented on 4 independent but identical sites for both User Profiles and Blog posts.
. 1 works just fine (profiles + blog) www.glamfree.com
. 2 don't work (profile + blog) www.glamshows.com & www.glamact.com
. 1 works doesn't work on profiles but do work on blog www.glamchic.com

I have checked the forum but couldn't find an answer. I un-installed and reinstalled the module on one site and reinstalled, same outcome. Not using redirects. The sites don't use the same code base but should be pretty much identical. The sites are on different servers. Could it be latency? What am I doing wrong?

Thank you for your help.

-arnaud [Drupal newbie, no code]

CommentFileSizeAuthor
Tweetmeme green and grey.png1.54 KBarnaudfischer

Comments

mattyb’s picture

arnaudfischer - I've got a feeling it's to do with the format of your url.

Do you have any characters in your url such as ? ' +

I only ask, because that's whats happening for me.

arnaudfischer’s picture

Mattyb, thank you for your note. I am using clean URLs, no "?" or other variables. I am at a loss. I can only think that there must be some module conflicts in the install sequence because it works for 4 out of 7 sites with similar configuration.

Thanks anyways

-arnaud

robloach’s picture

Hmmm, very strange.... Have people Tweeted about the site since? Maybe it's just not picking it up.

mattyb’s picture

Hiya
After taking a look at the wordpress plugin I noticed something was missing from the drupal module.
Just remember that I've embedded the tweetme button straight into the template, and I'm not using the module, but it should be fairly simple to get this work around built into your code.

The ingredient missing from the module was urlencode.

In my code I encode the whole url.
print "tweetmeme_url = '" . urlencode ("http://www.whydelilah.co.uk/". $node->path) ."'; "

hopefully it should then be working all of the time for you.

Matt

arnaudfischer’s picture

I solved my issue by picking up the script directly from the site and creating blocks. Works like a charm.

charlie-s’s picture

I believe the node title is the issue. The URL may have stripped out the punctuation, but the Title (with punctuation, ampersands, etc) is being passed to Tweet Meme and breaks the transaction.

Edit: Ignore the post above, title is not sent. I had this problem with punctuation but was able to massage URL Aliases to get rid of things.