Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2594)
Description With this mod you can add the AddThis button on the first post by offering some extra features such as:
-Select Language via AddThis API
-you can place your company name / website
-possibility to disable the mod
-you can choose the service to show(twitter, facebook, delicious..)
-you can use the username you have on AddThis, so you can see statistics on the use of the button from the site of addthis.com
ScreenshotsAdmin Panel
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2Fx5w7zp.jpg&hash=7e71c4dc4acadaddd2bfc2e06a7bd05dbaf7d4ee)
Addthis Button in post
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F2pa95.jpg&hash=49daaa66e18f00d28716adf7dab2e90eb399d8f0)
Stats from social bookmarks use(Addthis.com site)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2F30nbrsz.jpg&hash=74f538dfe398c58f6a6a7a954757891af2fc9f36)
-------------------------------------
EspaƱol-----------------------------------------
Con este mod podras agregar el boton de addthis en el primero post, ofreciendo algunas caracteristicas extras como:-Seleccion de idioma via Api de addthis
-puedes colocar el nombre de tu empresa/sitio
-posibilidad de desactivar el mod
-puedes elegir los servicios a mostrar
-puedes usar el username que tengas en addthis,de esa forma podras consultar las estadisticas del uso del boton desde el sitio de addthis.com
Screenshots
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2Fx5w7zp.jpg&hash=7e71c4dc4acadaddd2bfc2e06a7bd05dbaf7d4ee)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F2pa95.jpg&hash=49daaa66e18f00d28716adf7dab2e90eb399d8f0)
estadisticas (desde el sitio de addthis)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2F30nbrsz.jpg&hash=74f538dfe398c58f6a6a7a954757891af2fc9f36)
Traido a ti gracias a: Customsmf.net (http://www.customsmf.net)
Great Mod!!! Thanks
thanks for your comment
what happen when someone clics in the addthis button?
users have to select something?
http://www.addthis.com/features
yeah the user must be select a social service to add in his bookmarks
Great feature.
BTW I specified "email" but email app doesn't show up.
try "Email" instead "email" maybe is case sensitive
Took a lot at the AddThis Api and what I wanted was not email.
I used "mailto"
http://www.addthis.com/services/list (http://www.addthis.com/services/list)
Quote
Email email Email/IM Service AddThis menu email service with address book integration (Gmail, Yahoo Mail, AOL mail, and more).
Email App mailto Email/IM Service AddThis menu mail program service
oh, thanks maybe change in the addthis api. many thanks
Hello all,
I was told "please use the support topic for the mod you have installed" so I hope this is the correct area. I rarely post here as many questions have been answered by either other informative posts or by trial and error, but this one I'm just a little stumped on
I installed the "Addthis button in first post" mod, which appeared to be the only mod for us running pre-2.x versions of SMF. The mod indicated that it was compatible with 1.1.11 and I happen to be using 1.1.12.
The mod itself appears to be operating to some extent within the forums, but I am not getting the preferred sharing choices that are pre-selected. When accessing the admin panel I do not get any of the legends for the files. It also give me the following error in my log:
File: /home/serverpath/public_html/domainpath/smf/Sources/ModSettings.php Line: 231
Which contains the following text - $txt['addthis_admin'],
I looked at the modifications.english.php as well as the ModSettings.php but with my limited PHP skills I wasn't able to do much regarding this. I am hoping somebody may have a suggestion to either get this to work properly or perhaps point out a mod that will work under 1.1.12.
Thanks in advance,
Bill
Any chance of update to manage 2.0RC5? I was enjoying the mod which worked fine in 1.xx13 current version. But now could not install in 2.
Michael Bermant, M.D.
updte for smf 2.0 only, now with clean code,reshare buttons, and global code, dont need to change custom themes :)
good job frony :)
Great mod, thanks a lot! :)
you are welcome :)
Are you planning to add SSL support? :) Right now, your code calls http://s7.addthis.com, even when the Forum is called from https. This causes security warnings in some browsers.
By the way, if you do plan to implement this, you will want to remove the Twitter button, because Twitter buttons cannot be called over HTTPS. A workaround is to use the (less pretty) button from AddThis, see this post: http://www.addthis.com/forum/viewtopic.php?f=4&t=27082
I have moved the (less pretty) Twitter button from AddThis to the first position, that looks best I think. ;)
Excellent mod Frony works fine on 2.0.1
Is there any way to put the buttons below the first post content rather than above? Would I have to edit...
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid='.$modSettings['addthis_pub'].'"></script>'. $message['body'];
Maybe I'm a bit thick, but where can I find my profile ID? In my AddThis "get code" account section I can find nothing like the code that was auto-filled, only my user id...
Is there a way to show this how it is in the sample image, in the topic bar itself not above the post?
Quote from: Iomega0318 on May 29, 2012, 09:31:20 AM
Is there a way to show this how it is in the sample image, in the topic bar itself not above the post?
I concur, as it is it looks a bit messy and haphazard...
I guess this is dead by now? I still can't get it to appear in the topic bar...
In case someone is still using this old Mod, if you run your forum under SSL https for this mod to still appear in modern browsers you need to change the Addthis script call in Sources/Display.php from http: to https:
Find this:
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid='.$modSettings['addthis_pub'].'"></script>'. $message['body'];
Change to this:
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pubid='.$modSettings['addthis_pub'].'"></script>'. $message['body'];
Hope that helps someone.