News:

Wondering if this will always be free?  See why free is better.

Main Menu

Button to share Whatsapp and Telegram

Started by -Rock Lee-, November 10, 2018, 09:26:34 PM

Previous topic - Next topic

-Rock Lee-

Link al mod

Whatsapp and Telegram
Button to share | Version 1.2
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

Changelog


Version 1.2
[!] Fixed an error on install RC2

Version 1.1
[!] Initial Release


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
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

4plays

nice, thank you sir appreciate it.  ;D

could you add another button for facebook ?

-Rock Lee-

Quote from: 4plays on November 12, 2018, 06:32:35 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
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

karmar

Hello,

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

Have very nice Christmad day's

Bye bye.

GigaWatt

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?"..."

-Rock Lee-

Quote from: karmar 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.

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


Regards!

Quote from: GigaWatt 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 ;).
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
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

-Rock Lee-

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

mercelo


-Rock Lee-

Quote from: mercelo on February 11, 2019, 01:48:38 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
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

desertcities

Buttons don't display because all the images in /Themes/default/images/icons are .gif and your 2 buttons are .png.

Would that matter?


-Rock Lee-

Quote from: desertcities 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?

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
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

ORIONzitos

PT-BR translations \o  8)

<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

-Rock Lee-

+Add translation Portuguese Brazilian - Thanks to ORIONzitos


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

-Rock Lee-

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

drfun

Thanks for this mod, its a good one.

Please is there a way to allow guest to view this button in order to be able to share without necessary being a member of your forum?

ECLIKS -Global Online community for Questions and Answers

-Rock Lee-

Quote from: drfun on June 04, 2019, 08:51:22 AM
Thanks for this mod, its a good one.

Please is there a way to allow guest to view this button in order to be able to share without necessary being a member of your forum?

Attach your display.template please!


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

drfun

Quote from: Rock Lee on June 04, 2019, 09:34:43 AM
Quote from: drfun on June 04, 2019, 08:51:22 AM
Thanks for this mod, its a good one.

Please is there a way to allow guest to view this button in order to be able to share without necessary being a member of your forum?

Attach your display.template please!


Regards!
Thanks for the response, am using the default curve template. Below is my attached display.templete.php
ECLIKS -Global Online community for Questions and Answers

-Rock Lee-

Quote from: drfun on June 05, 2019, 01:23:04 PM
Thanks for the response, am using the default curve template. Below is my attached display.templete.php

Have a backup for the doubts but try with this other should be able to visualize without having to be a user necessarily.


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

drfun

Quote from: Rock Lee on June 05, 2019, 06:03:25 PM
Quote from: drfun on June 05, 2019, 01:23:04 PM
Thanks for the response, am using the default curve template. Below is my attached display.templete.php

Have a backup for the doubts but try with this other should be able to visualize without having to be a user necessarily.


Regards!
Thanks, i tested it. However the buttons appeared under the profile area of the poster, which ma be confusing to the guest that the buttons is actually for sharing the post they have read.
ECLIKS -Global Online community for Questions and Answers

-Rock Lee-

Quote from: drfun on June 06, 2019, 10:18:58 PM
Thanks, i tested it. However the buttons appeared under the profile area of the poster, which ma be confusing to the guest that the buttons is actually for sharing the post they have read.

It is what I suspected when making some changes I have noticed is not entirely correct, give me a little time to be able to make tests and place it in the original zone for all public. Sorry for the disturbances!


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

Advertisement: