ReTweet Me

Started by DoctorMalboro, May 02, 2010, 02:54:45 AM

Previous topic - Next topic

DoctorMalboro

Link to Mod

ReTweet Me 0.6

By DoctorMalboro




Function:
  • You can easily tweet topics.
  • You can display how many tweets has.

Features:
  • Lightweight and easy to customize
  • Based on Twitter API.
  • Only a single code line.

Update Map:
Quote0.1 = Initial Release.
0.2 = ADDED: Opens a blank page for the retweet.
         ADDED: Use the No Follow atribute.
         FIXED: It only shows it in the main topic.
0.3 = NEW: New design based on Twitter API.
         ADDED: Tweet Counter.
         FIXED: Hardcoded text.
0.4 = FIXED Bug in the button.
         FIXED Bug in the package...
0.5 = UPDATED to 2.0 RC4.
0.6 = ADDED Options to customize.
         FIXED Bug in the counter.

haito

www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

DoctorMalboro


giveaway365.com

Nice mod.. A suggestion...
Can you open the retweet button in a new window?

~DS~

So intead of "retweet" button inside the body of the post, what about the header? Where FB Connect is but to the right?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

giveaway365.com

the mod basically retweets the topic URL and not the post URL. Hence its better to see the retweet button once only on top of the page.

Also the button should open in new window so that the user does not go away from our website to twitter.

DoctorMalboro

Quote from: giveaway365.com on May 03, 2010, 02:38:11 AMNice mod.. A suggestion...
Can you open the retweet button in a new window?
I will do it this afternoon, thanks for the idea ;)

Quote from: Dismal Shadow on May 03, 2010, 02:43:34 AMSo intead of "retweet" button inside the body of the post, what about the header? Where FB Connect is but to the right?
It's not a twitter connect mod (working on that, i'm kind of slow in PHP :P ), it's that you can retweet post or topics...

Afro

The good suggestions above is that it should only stay near the facebook share icon.
That is once per page and not in every post.
Thanks for the mod.

vicram10

good job.. and nice mod..

* Vicram10 say "Estoy al dope" ;D ;D

DoctorMalboro

Quote from: vicram10 on May 06, 2010, 05:11:55 PMgood job.. and nice mod..

* Vicram10 say "Estoy al dope" ;D ;D
Thanks Vicram10, and i am too :P

Afro

Dr House, are you doing something about this icon appearing once in a page ?

giveaway365.com

we are desparely awaiting the suggestions.... like opening in new window & once per page !!

4Kstore

Nice mod ;)  Congrats...
*4k say: Racing is al dope! ;)

¡¡NEW MOD: Sparkles User Names!!!

DoctorMalboro

Quote from: Afro on May 07, 2010, 05:54:38 AMDr House, are you doing something about this icon appearing once in a page ?
Yes, i am doing it. Just that i don't have time, many test though :(
Quote from: giveaway365.com on May 07, 2010, 06:25:04 AMwe are desparely awaiting the suggestions.... like opening in new window & once per page !!
Sorry, working on both...
Quote from: 4kstore on May 07, 2010, 06:48:08 AMNice mod ;)  Congrats...
*4k say: Racing is al dope! ;)
Haha, thanks, and bite me :P

DoctorMalboro

Updated with all the suggestions added :)

Enjoy it! ;)

~DS~

Quote from: DrHouse on May 07, 2010, 10:28:26 PM
Updated with all the suggestions added :)

Enjoy it! ;)
Sweet, not next to facebook share? Oh well.
Board permissions would be great. Bluedevil can help you with that since he did with Facebook's "like" mod.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

giveaway365.com

thank you sir.
The only thing is that Retweet button seems to have aligned towards right instead of left!

DoctorMalboro

Quote from: Dismal Shadow on May 07, 2010, 11:33:17 PM
Quote from: DrHouse on May 07, 2010, 10:28:26 PMUpdated with all the suggestions added :)

Enjoy it! ;)
Sweet, not next to facebook share? Oh well.
Board permissions would be great. Bluedevil can help you with that since he did with Facebook's "like" mod.
I've got the "Like" button, but, having problems with integration, besides, i wanted to make an advanced menu (it has lot of cool stuff the "Like" button...).

Quote from: giveaway365.com on May 08, 2010, 12:01:40 AMthank you sir.
The only thing is that Retweet button seems to have aligned towards right instead of left!
I see it in your forum, you want it like THIS?

giveaway365.com

yes sir... want it the way it is in the link !

DoctorMalboro

#19
Try this:
./Themes/default/Display.template.php
search:
<a href="', $scripturl ,'?topic=', $context['current_topic'],'" target="_blank" rel="nofollow" class="retweet self">', $context['subject'],': ', $scripturl ,'?topic=', $context['current_topic'],'</a>

and replace it for:
<div align="left"><a href="', $scripturl ,'?topic=', $context['current_topic'],'" target="_blank" rel="nofollow" class="retweet self">', $context['subject'],': ', $scripturl ,'?topic=', $context['current_topic'],'</a></div>

and tell me if it works :)

Advertisement: