Plugin Directory

Changeset 143014


Ignore:
Timestamp:
08/05/2009 12:00:50 PM (17 years ago)
Author:
webord
Message:

Adicionando versão 0.7

Location:
migreme-retweet/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • migreme-retweet/trunk/migre-contato.php

    r116031 r143014  
    3030
    3131<br style="clear" />
    32     <form action="http://webord.net/">
     32    <form action="http://webord.net/gustavo-s-bordoni/">
    3333        <input class="button" value="Entrar em Contato Conosco" type="submit">
    3434    </form>
     
    5151    <tr class="active">
    5252        <th scope="row">
     53            <?php _e('<a href="http://hostnet.com.br/" target="_blank">HostNet - Hospedagem de sites com construtor de sites, blog, ecommerce e cms</a>', 'migre'); ?>
     54        </th>
     55    </tr>
     56    <tr class="active">
     57        <th scope="row">
    5358            <?php _e('<a href="http://migre.me/" target="_blank">Migre.me - Um portal 100% colaborativo</a>', 'migre'); ?>
    5459        </th>
  • migreme-retweet/trunk/migre-me.php

    r124995 r143014  
    44Plugin URI: http://webord.net/desenvolvimento/migre-me
    55Description: Possibilita o usuário adicionar um botão de retweet no seu blog, usando as urls criadas pelo site <a href="http://migre.me/" target="_blank">Migre.me</a>, caso queira ajudar em algo no projeto entre em contato no blog <a href="http://webord.net/gustavo-s-bordoni/" target="_blank">Webord</a>. Para adicionar o botão de retweet basta colocar a função <code>&lt;?php get_migre(); ?&gt;</code> onde você desejar, dentro do <a href="http://codex.wordpress.org/The_Loop" target="_blank">Loop do Wordpress</a>.
    6 Version: 0.6
     6Version: 0.7
    77Author: Gustavo S. Bordoni
    88Author URI: http://webord.net
     
    2121    }
    2222}
     23
     24function dashboard_migreme() {
     25            wp_add_dashboard_widget( 'dashboard_func_migreme', __( 'Migre.me Retweet' ), 'dashboard_func_migreme' );
     26        }
     27        add_action('wp_dashboard_setup', 'dashboard_migreme');
     28       
     29function dashboard_func_migreme() { ?>
     30
     31        <?php _e('O Migre.me Retweet &eacute; um projeto Brasileiro de um plugin para Wordpress, que tem em mente facilitar a vida dos blogueiros que desejam adicionar um bot&atilde;o para seus usu&aacute;rios twittarem os artigos que foram publicados no blogs.', 'migre'); ?><br><br>
     32        <?php _e('O plugin &eacute; completamente gratuito e sem fins lucrativos, caso deseje nos ajudar a desenvolver o plugin para que se torne algo melhor, v&aacute; ao site <a href="http://webord.net/">Webord</a> e entre em contato.', 'migre'); ?>
     33
     34<?php   }
    2335
    2436
     
    7789
    7890
    79 function getPost()
     91function migreme_getPost()
    8092{
    8193    global $wp_query;
     
    8496}
    8597
    86 function getPostLink()
     98function migreme_getPostLink()
    8799{
    88     $post = getPost();
     100    $post = migreme_getPost();
    89101    $link = get_permalink($post->ID);
    90102    return $link;
    91103}
    92104
    93 function getPostTitle()
     105function migreme_getPostTitle()
    94106{
    95     $post = getPost();
     107    $post = migreme_getPost();
    96108    $title = $post->post_title;
    97109    return $title;
     
    100112function migreBotao($content) {
    101113  $mostra_migreme = get_option('mostra_migreme');
    102   $link  = getPostLink();
    103   $title = getPostTitle();
     114  $link  = migreme_getPostLink();
     115  $title = migreme_getPostTitle();
    104116  $get_migre_twitter = get_option('twitter_migreme');
    105117  $get_migre_twitter_id = $get_migre_twitter['id'];
     
    188200    }
    189201
    190     echo '<!-- Começa o Código gerado por Migre.me Retweet 0.5 Beta -->'."\n";
     202    echo '<!-- Começa o Código gerado por Migre.me Retweet 0.7 -->'."\n";
    191203    if ($botao_migreme['imagem'] == '7') {
    192204        global $text_direction;
     
    205217        echo '</style>'."\n";
    206218    }
    207     echo '<!-- Termina o Código gerado por Migre.me Retweet 0.5 Beta  -->'."\n";
     219    echo '<!-- Termina o Código gerado por Migre.me Retweet 0.7  -->'."\n";
    208220
    209221}
  • migreme-retweet/trunk/readme.txt

    r124995 r143014  
    44Tags: twitter, migre.me, tinyurl, title
    55Requires at least: 2.5
    6 Tested up to: 2.8
     6Tested up to: 2.8.3
    77Stable tag: trunk
    88
     
    1010
    1111== Description ==
    12 = Portugu&ecirc;s =
     12**Portugu&ecirc;s**
    1313Esse plugin permite ao adminstrador adicionar um bot&atilde;o para que os usu&aacute;rios possar retweetar o artigo com um link do [Migre.me](http://migre.me/) .
    1414
     
    1616Se voc&ecirc; quiser ajudar no projeto entre em contato comigo no site [Webord](http://webord.net/desenvolvimento/migre-me).
    1717
    18 = English =
     18** English **
    1919This plugin allows the Admnistrator to add a button on your blog for your users retweet an article with [Migre.me](http://migre.me/) link.
    2020
     
    2424== Installation ==
    2525
    26 = Portugu&circ;s =
    27 = Instru&ccedil;&otilde;es para a Instala&ccedil;&atilde;o =
     26** Portugu&ecirc;s **
    2827
    29     1. Extraia o arquivo na pasta `/wp-content/plugins/`. Se voc&ecirc; estiver fazendo o upload, n&atilde;o se esque&ccedil;a de fazer o upload da pasta inteira, n&atilde;o apenas os arquivos `.php`, para  `/wp-content/plugins/`.
    30     1. Ative o plugin na parte de 'Plugins' do WordPress
    31     1. Visite a se&ccedil;&atilde;o de op&ccedil;&otilde;es do Migre.me no seu menu (*Migre.me - Op&ccedil;&otilde;es*), e configure o plugin como desejar
    32     1. Pronto!
     281. Extraia o arquivo na pasta `/wp-content/plugins/`. Se voc&ecirc; estiver fazendo o upload, n&atilde;o se esque&ccedil;a de fazer o upload da pasta inteira, n&atilde;o apenas os arquivos `.php`, para  `/wp-content/plugins/`.
     291. Ative o plugin na parte de 'Plugins' do WordPress
     301. Visite a se&ccedil;&atilde;o de op&ccedil;&otilde;es do Migre.me no seu menu (*Migre.me - Op&ccedil;&otilde;es*), e configure o plugin como desejar
     311. Pronto!
    3332   
    3433   
    35 = English =
    36 = First time installation instructions =
     34** English **
    3735
    38     1. Unzip the file into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
    39     the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
    40     1. Activate the plugin through the 'Plugins' menu in WordPress
    41     1. Visit your Migre.me options (*Migre.me - Op&ccedil;&otilde;es*), and set the options
    42     1. That's it!
     361. Unzip the file into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
     371. Activate the plugin through the 'Plugins' menu in WordPress
     381. Visit your Migre.me options (*Migre.me - Op&ccedil;&otilde;es*), and set the options
     391. That's it!
    4340   
    44    
    45    
    46 = Configuration =
    47 
    48 = Portugu&ecirc;s =
    49 Se voc&ecirc; quer nos ajudar no projeto, &eacute; poss&iacute;vel me contactar em [Webord Projeto Migre.me](http://webord.net/desenvolvimento/migre-me)
    50 
    51 = English =
    52 If you would like to help us with this project you can contact me on [Webord Project Migre.me](http://webord.net/desenvolvimento/migre-me)
    5341
    5442== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.