Advertisement:

Author Topic: Button to share Whatsapp and Telegram  (Read 1821 times)

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Button to share Whatsapp and Telegram
« on: November 10, 2018, 09:26:34 PM »
Link al mod

Whatsapp and Telegram
Button to share | Version 1.1
Developer: Rock Lee


Introduction

It is a simple modification that adds 2 buttons to share via whatsapp and telegram. It takes the link of the subject you are looking at and when the application is detected it allows you to select who you can send it to.

Language

Is available in:
  • English
  • Latin Spanish
  • Portuguese Brazilian - Thanks to ORIONzitos

Compatibility

Prepared to work with the branch 2.0.x of SMF, it is tested only with the default theme. if you have a custom theme, you should adapt by looking for a similar line.
+Now also works with SMF 2.1 with the default theme!

Support

Support topic in English: Button to share Whatsapp and Telegram
Tema de soporte en Español: Botón para compartir en Whatsapp y Telegram
GitHub Repository: Button_to_share_Whatsapp_and_Telegram

License

Copyright 2014-2018 (c) Bomber Code

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline 4plays

  • Newbie
  • *
  • Posts: 2
Re: Button to share Whatsapp and Telegram
« Reply #1 on: November 12, 2018, 06:32:35 AM »
nice, thank you sir appreciate it.  ;D

could you add another button for facebook ?

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #2 on: November 12, 2018, 10:37:44 AM »
nice, thank you sir appreciate it.  ;D

could you add another button for facebook ?

I hope you enjoy it, I'm going to investigate why Facebook usually changes followed by its APIs making it somewhat complicated to keep up with it sometimes. You may create another exclusive modification of facebook to be able to work it better but you can see these modifications while: Share This Topic!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline karmar

  • Semi-Newbie
  • *
  • Posts: 64
  • Gender: Male
    • Vraagbaak over DMR
Re: Button to share Whatsapp and Telegram
« Reply #3 on: December 23, 2018, 08:14:29 PM »
Hello,

Little question, i dont see the pic Telegram or Whatsapp, what i'am doing wrong?

Have very nice Christmad day's

Bye bye.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,946
  • Gender: Male
    • Macedonian electronics forum
Re: Button to share Whatsapp and Telegram
« Reply #4 on: December 23, 2018, 08:18:00 PM »
Don't actually need it and probably never will, but it's great to see some of your work Rock Lee ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #5 on: December 23, 2018, 09:26:06 PM »
Hello,

Little question, i dont see the pic Telegram or Whatsapp, what i'am doing wrong?

Have very nice Christmad day's

Bye bye.

Do you have any advertising blocker in your browser? What theme do you use? A link? to view the site.


Regards!

Don't actually need it and probably never will, but it's great to see some of your work Rock Lee ;).
I had not planned to use it but by order of about 30-40 people, I got down to work ... It is also true that many are handled by whatsapp when sharing content, so I designed it to reach more people (vague thought).

*My coherence in writing English with a dream is not good, sorry :-[*
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #6 on: February 05, 2019, 06:47:13 PM »
+Add Installation Support RC1
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline mercelo

  • Jr. Member
  • **
  • Posts: 120
Re: Button to share Whatsapp and Telegram
« Reply #7 on: February 11, 2019, 01:48:38 PM »
Donsen´t work in my theme...

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #8 on: February 11, 2019, 02:20:04 PM »
Donsen´t work in my theme...

What theme are you using? you may not find that line, attach your Display.template.php!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline desertcities

  • Semi-Newbie
  • *
  • Posts: 45
    • @AdventistNews7 on Twitter
    • Adventist Domains
Re: Button to share Whatsapp and Telegram
« Reply #9 on: February 13, 2019, 07:13:11 PM »
Buttons don't display because all the images in /Themes/default/images/icons are .gif and your 2 buttons are .png.

Would that matter?


Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #10 on: February 13, 2019, 10:26:15 PM »
Buttons don't display because all the images in /Themes/default/images/icons are .gif and your 2 buttons are .png.

Would that matter?

Where did you get it from? because the images with .png and at the time of installation is displayed correctly.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline ORIONzitos

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
  • PT-BR voluntary Translator
Re: Button to share Whatsapp and Telegram
« Reply #11 on: March 21, 2019, 10:48:23 AM »
PT-BR translations \o  8)

Code: [Select]
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[$txt['text_share'] = 'Obrigado por por compartilhar >>> ';
]]></add>

Total of translations: 10
Total of translations: 10

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #12 on: March 21, 2019, 12:39:42 PM »
+Add translation Portuguese Brazilian - Thanks to ORIONzitos


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Button to share Whatsapp and Telegram
« Reply #13 on: April 01, 2019, 05:53:03 PM »
+Add Installation Support RC2
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal