7/14/2006

Reddit This - Wordpress Plugin

Filed under: — Aviran Mordo

Current version: 1.0
Reddit this wordpress plugin is a plugin that detects incoming links from Reddit.com to your wordpress post and automatically display a link back to the reddit post, for people to vote and comment on your story.
When a referral is first recognized an email is sent to the site’s admin

The detection is based on the referrer URL, which has to come from reddit.com.
In case there is more than one reddit posts to your page, only the first one will be displayed.

How to install:
Copy Reddit this plugin to wordpress plugin folder and activate it.

To use this, simply add < ?php if(function_exists('reddit_this')) {reddit_this();} ?> anywhere in your template (in “the loop”) you want to show the link back to Reddit.

The function has 5 optional parameters:
$before - The text you want to output before the link. This can any HTML text, for instance a tag
$link_text - The text that will link back to reddit. The default is “Vote Reddit story”. (This can also be an image tag or any other valid html tags)
$after - The text to output after the link back to reddit. For instance the closing tags from the $before text.
$ping - This is a ping attribute (string) inside the <a href…> tag. The ping will be added at the end of the post URL.
$show_what_is_this - This is a boolean which indicates whether to show a question mark after the reddit this link, which explains why this link is created and link to this plugin page.

Examples:

Examples:
< ?php reddit_this(); ?> will create a “Vote Reddit story” link with a question mark which explains why this link is created and link to the plugin page.
< ?php reddit_this("<p class='reddit'>“, “Comment On Reddit”, “<p>”); ?> will create a “Comment On Reddit” link like the previous example between <p> tags.
< ?php reddit_this("<br/>“, “Vote Reddit story”, “”, “ping”); ?> like before but adds a ping url to the reddit link.
Note: if you are using url format such as yoursite.com?post=12 the ping string should be “&ping=SOMETHING”
< ?php reddit_this("", "Vote Reddit story", "", "ping", false); ?> like the above but removes the ? link.

You may download this plugin for free, all I ask is that you let me know how it works for you (just write a comment).
Please show your support by leaving the $show_what_is_this as true (you don’t have to but I will really appreciate it).

Download Reddit this plugin

Also availabe: Digg This Wordpress Plugin

179 Responses to “Reddit This - Wordpress Plugin”

  1. Harry Says:

    will any body tell me what is reddit.com and how can i be benefitted from it.

  2. bbum Says:

    I modified this module to do the reddit button in the same way you did the digg-this button.   Almost.  It also short circuits the referrer such that people clicking through from reddit’s new page will trigger the auto-reddit-detection behavior.

    Pain in the ass.   I know not PHP well and it shows, I’m sure. But it works for me.

    http://www.friday.com/misc/reddit-this.php.gz

  3. bbum Says:

    Oh, forgot to mention — take that code and do whatever you want with it.  Feel free to ping me via email, if necessary.

  4. umair Says:

    @Harry
    well if u want to know wht redit is , ur best bet will be tto visit it :D

  5. WallerBlog Says:

    Hey, I love your digg plugin, but I can’t get this one to work.

  6. Aviran Mordo Says:

    It works the same, but like the digg plugin people need to enter your page from the comments page of the link in reddit, otherwise the plugin can’t know the story URL

  7. articlexpose Says:

    Its very useful plugin, very help in promote my articles..thank you very much for the plugin…

  8. bullet proof hosting Says:

    nice

  9. Onlineshop Says:

    I think these blog is really useful for new comers and Excellent resource list.
    It´s a very interesting Blog and simple answer of many questions.
    Keep up the good work!
    Thanks it helps me a lot…

  10. gutschein Says:

    Excellent article it’s realy helpful, keep up the good work!
    Thank you.

  11. sohbet Says:

    thanks , very good

  12. Jay Tillery Says:

    Groovy!

  13. Jayce Ooi Says:

    Thanks. =)

  14. Alien Says:

    Thanks for information.

  15. sohbet Says:

    very nice site

  16. ugon Says:

    thanks for reddit plg

  17. sms Says:

    of course very fine

  18. mirc Says:

    thank you very much

  19. Gratis SMS Says:

    It’s interesting to read ideas, and observations from someone else’s point of view… makes you think more.

  20. youtube, rize Says:

    Stumbled across this blog from the V7N contest post..wow. I’ll be back

  21. Futbol izle Says:

    Usefull plugin already downloaded… I will install soon as well…

  22. evden eve nakliyat Says:

    thanks

  23. best-of-katalog Says:

    ich finde es ist eine gute Idee des webmasters

  24. Stefan Says:

    relation… good

  25. nana Says:

    danke für alles

  26. Sohbet Says:

    But I think Fresh theme is better than it…

  27. Bad Düben Says:

    Its very useful plugin

  28. sMs Says:

    Thank you for the great plugin, i will use it on one of my projekts.

  29. cam filmi Says:

    keep up the good work! thanks

  30. En Güzel Resimler Says:

    thanx so much this plugin is very good ı like this site.

  31. Cool Pictures Says:

    good post will create a “Vote Reddit story” link with a question mark which explains why this link is created and link to the plugin page. ı like this.Thanx

  32. youtube Says:

    thank you very much

  33. kıbrıs Says:

    thank you so much. goodest.

  34. Muhabbet Says:

    Thanks For plugin.

  35. Michael Says:

    thanx so much this plugin is very good ı like this site.

  36. indir Says:

    thanx so much this plugin is very good ı like this site.

  37. chat Says:

    But I think Fresh theme is better than it

  38. chat Says:

    thank you for plugin.

  39. mor ve ötesi Says:

    thanks a lot

  40. Tunahan Says:

    Thanks for post.

  41. baby pictures Says:

    thanks for this plugin.it is in my default wp file.

  42. berkmr Says:

    Its very useful

  43. cello Says:

    Thank you for the great plugin

  44. stoo Says:

    its useful,thanks

  45. araba oyunlari Says:

    good

  46. erdem Says:

    :)

  47. Plus Tc Says:

    Thanks

  48. nakliyat Says:

    Q : will any body tell me what is reddit.com and how can i be benefitted from it.

    A : Reddit is a social bookmarking service

  49. ADtesch ile Reklam 2.0 Döemi Says:

    Thanks for all ;)

  50. facebook Says:

    thankss

  51. arkadaş Says:

    Hi if others are interested in language variants may be we can help

  52. oyungemisi Says:

    Excellent Job…
    Thank you.

  53. oyungemisi Says:

    Excellent Job… I will try to incorporate this in my Devotional Website…

    Thanks

  54. Sohbet Says:

    thanks..

  55. burak Says:

    good good thanks

  56. hakan Says:

    thankssss

  57. Keyifkafe.Net Says:

    Thanks for all

  58. makale Says:

    thanks friend

  59. youtube Says:

    thx for your plugin I am Blog

  60. Serkan Says:

    Hey, I love your digg plugin, but I can’t get this one to work

  61. maynet Says:

    thanks

  62. muhabbet Says:

    thx you

  63. Emrecan Says:

    Thank you !

  64. forumlar Says:

    im having similar problems to jason, not showing the characters correclty shows

  65. World Says:

    Very useful plugin, very help in promote my articles. Thanks very much.

  66. CodTr Says:

    Thanks

  67. resim upload Says:

    thanks man

  68. sohbet Says:

    Thanks a lot

  69. sohbet Says:

    thanks

  70. Adam Pharid Says:

    Hey, I love your digg plugin

    Many thanks for the plugin!

  71. mp3 Says:

    thank you

  72. Chat Says:

    thank you

  73. sohbet Says:

    thanks my frined

  74. mirc Says:

    thanks.

  75. porno izle Says:

    thanks

  76. hakan altun Says:

    http://www.hakanaltunfan.com
    Hakan altun hayranlarının ortak bulusma adresi

  77. deprem | izolasyon | villa | zenon | prefabrik Says:

    thanks

  78. mirc Says:

    thanks you

  79. sendika,catia,aöf,657 Says:

    Thanks.
    This is my site http://www.657liyiz.biz
    sendika,catia,aöf,657

  80. sohbet Says:

    THANKS so much

  81. sohbet Says:

    its good i will use it thanks a lot.

  82. camfilmi Says:

    thanks

  83. Aksiyon Says:

    thanks

  84. HDK ofis büro mobilyaları Says:

    thanks, great work..

  85. kelebek Says:

    Thanks

  86. Kelebek Says:

    thanks you very much

  87. mirc Says:

    thankss

  88. chat Says:

    thankss

  89. leoo Says:

    nice blog

  90. furkan Says:

    thanksss

  91. Sohbet Says:

    Q : will any body tell me what is reddit.com and how can i be benefitted from it.

  92. cam balkon Says:

    cam balkon sistemleri teşekkürler thanks very good articles

  93. hadise Says:

    Hadise açıkgöz fan club web sitesi thanks

  94. vadinin sesi Says:

    will any body tell me what is

  95. filmindirizle Says:

    its good i will use it thanks a lot.

  96. on holiday Says:

    Thanks Digg this is boss im sure reddit this will be the same cheers..

  97. sohbet odaları Says:

    thank you very much

    Sohbet odaları

  98. adult forum Says:

    its good i will use it thanks a lot…

  99. resim Says:

    thanks you very much

  100. mırc,mirc Says:

    thanks you

  101. türkçe mirc Says:

    Nice letter thanx man.

  102. serkan Says:

    Thanks

  103. Hüseyin Says:

    nice blog

  104. Hüseyin Says:

    Süpermiş hacı :) Thanksssss

  105. Satranc Ögren Says:

    Thanks :)

  106. araba oyunları Says:

    Thanks for very interesting article.

  107. araba yarışı Says:

    good tutorial, thank you very much.

  108. alcak Says:

    thanks yours. my verfy good.

  109. www.mibanet.net Says:

    good tutorial, thank you very much.

  110. cet Says:

    thanks you.

  111. mirc Says:

    Thanks Best Regards

  112. forum Says:

    tenks man

  113. efe Says:

    thanks for the plugin.

  114. resimleri Says:

    ohh thankss :))

    Very beautifull place , thanks…

  115. Ligtv izle Says:

    thank you kankam

  116. Network Marketing Says:

    thanks

  117. sohpet Says:

    Thanks

  118. oyunlar1 Says:

    thakyou admin

  119. altın fiyat Says:

    thanks for this great article.

  120. justin tv Says:

    thanks again.

  121. sözlük Says:

    thanks you.

  122. kurye Says:

    kurye

    thanks for sharing

  123. araba oyunlari Says:

    thanks

  124. Project198 Says:

    Cool!!!!!!

  125. Muhabbet Says:

    thank youuuuu

  126. Futbol Oyunları Says:

    Thanks admin. Vey nice, super. Good job.

  127. Savaş Oyunları Says:

    Thanks admin. Very nice…

  128. Handsofrain Says:

    nice Plugin! thanks a lot

  129. koxp game Says:

    koxp game koxp game indir

  130. dizi izle Says:

    dizi izle thanks.

  131. oyun oyna Says:

    oyun oyna bree: )

  132. Saglik videoları Says:

    saglik videoları

  133. koxp game Says:

    koxp game download

  134. anadolu cam balkon Says:

    balkon camlama

  135. erkek oyunları Says:

    erkek oyunları,adam oyunları,erkek oyunu

  136. ben10 Says:

    ben10,ben10 oyunlari

  137. kız barbie oyunu Says:

    barbie oyunu

  138. araba yarış oyunu Says:

    araba oyunları,araba yarışı

  139. araç sorgulama Says:

    araç sorgulama,araç sorgu

  140. boyama oyunları Says:

    boyama oyunları,hepsi oyunları

  141. sikis izle Says:

    tansk

  142. kangal Says:

    I am thanking for the knowledge

  143. Kepçe Kulak estetiği Says:

    Veri Nice….. ( kulak estetiği ) Thanks for Doc….

  144. sikiş Says:

    thanks for all admin
    very good
    sikiş

  145. Araç Sorgulama Says:

    Great thanks a lot
    araç sorgulama

  146. tekin Says:

    cam filmi

  147. radyo dinle Says:

    thanks for you admin bey

  148. cam filmi Says:

    a very good

  149. hikayeler Says:

    thanks yours.. to share..

  150. yarış oyunları Says:

    Yarış oyunları teşekkür eder. Very good thanks.

  151. Badr Says:

    very good this plugins. tanks

  152. Büyü Bozma Says:

    thanks yours.. to share..

  153. Bağlama Duaları Says:

    very good this plugins. tanks

  154. büyü Says:

    very good this plugins. tanks

  155. Büyü Çeşitleri Says:

    very good this plugins. tanks

  156. mario oyunları Says:

    good tutorial, thank you very much.

  157. giydirme oyunları Says:

    Thanks admin. Vey nice, super

  158. mario oyunu Says:

    It is good.Thanks

  159. mario oyunları Says:

    Pretty good list, I’m just glad it’s concise.

  160. Avatar oyunları Says:

    Nice article thanks

  161. Kız Oyunu Says:

    Great ! Tanks a lot…

  162. Oyun1 Says:

    Thanks for the hints.

  163. mario oyunları Says:

    interesting post. good article thanks admin.

  164. Avatar Oyunları Says:

    Thank you for good sharing

  165. satilik Says:

    very good this plugins. tanks

  166. Kızım nerede Says:

    thanks you, nice blog

  167. çember yarışması Says:

    thank you admin woww

  168. askim chat Says:

    Thank you for sharing your article I would always follow.

  169. Oyun1 Says:

    Thanks for the hints

  170. ugur Says:

    Thank you for this nice plugin

  171. Hiphop Says:

    Thanks, nice sharing..

  172. heyooo Says:

    colll thanks..

  173. islamcıyız Says:

    yes of course nebicim site

  174. Betty Ohno Says:

    Even supposing the crisis passed off, why the principles to break buildings.

  175. abidik Says:

    I really like your website and your writing style.

  176. chat kanalı Says:

    I had read this article, it’s very usefull for me, thanks :)

  177. darkorbit oyunu Says:

    thank you haha lol D

  178. gametrium portal Says:

    a useful article thanks for help and keep good working..

  179. moncler jackets for men Says:

    I really wanted to jot down a remark in order to express gratitude to you for the magnificent ideas you are posting at this site. My particularly long internet lookup has now been rewarded with useful ideas to go over with my guests. I ‘d point out that most of us visitors actually are undoubtedly lucky to dwell in a fine network with very many marvellous individuals with beneficial tips. I feel quite fortunate to have come across the website page and look forward to plenty of more amazing minutes reading here. Thanks a lot again for a lot of things.

Powered by WordPress