Advertisement:

Author Topic: Add Facebook Like, Tweet, and Google +1  (Read 82944 times)

Offline PokémonS

  • Jr. Member
  • **
  • Posts: 313
    • Pokémon Stars Indonesia
Re: Add Facebook Like, Tweet, and Google +1
« Reply #20 on: February 03, 2013, 04:48:48 AM »
Have someone try this mod in 2.0.4? Does it works?
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Add Facebook Like, Tweet, and Google +1
« Reply #21 on: February 04, 2013, 12:14:58 PM »
Works fine on 2.0.4, thanks!

Offline PokémonS

  • Jr. Member
  • **
  • Posts: 313
    • Pokémon Stars Indonesia
Re: Add Facebook Like, Tweet, and Google +1
« Reply #22 on: February 06, 2013, 05:44:05 AM »
Works fine on 2.0.4, thanks!
Thanks~ I've updated the mod's compatible version with 2.0.4.

Also, thanks to all for using this mod! Finally this mod is the most top 5 popular in SMF :D

きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Offline DAVID. D.A

  • Jr. Member
  • **
  • Posts: 229
Re: Add Facebook Like, Tweet, and Google +1
« Reply #23 on: February 07, 2013, 06:36:19 AM »
some errors:
Likes dont show on facebook wall

How do i change the 'via @PokeStarsIndo" in tweets to my site's handle and how do i change the recommended follow @PokeStarsIndo after tweets to my own account/handle?!

When someone tries to recommend on google+ the icon changes to a blurred out error triangle. how to fix please?


Offline MarkS

  • Jr. Member
  • **
  • Posts: 205
Re: Add Facebook Like, Tweet, and Google +1
« Reply #24 on: February 07, 2013, 05:02:42 PM »
some errors:
Likes dont show on facebook wall

How do i change the 'via @PokeStarsIndo" in tweets to my site's handle and how do i change the recommended follow @PokeStarsIndo after tweets to my own account/handle?!

When someone tries to recommend on google+ the icon changes to a blurred out error triangle. how to fix please?



same for me likes dont show on fb wall

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Add Facebook Like, Tweet, and Google +1
« Reply #25 on: February 07, 2013, 05:05:54 PM »
Also, thanks to all for using this mod! Finally this mod is the most top 5 popular in SMF :D


Awesome, congrats!

Offline MarkS

  • Jr. Member
  • **
  • Posts: 205
Re: Add Facebook Like, Tweet, and Google +1
« Reply #26 on: February 07, 2013, 05:20:01 PM »
well ive checked the display template and from a no expert it look like the Manual Install Instructions parse looks
so sorry thats me lost :(

Offline TheRealityBuzz

  • Semi-Newbie
  • *
  • Posts: 67
    • The Reality Buzz
Re: Add Facebook Like, Tweet, and Google +1
« Reply #27 on: February 07, 2013, 07:47:03 PM »
I downloaded this on my fourm, and it downloaded fine with no issues but it messed everything up with my links and what not and  this message appeared at the top of my screen

$txt['socialization_onoff'] = 'Enable socialization button (Facebook, Twitter, and Google+)'; $txt['facebook_like'] = 'Show Facebook Like icon in the first post'; $txt['twitter_tweet'] = 'Show Twitter Tweet icon in the first post'; $txt['googleplus_plusone'] = 'Show Google +1 icon in the first post';

Offline TheRealityBuzz

  • Semi-Newbie
  • *
  • Posts: 67
    • The Reality Buzz
Re: Add Facebook Like, Tweet, and Google +1
« Reply #28 on: February 07, 2013, 07:59:18 PM »
On a side note, I tried to uninstall and it is not showing up , which is leaving everything completely thrown out of wack.  I've tried restoring to make it go away, but its not working.

Offline DAVID. D.A

  • Jr. Member
  • **
  • Posts: 229
Re: Add Facebook Like, Tweet, and Google +1
« Reply #29 on: February 08, 2013, 03:34:42 AM »
To fix likes not showing on wall

Code: (find) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

Code: (replace with) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'],   '&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

To replace 'via @PokeStarsIndo' found in tweets

Code: (find) [Select]
PokeStarsIndo
Code: (replace with) [Select]
*Your own twitter handle*

Offline DAVID. D.A

  • Jr. Member
  • **
  • Posts: 229
Re: Add Facebook Like, Tweet, and Google +1
« Reply #30 on: February 08, 2013, 03:37:46 AM »
Is there a way to change the thumbnail of likes to my site's logo or favicon ?

Offline MarkS

  • Jr. Member
  • **
  • Posts: 205
Re: Add Facebook Like, Tweet, and Google +1
« Reply #31 on: February 08, 2013, 03:41:07 AM »
Thanks for this I will give it ago when I'm home from work
My twitter works ok straiange

Offline DAVID. D.A

  • Jr. Member
  • **
  • Posts: 229
Re: Add Facebook Like, Tweet, and Google +1
« Reply #32 on: February 08, 2013, 03:52:22 AM »
Just realized that it wasn't the mod that installed the via @PokeStarsIndo. I needed to move the buttons below the post title (as seen on the previous page) so i copied pokemons code while following his tutorial :laugh:


Offline TheRealityBuzz

  • Semi-Newbie
  • *
  • Posts: 67
    • The Reality Buzz
Re: Add Facebook Like, Tweet, and Google +1
« Reply #33 on: February 08, 2013, 06:07:49 AM »
Its not showing up anywhere so I can delete it, but it is messing everything up. Its not even showing up on my cpanel.

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Add Facebook Like, Tweet, and Google +1
« Reply #34 on: February 08, 2013, 06:31:31 PM »
congrates for your first mod.

Trying now.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline MarkS

  • Jr. Member
  • **
  • Posts: 205
Re: Add Facebook Like, Tweet, and Google +1
« Reply #35 on: February 08, 2013, 06:56:07 PM »
To fix likes not showing on wall

Code: (find) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

Code: (replace with) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'],   '&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

To replace 'via @PokeStarsIndo' found in tweets

Code: (find) [Select]
PokeStarsIndo
Code: (replace with) [Select]
*Your own twitter handle*


thanks but both code do the same think they post in my recent activity as a like
and not on my wall other sites i have seen this on when you click like you can write something then it post on you wall
please some one tell me what im missing
« Last Edit: February 08, 2013, 07:13:21 PM by MarkS »

Offline PokémonS

  • Jr. Member
  • **
  • Posts: 313
    • Pokémon Stars Indonesia
Re: Add Facebook Like, Tweet, and Google +1
« Reply #36 on: February 12, 2013, 06:28:20 AM »
Likes dont show on facebook wall
To fix likes not showing on wall

Code: (find) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

Code: (replace with) [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'],   '&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>';
}

Thanks for the fix, but it looks like &amp;send=true/false is to display/undisplay the "Send" button.





How do i change the 'via @PokeStarsIndo" in tweets to my site's handle and how do i change the recommended follow @PokeStarsIndo after tweets to my own account/handle?!

But I have remove the data-via (@PokeStarsIndo) since a month ago ._. Please download the newest version.

Just realized that it wasn't the mod that installed the via @PokeStarsIndo. I needed to move the buttons below the post title (as seen on the previous page) so i copied pokemons code while following his tutorial :laugh:

Ah :okay:





When someone tries to recommend on google+ the icon changes to a blurred out error triangle. how to fix please?

Looks like Google error on that time? Is it working now?





Is there a way to change the thumbnail of likes to my site's logo or favicon ?

Look at this link: http://www.simplemachines.org/community/index.php?topic=494062.msg3482814#msg3482814




I downloaded this on my fourm, and it downloaded fine with no issues but it messed everything up with my links and what not and  this message appeared at the top of my screen

$txt['socialization_onoff'] = 'Enable socialization button (Facebook, Twitter, and Google+)'; $txt['facebook_like'] = 'Show Facebook Like icon in the first post'; $txt['twitter_tweet'] = 'Show Twitter Tweet icon in the first post'; $txt['googleplus_plusone'] = 'Show Google +1 icon in the first post';
On a side note, I tried to uninstall and it is not showing up , which is leaving everything completely thrown out of wack.  I've tried restoring to make it go away, but its not working.
Its not showing up anywhere so I can delete it, but it is messing everything up. Its not even showing up on my cpanel.

Wait, I don't know what you mean, what is the relation between cpanel and this mod?
Except you install it manually.
Also please make backup before you install any mod.




same for me likes dont show on fb wall
well ive checked the display template and from a no expert it look like the Manual Install Instructions parse looks
so sorry thats me lost :(
Thanks for this I will give it ago when I'm home from work
My twitter works ok straiange
... At least it works properly, and using DAVID. D.A's code.





thanks but both code do the same think they post in my recent activity as a like
and not on my wall other sites i have seen this on when you click like you can write something then it post on you wall
please some one tell me what im missing

The DAVID. D.A's code is to post your recent activity as a like, not to not post.
« Last Edit: February 12, 2013, 06:40:15 AM by PokémonS »
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Offline NightzKung

  • Semi-Newbie
  • *
  • Posts: 83
  • Gender: Male
  • ชอบ..แค่อยากเจอ แต่..รัก -ไม่อยากจาก-
    • อะไหล่มือถือ
Re: Add Facebook Like, Tweet, and Google +1
« Reply #37 on: February 16, 2013, 04:42:21 AM »
add Facebook Like+share

Code: [Select]
// Show Facebook Like icon in the first post
if (!empty($modSettings['facebook_like'])) {
echo '
<div id="fb-root"></div>
<div style="margin-left:auto;margin-right:2em;text-align:center;padding-right:12px" class="fb-like" data-href="', $scripturl, '?topic=', $context['current_topic'], '" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-font="verdana"></div>';

../../index.template.php
find
Code: [Select]
// Here comes the JavaScript bits!
echo '

add after
Code: [Select]
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script>

Offline MarkS

  • Jr. Member
  • **
  • Posts: 205
Re: Add Facebook Like, Tweet, and Google +1
« Reply #38 on: February 16, 2013, 04:52:09 AM »
Don't worry I've found a mod that does post on your wall

Shame

Offline DAVID. D.A

  • Jr. Member
  • **
  • Posts: 229
Re: Add Facebook Like, Tweet, and Google +1
« Reply #39 on: February 16, 2013, 02:21:11 PM »
How can this be added beside the reply buttons on top of post title please ?