SMF Mod Site

Mod Name:
Facebook and Twitter Sharer
Created By:
Aleksi "Lex" Kilpinen
First Created:
November 06, 2010, 03:04:08 AM
Last Modified:
January 02, 2013, 08:54:07 AM
Latest Version:
Compatible With:
2.0 RC4, 2.0 RC5, 2.0
Total Downloads:

Download this mod

uninstallsharer.php (1kB) [1031] (5kB) [908] (5kB) [6088]
Manual Install Instructions for SMF

Below are some preview images of what the mod looks like when being used


Notice! An updated version of this mod is in the works. This update will make the mod 2.0.3 compatible, and fix some of the issues lately with the FB button disappearing.. For further info, see the discussion topic ;)

Facebook & Twitter Sharer Mod 2.0
With Optional Database Settings Uninstaller Built In
By Aleksi "Lex" Kilpinen


Support for Curve and Core built in, will support most themes based on either one,
and any theme that doesn't have it's own Display.template and uses Curve's or Core's Display.template instead.

This mod adds easily customizable, and translatable Facebook Share and Twitter Tweet -buttons to topic view.

You can customize the FB button text, by editing the language string
$txt['facebooksharer_button'] in Modifications.{your language}.php
English and Finnish strings included in the package.

Upon installation this mod will add two database columns named facebooksharer_board_enable and twittersharer_board_enable in to the boards table of your forums database. These columns hold the boardsettings for this mod. version of the package, upon uninstallation will remove the same columns,
so after uninstalling, the settings for this mod will not be retained. version of the package, upon uninstallation will not remove the same columns,
so after uninstalling, the settings for this mod will be retained.

Also, a separate uninstallsharer.php available, that removes the columns if you should need it.

Release History
- 06.07.2011, Released 2.0 Adding Twitter support :) Removed 1.* versions from modsite.
- 06.07.2011, Fixed fatal error upon install, in case settings were already in the DB.
                      Changed the board setting default value to be activated.
- 05.07.2011, Added 2.0 Final compatibility.
- 12.02.2011, Added RC5 compatibility.
- 04.02.2011, Found the actual reason for Core failing in 1.0 - Reverted changes in 1.1, and fixed the error from 1.0. Also fixed typos.
- 03.02.2011, 1.1 Fixed Core compatibility, at the same time making it more prone to fail - will see later if there's a better way to do this.
- 06.11.2010, Submitted 1.0 for the Cust.Site.