My WordPress Plug-Ins

Twitter It! – DOWNLOAD

Please rate my plugin at WordPress Plugins. Thanks!
Twitter It! is a very easy-to-use plug-In, that prints out a link to Twitter for each post of your blog. So just place the “Twitter it!” template-tag next to your article and every user who reads your article and wants to twitter it all over the web just has to click the “Twitter it!” link.

You need PHP5 to run this plugin!

Download and Installation

Download it from here or directly over the wordpress interface. Place the plug-in like every plug-in into your plug-in directory and activate it. Go to the options-page in the adminpanel and set it up. Next open your templates (index.php and single.php) and place the “twitter it!” template tag into “the loop” next to your postings.

<?php if ( function_exists('twitter_it') ) : twitter_it($post->ID); endif; ?>

Parameters

twitter_it(int ID);

Don’t modify the parameter.

Releases

V3 – Added nofollow-option
V2 – Added Database-Cache for short-urls
V1 – First release

Did you use the plugin? Then reward my work.

Twitter It

55 Kommentare bisher »

  1. Captain Jack sagt

    um 13:33

    Could you add the option of using ‘bit.ly’? I prefer bit.ly for it has tracking capabilities that TinyURL doesn’t offer.


  2. Roman sagt

    um 10:45

    Hi Captain Jack,
    thanks for your comment. i’ll integrate this feature in the next version. i think the release will be next week. You’ll see it over the plugin admin-interface. :-)

    greets from germany!


  3. Palin Ningthoujam sagt

    um 22:16

    Hi great plugin. thanks. one small hiccup. getting these error messages on my blog. any idea?

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/8/d243008479/htdocs/wp-content/plugins/twitter-it/twitter_it.php on line 134

    Warning: file_get_contents(http://api.bit.ly/shorten?version=2.0.1&history=1&longUrl=http://advocable.com/?p=155&login=palin&apiKey=*****************) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/8/d243008479/htdocs/wp-content/plugins/twitter-it/twitter_it.php on line 134


  4. Roman sagt

    um 23:04

    Hi Palin,
    i received some mails this day all about the same error. looks like some hoster do not allow the function file_get_contents(). When i find a workaround for it, i’ll release a new version of twitter it, so just watch out the plugin-updater.


  5. Roman sagt

    um 23:29

    Hi polks,
    i added a different method to receive the short-link – so file_get_contents() OR curl() must be allow by your hoster. The update should be visible tomorrow via wordpress plug-in updater.


  6. Jeff sagt

    um 11:10

    I’m getting this error when trying to activate the installed plug-in:

    Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/p/i/x/username/html/wordpress/wp-content/plugins/twitter-it/twitter_it.php on line 32


  7. MichaelZ sagt

    um 12:31

    Hi Roman,
    it took some time to find the right place for the twitter_it()-function. other plugins like http://www.dountsis.com/projects/social-bookmarks put it automatically at the end of the post-content-area. would it be possible to add such configuration-functionality?


  8. Roman sagt

    um 12:57

    @Jeff looks like you are using php4 on your server? any possibility to upgrade to php5?

    @MichaelZ That’s a great idea, i am going to integrate that into the next version.


  9. Tim sagt

    um 17:11

    Hi Roman,

    nice plugin, but there are some small bugs in version 4.1

    Right now, it shortens URLs with the p=123 syntax, even if the blog has permalinks enabled.

    This is easy to fix. Just change line 82:
    $p->guid to get_permalink($id).

    And there is an issues with the admin. When you activate “show twitter image” and select the first image and then hit the save button, the second image is selected. Hit the save button again, and the third one is selected, …


  10. Roman sagt

    um 18:26

    Hallo Tim!
    i’ll check that out and fix it as soon as possible.


  11. blogwache.de sagt

    um 19:24

    WordPress-Plugin: Twitter it!…

    Ich habe heute das Plugin Twitter it! von Roman hier im Blog installiert. Kein “must have” aber sicherlich ein “nice to have”.
    Mit diesem Plugin haben Leser die Möglichkeit, anderen über Twitter mitzuteilen, was sie zur Ze…


  12. summatusmentis sagt

    um 00:34

    When I use this plugin I get the error:

    general
    Fatal error: Call to undefined function curl_init() in /var/www/summatusmentis.com/wordpress/wp-content/plugins/twitter-it/twitter_it.php on line 148

    Is there a way to fix this?


  13. summatusmentis sagt

    um 00:36

    I lied, just needed to install php5-curl


  14. Roman sagt

    um 00:45

    Hi Summatusmenits!
    In this version i added the possibility to use file_get_contents() or curl() if the first function is disabled. if both functions are disabled in your installation you have got a problem. :-(


  15. greg sagt

    um 04:16

    I can’t get the images to appear next to the Twitter It! text. Am I missing something? I currently hard coded it to be there but would like to just have the plugin work correctly.

    thanks!!


  16. FoodRenegade sagt

    um 02:58

    Hi, everything *appears* just fine on the page after installation. When I click on the TwitterIt button, it takes me to my Twitter account with the “Reading ‘name of blog post’” in the status field. But there is no shortened URL. I tried it with both my Bit.ly acct and TinyURL, and neither shortened URL shows up. HELP!


  17. FoodRenegade sagt

    um 03:01

    Okay, I got it to work with tiny url by refreshing my post page. But the bit.ly still doesn’t pull up a shortened url in the tweet. Thanks!


  18. Roman sagt

    um 15:58

    Hi FoodRenegade,

    you need to set up an bit.ly account. If you don’t have one, it won’t work.

    greets!


  19. baron sagt

    um 17:57

    Works great, thank you


  20. Mark sagt

    um 14:51

    Eine nette Sache dieses Plugin. Doch ich bin wohl zu doof. Der Button erscheint bei mir nicht. Nur der Text-Link. Irgendeine Idee?


  21. Mark sagt

    um 15:09

    Danke für das update. Jetzt es ausgezeichnet.


  22. Tim sagt

    um 09:37

    Hi Roman,

    the bug I reported before is still there in version 4.3.


  23. Roman sagt

    um 12:23

    Hi Tim!
    I’ll look for it and it will be fixed in the next version.

    thanks for your message.


  24. David sagt

    um 04:38

    Just installed using WordPress 2.7.1install. When I click on Update on the settings page it does not save.


  25. Tom sagt

    um 21:49

    Hi Roman, klasse Plugin und funktioniert auch. Nur nicht richtig! Denn es erzeugt andere TinyURLs als direkt über den Service TinyURL.com oder das TweetThis Plugin. Und das ist nicht gut für mein Tweetback-Plugin, denn das erkennt die URLs die durch TwitterIt erzeugt werden nicht :( Was ist da los?


  26. Klaus sagt

    um 08:32

    Hi Roman, habe gerade gesehen, dass der W3C Validator die Einbindung der CSS Datei beanstandet. Das Problem ist das & Zeichen welches nicht kodiert ist zu &

    Habe in der Funktion add_css der Datei twitter_it.php einfach aus dem & ein & gemacht und der Validator ist zufrieden.


  27. Adam sagt

    um 18:04

    Hi, Twiter plug in really works well and is easy to set up. Quick question, do you know of a way to have a new page or tab open up when a user presses the Twitter it button?


  28. ArianaBrep sagt

    um 11:08

    I love it! That is way cool man! The steps weren’t that complicated too, which is great.


  29. Mark sagt

    um 19:23

    Great plugin. Would be nice to have the option in the admin settings so that when the reader clicked “twitter it”, it would open up in a new window and not take them from the blog. Just a thought.

    Great plugin though!


  30. dimido sagt

    um 18:34

    Danke für das Plugin!


  31. Abel Braaksma sagt

    um 16:03

    Nice little plugin with excellent options. I’m still testing several of your competitors of which some allow sticky images (i.e., they remain, don’t scroll).

    There’s an error in your post with the escaping of the <, which should not happen. Consider using the SyntaxHighlighter Evolved plugin. I've listed all available bundled and non-bundled language brushes, in case you’re interested :)


  32. horst sagt

    um 18:23

    Hallo Roman,
    ich habe versucht dein plugin zu installieren, bekomme aber eine Fehlermeldung
    “Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/twitter-it/twitter_it.php on line 32″
    Woran liegt das? Kannst du mir da weiterhelfen?

    Grüße


  33. Roman sagt

    um 18:41

    du hast scheinbar noch php4 laufen.


  34. horst sagt

    um 22:00

    Hallo Roman,
    danke für den Tipp, hab die Version geupdatet, jetzt lies es sich aktivieren.

    Vielen Dank für deine schnelle Hilfe!


  35. kuduTalk sagt

    um 12:06

    Hi, would it be possible to include #author into the text to tweet?


Komentar RSS · TrackBack URI

Hinterlasse einen Kommentar

Name: (erforderlich)

eMail: (erforderlich)

Website:

Kommentar: