News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Addthis button in first post

Started by franklinrony, June 12, 2010, 09:34:49 PM

Previous topic - Next topic

franklinrony

Link to Mod

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

Screenshots

Admin Panel

Addthis Button in post


Stats from social bookmarks use(Addthis.com site)




-------------------------------------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








estadisticas (desde el sitio de addthis)





Traido a ti gracias a: Customsmf.net
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

luuuciano

what happen when someone clics in the addthis button?
users have to select something?
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

franklinrony

http://www.addthis.com/features
yeah the user must be select a social service to add in his bookmarks
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

chep


chep

BTW I specified "email" but email app doesn't show up.

franklinrony

try "Email" instead "email" maybe is case sensitive
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

chep

Took a lot at the AddThis Api and what I wanted was not email.

I used "mailto"


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

franklinrony

oh, thanks maybe change  in the addthis api. many thanks
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

BillLeeDee

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

DrBermant

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.
Board Certified
American Board Plastic Surgery
Plastic Surgery Encyclopedia
A Body Beautiful Plastic Surgery Forum

franklinrony

updte for smf 2.0 only, now with clean code,reshare buttons, and global code, dont need to change custom themes :)
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

SSimple Team





Mi Web: SMFSimple.com -

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

rbeuker


franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

rbeuker

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. ;)

propaganda

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'];

Gryzor

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

Advertisement: