Changeset 143014
- Timestamp:
- 08/05/2009 12:00:50 PM (17 years ago)
- Location:
- migreme-retweet/trunk
- Files:
-
- 4 edited
-
images/Thumbs.db (modified) (previous)
-
migre-contato.php (modified) (2 diffs)
-
migre-me.php (modified) (7 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
migreme-retweet/trunk/migre-contato.php
r116031 r143014 30 30 31 31 <br style="clear" /> 32 <form action="http://webord.net/ ">32 <form action="http://webord.net/gustavo-s-bordoni/"> 33 33 <input class="button" value="Entrar em Contato Conosco" type="submit"> 34 34 </form> … … 51 51 <tr class="active"> 52 52 <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"> 53 58 <?php _e('<a href="http://migre.me/" target="_blank">Migre.me - Um portal 100% colaborativo</a>', 'migre'); ?> 54 59 </th> -
migreme-retweet/trunk/migre-me.php
r124995 r143014 4 4 Plugin URI: http://webord.net/desenvolvimento/migre-me 5 5 Description: 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><?php get_migre(); ?></code> onde você desejar, dentro do <a href="http://codex.wordpress.org/The_Loop" target="_blank">Loop do Wordpress</a>. 6 Version: 0. 66 Version: 0.7 7 7 Author: Gustavo S. Bordoni 8 8 Author URI: http://webord.net … … 21 21 } 22 22 } 23 24 function 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 29 function dashboard_func_migreme() { ?> 30 31 <?php _e('O Migre.me Retweet é um projeto Brasileiro de um plugin para Wordpress, que tem em mente facilitar a vida dos blogueiros que desejam adicionar um botão para seus usuários twittarem os artigos que foram publicados no blogs.', 'migre'); ?><br><br> 32 <?php _e('O plugin é completamente gratuito e sem fins lucrativos, caso deseje nos ajudar a desenvolver o plugin para que se torne algo melhor, vá ao site <a href="http://webord.net/">Webord</a> e entre em contato.', 'migre'); ?> 33 34 <?php } 23 35 24 36 … … 77 89 78 90 79 function getPost()91 function migreme_getPost() 80 92 { 81 93 global $wp_query; … … 84 96 } 85 97 86 function getPostLink()98 function migreme_getPostLink() 87 99 { 88 $post = getPost();100 $post = migreme_getPost(); 89 101 $link = get_permalink($post->ID); 90 102 return $link; 91 103 } 92 104 93 function getPostTitle()105 function migreme_getPostTitle() 94 106 { 95 $post = getPost();107 $post = migreme_getPost(); 96 108 $title = $post->post_title; 97 109 return $title; … … 100 112 function migreBotao($content) { 101 113 $mostra_migreme = get_option('mostra_migreme'); 102 $link = getPostLink();103 $title = getPostTitle();114 $link = migreme_getPostLink(); 115 $title = migreme_getPostTitle(); 104 116 $get_migre_twitter = get_option('twitter_migreme'); 105 117 $get_migre_twitter_id = $get_migre_twitter['id']; … … 188 200 } 189 201 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"; 191 203 if ($botao_migreme['imagem'] == '7') { 192 204 global $text_direction; … … 205 217 echo '</style>'."\n"; 206 218 } 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"; 208 220 209 221 } -
migreme-retweet/trunk/readme.txt
r124995 r143014 4 4 Tags: twitter, migre.me, tinyurl, title 5 5 Requires at least: 2.5 6 Tested up to: 2.8 6 Tested up to: 2.8.3 7 7 Stable tag: trunk 8 8 … … 10 10 11 11 == Description == 12 = Português = 12 **Português** 13 13 Esse plugin permite ao adminstrador adicionar um botão para que os usuários possar retweetar o artigo com um link do [Migre.me](http://migre.me/) . 14 14 … … 16 16 Se você quiser ajudar no projeto entre em contato comigo no site [Webord](http://webord.net/desenvolvimento/migre-me). 17 17 18 = English = 18 ** English ** 19 19 This plugin allows the Admnistrator to add a button on your blog for your users retweet an article with [Migre.me](http://migre.me/) link. 20 20 … … 24 24 == Installation == 25 25 26 = Portuguˆs = 27 = Instruções para a Instalação = 26 ** Português ** 28 27 29 1. Extraia o arquivo na pasta `/wp-content/plugins/`. Se você estiver fazendo o upload, não se esqueça de fazer o upload da pasta inteira, não apenas os arquivos `.php`, para `/wp-content/plugins/`.30 1. Ative o plugin na parte de 'Plugins' do WordPress31 1. Visite a seção de opções do Migre.me no seu menu (*Migre.me - Opções*), e configure o plugin como desejar32 1. Pronto!28 1. Extraia o arquivo na pasta `/wp-content/plugins/`. Se você estiver fazendo o upload, não se esqueça de fazer o upload da pasta inteira, não apenas os arquivos `.php`, para `/wp-content/plugins/`. 29 1. Ative o plugin na parte de 'Plugins' do WordPress 30 1. Visite a seção de opções do Migre.me no seu menu (*Migre.me - Opções*), e configure o plugin como desejar 31 1. Pronto! 33 32 34 33 35 = English = 36 = First time installation instructions = 34 ** English ** 37 35 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ções*), and set the options 42 1. That's it! 36 1. 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/`. 37 1. Activate the plugin through the 'Plugins' menu in WordPress 38 1. Visit your Migre.me options (*Migre.me - Opções*), and set the options 39 1. That's it! 43 40 44 45 46 = Configuration =47 48 = Português =49 Se você quer nos ajudar no projeto, é possí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)53 41 54 42 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.