Limitando a quantidade de caracteres do post na saída
No fórum em português do b2evolution, um usuário chamado ffeo me pediu uma ajuda. Dessa ajuda nasceu um plugin!
O que ele faz é limitar o tamanho do texto do post na listagem de posts, para um valor que você tenha configurado na administração, e adiciona um link para o restante do post.
O efeito é mais ou menos parecido com o do site ato ou efeito e pode ser baixado em http://devlog.waltercruz.com/media/blogs/b2evolution/limit_post_chars-0.2.zip http://devlog.waltercruz.com/media/blogs/b2evolution/limit_post_chars-0.1.zip
XFN enabled Blogroll
XFN enabled Blogroll
To learn about xfn, read: http://gmpg.org/xfn/
Some days ago, while reading about the launch of the Google Social Graph API, I got interested and also a little disappointed,because b2evolution does not support the xfn attributes on its linkblog.
So I decided to implement a plugin that replaces the standard linkblog, but with the ability to use the xfn extensions. I haveincluded another desired feature: make my blogroll a simple list, instead of listing the links up according to there categories.
Installating this plugin will provide a new widget called 'Linkblog (xfn)', which you can use to replace the standard b2evolutionlinkblog widget. To add your relationship to the people in your linkblog I decided to use the tags field from the post. For example: if I add a link to a friend I have actually met, I add the tags 'friend' and 'met'.
There is also a hook for something that I will be implementing in the future, which is to make the linkblog links open in a newwindow, but the plugin is perfectly useable right now! I hope you enjoy!
You can set this plugin to open link on new windows! Just assure that your skin has jquery loaded. If you are using a b2evolution version greater than 2.x, you can just add to your skin:
require_js( '#jquery#');
You can add the 'rel="external"' to links outside of your linkroll, and all these links will open on a new window.
Download the plugin: http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.2.zip http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.1.zip
Translation by google, corrections by a blonde, coding by an unsung hero 
Blogroll com suporte a XFN
Para conhecer mais sobre o xfn, leia: http://gmpg.org/xfn/
Há alguns dias, ao ler sobre o lançamento da Social Graph API do google, eu fiquei interessado e também um pouco desapontado, já que o b2evolution não suporta xfn nos links do linkroll.
Então, eu decidi implementar um plugin que substituísse o linkblog padrão, mas com a possibilidade de usar as extensões xfn. Eu aproveitei para incluir uma outra característica que eu desejava: eu gostaria que meu linkroll fosse uma lista só, sem divisões de acordo com as categorias.
A instalação desse plugin irá disponibilizar um novo widget chamado 'Linkblog (xfn)', que você pode usar em substituição ao widget de linkblog padrão do b2evolution. Para adicionar o seu relacionamento com as pessoas referenciadas no seu blogroll, eu decidi aproveitar o campo de tags. Por exemplo, se eu vou adicionar um link para um amigo que eu já encontrei, eu adiciono as tags: 'friend'e 'met'.
Existe ainda um gancho para algo que vou implementar no futuro, que é fazer os links do linkroll abrirem em outro janela, mas da forma que está, já é bem útil. Espero que vocês gostem!
Baixe o plugin: http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.1.zip
