Formspring.me plugin/widget para WordPress!

Doubts and suggestions? marcosnobregajr@gmail.com

É isso ai galera, eu tava vendo pela web o que havia para formspring.me e não vi nada, o que é normal tendo em vista que o formspring.me não disponibiliza uma API de acesso aos dados.

Resolvi brincar um pouco com PHP e WordPress, criação de plugin/widget que permite os usuários do wordpress adicionarem suas atualizações do formspring.me.

=D

Atualizando o post aqui: Plugin/widget finalizado

Para instalar ele é bem simples, basta copiar o arquivo formspringme-widget.php para a pasta de plugins (wp-content/plugins) e depois no painel de plugins do wordpress ativar ele. Quando ativado, ele será exibido na página de widgets (Aparência/Widgets), ai é só arrastar e soltar na barra lateral.

Pronto galera, para baixar o plugin tá ai o link:

Download: FormSpring.me Updates

Link to plugin page at wordpress.org : http://wordpress.org/extend/plugins/formspringme-updates/

Formspring.me Updates

Description

This plugin adds a widget to show the lastest formspring updates based on username
For better compatibility, this plugin must be used with PHP5 or higher
This plugin allows to set 3 options:
  • Username: Formspring.me username
  • Title: The widget title to show
  • Number: The number of updates to show

Note: This plugin doesn’t uses the API of Formspring.me because it isn’t avaiable yet. So, this may still unavailable at any time.

Customization

This plugin is totally customizable by CSS classes. The updates are wrapped by this CSS classes:

  • ul.formspringme-updates : the main updates list
  • li.formspringme-update : the update item, this item is child of formspringme-updates
  • span.formspringme-question : the question text
  • span.formspringme-answer : the answer text

Installation

To install is very simple:

  1. Unzip the plugin files
  2. Upload `formspringme-updates.php` to the `/wp-content/plugins/` directory
  3. Activate the plugin throught the ‘Plugins’ menu in wordpress
    1. Drag and add the widget to your theme sidebar throught ‘Widgets’ menu in wordpress
    2. Or just add [ formspringme-updates ] ( without speaces ) to your post/page content and the plugin will show your updates
    3. You can show answers from any user just adding the username, independent the user configured. eg.: [ formspringme-updates username ]
  4. It’s working!

Changelog

1.3

  • Add feature to show updates on post/page content just adding [ formspringme-updates ]

1.2

  • Fix compatibility with other servers where file_get_contents was disable

1.1

  • Added link to user profile with text “Ask me anything”
  • Added message “Any questions answered yet” when any question isn’t found
  • New CSS class added to customize style of profile link

1.0.2

  • Fixed bug in generation of direct links to questions.

Plugin example using [ formspringme-updates ] on post content:

Using just [ formspringme-updates ] ( without spaces between brackets), the plugin will show answers from configured username

[formspringme-updates]

Using [ formspringme-updates emanuellebrito ] (without spaces between brackets), the plugin will show answers from emanuellebrito, independent the configured username

[formspringme-updates emanuellebrito]


29 Responses to “Formspring.me plugin/widget para WordPress!”

  1. [...] plugin/widget para WordPress! « Marcos Nóbrega Após a sua avaliação, vote ou comente Fonte =D Atualizando o post aqui: Plugin /widget finalizado Para instalar ele é bem simples, basta [...]

  2. zynga chips disse:

    i was starting to sense i might be the sole person whom thought about this, at least at present i learn i’m not odd :) i will be sure to pay a visit to a number different posts right after i get a tad of caffeine in me, it can be tricky to read without my coffee, I was up late last evening playing zynga poker and after drinking a few beers i wound up burning off all my facebook poker chips cheers :)

  3. howdy brilliant little blog ya have right here :-) I apply the exact design template on my own website and yet for whichever reasons it looks to reload more quickly on this website although this site features alot more content. Are you currently applying different plug ins or widgets that speed it up? Do you think you could possibly share the names so I can use these in my web site so twilight eclipse supporters could watch twilight breaking dawn online trailers and clips a lot quicker I’d be ever so happy – thank you ahead of time :)

  4. Marcos Nóbrega disse:

    hi friend, about your message on my blog, i don’t using any plugin to increase the speed.

  5. David John disse:

    250 wordpress plugins is the best plugins that i have ever use, you can easily auto your blog or do SEO without lifting a finger http://250wordpressplugins.net

  6. Great post, Information about these Issues Always seem to make my day better!

  7. Worker disse:

    Hola,
    ЎUf, me gustу! Tan clara y positiva.
    Gracias

    Worker

  8. great information you write it very clean. I am very lucky to get this tips from you. LeBron
    James shoes

  9. RFID Reader disse:

    Great article, thank you very much! RFID Reader

  10. Someone I work with visits your blog regularly and recommended it to me to read too. The writing style is great and the content is top-notch. Thanks for the insight you provide the readers!

  11. I really enjoyed this post, especially the “examples in this post” portion which made it really easy for me to SEE what you were talking about without even having to leave the article. Thanks

  12. DANIEL disse:

    Very good indeed. Thanks!

  13. Great article, thank you very much!

  14. Dougles disse:

    ЎHola!
    Todo dinбmica y muy positiva! :)

    Dougles

  15. Brian Wyrick disse:

    Hello – I just ran an update for this plugin and somehow ended up disabling page editing – once deactivated, everything is fine – has this happened to anyone else?

  16. Boldy disse:

    De dуnde eres? їEs un secreto? :)

    Boldy

  17. Caelen disse:

    @Brian
    I also found this, worked my way through my plugins and tracked it back to this- have disabled it in the meantime – it’s not just you!

  18. Yes… i also really like to visit new place, your idea is good.

  19. Nice Information.. Thx for sharing this

    information

  20. watch naruto disse:

    Interesting Topic, I bookmarked your site.

  21. Panic disse:

    I just tried to subscribe to your RSS feed and it told me some kind of PHP error! Fix it?

  22. Marcos Nóbrega disse:

    I’ll fix it, thx.

  23. Thanks For This Blog, was added to my bookmarks.

  24. 黑帽SEO disse:

    great experience, dude! thanks for this great post wow… it’s very wonderful report.

  25. lortnoc disse:

    ATTENTION!!!

    this plug in (Version: 1.3) is the origin of this problem: http://wordpress.org/support/topic/394898?replies=4#post-1513142

  26. Marcos Nóbrega disse:

    Thank you for help me to found this bug,
    i’ll check this soon.

  27. Story, i enjoyed sharing this.

  28. david disse:

    Hi man,

    love this plugin!

    ive integrated this alongside the formspring.me widget.

    Is there anyway to integrate a ‘more->’ button to automatically load the next batch of comments into the page? that way my users wont ever have to leave my site.

    hope you can help me do this, willing to donate if its possible.

    thanks

    David

  29. david disse:

    i also have the problem, “this plugin breaks editing of pages”. makes them appear blank within the edit page.

\o/

Desenvolvedor web, gosto da rapidez como as coisas acontecem na rede, uma simples informação pode girar o mundo em alguns segundos, anônimos podem ficar bilionários com uma "simples" e ambiciosa ideia.

Motivação: entender e observar como as engrenagens funcionam, o encaixe de cada peça, e a facilidade de juntar as peças e ter algo novo funcionando.

Super poderes: Linguagens de script, principalmente o PHP

Mais sobre

The Ubuntu Counter Project - user number # 32836

PHPConf.com.br

PHP Conference Brasil

Categorias

Lista de Links