[Mod] Social Media Links

Started by Deaks, Nov 18, 2026, 12:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deaks

Social Media Links v1.1.1
For SMF 2.1.x · By BoredSkull

Give members a place to share their YouTube channel, GitHub profile or personal website. Social Media Links displays a row of clickable icons beneath a member's signature on forum posts. Members manage their links from their profile without editing their signature or writing BBCode.

The mod uses SMF integration hooks and the standard below-signature area. Installation requires no edits to SMF core files or standard theme templates.

SMF Customisation Site · Social Media Links (awaiting approval)



Release History

v1.1.1 — Finnish translation and packaging fixes
  • Added the eight missing Finnish strings for the settings description, separator help text and separator options. The Finnish translation now covers all 30 English language keys.
  • Fixed installation of the Finnish language file. The Package Manager now copies it on fresh installs and upgrades, and removes it on uninstall.
  • Updated the licence headers in all six PHP files to match the ISC licence supplied with the mod.

v1.1.0 — Profile editor and separator settings
  • Paired each platform label with its field in a compact row. Alternating backgrounds and dividers make the list easier to scan, and the whole row highlights on mouse hover or keyboard focus.
  • On mobile, each label sits directly above its field. Validation errors are linked to the relevant input so assistive technology can identify which field needs attention.
  • Moved the admin settings out of Miscellaneous and into their own Social Media Links section. Added five choices for the separator above the icons. New installations default to None. Upgrades retain the existing dashed line until an administrator changes it.
  • Existing member links and permissions are preserved on upgrade.



Supported Profiles

Members can share links to 20 platforms and a personal website. Administrators choose which options are available.

  • Social networks and communities — Bluesky, Mastodon, Pixelfed, Threads, X (formerly Twitter), Facebook, Instagram, Reddit, Discord and Telegram.
  • Video, streaming and music — YouTube, TikTok, Twitch, Spotify and SoundCloud.
  • Professional, developer and gaming profiles — LinkedIn, GitHub, GitLab and Steam.
  • Creators and personal sites — Patreon and a personal website.

Adding Your Links

Go to Profile → Modify Profile → Social Media Links to add, update or remove a link. You can paste a full profile URL or, where supported, enter a username such as name.bsky.social. Mastodon also accepts addresses in the form @user@instance.

The mod checks platform-specific links against the relevant network domains. Mastodon and Pixelfed support profiles on any instance.



Installation and Settings

Download the package, go to Admin → Packages → Download Packages, upload it and select Install Now.

Open Admin → Configuration → Modification Settings → Social Media Links to configure the following options.

  • Available platforms — Enable or disable each profile type individually.
  • Separator above the icons — Choose None, Dotted, Solid, Dashed or Double.
  • Icon stylesheet — Use the default Font Awesome Free stylesheet from cdnjs, enter the URL of a self-hosted copy, or leave the field blank if your theme already loads Font Awesome. The Bluesky icon requires version 6.5 or newer.

Permissions

Go to Admin → Permissions → General Permissions → Profile. The Add social media links below signature permission controls who can manage links on their own profile or on any profile. The separate See social media icons on posts permission controls who can see the icons.

  • Regular members can add and edit their own links by default.
  • Global moderators can manage links on any member's profile.
  • Everyone, including guests, can see the icons on posts by default.

To make sharing links a benefit for established members, go to Admin → Permissions → Settings and enable Enable permissions for post count based groups. You can then grant the permission to a group with a threshold such as 50 posts. If a member loses permission, their icons are hidden. Their saved links reappear if permission is restored.



Custom Theme Compatibility

If icons appear in the default theme but are missing from a custom theme, check the custom theme's Display.template.php for the below_signature output area. If it is missing, add this block immediately after the signature output.

if (!empty($message['custom_fields']['below_signature']))
{
    echo '<div class="custom_fields_below_signature"><ul class="nolist">';
    foreach ($message['custom_fields']['below_signature'] as $custom)
        echo '<li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';
    echo '</ul></div>';
}

Uninstallation

Uninstall through SMF's Package Manager. Leave Remove all data associated with this modification unchecked if you plan to reinstall and want to keep members' links. Selecting it permanently deletes saved links, mod settings and mod-specific permissions.

Support

For help or to report a bug, please post on the Support board with your SMF version and Social Media Links version. If icons are missing, include the name of your theme.

Licence

Social Media Links is released under the ISC licence. Font Awesome Free icons are licensed under CC BY 4.0 and its code under the MIT licence.
  • 0 reactions

    Members who reacted


Deaks

Mod has been updated to 1.0.2 as a small bug was found in testing.
  • 0 reactions

    Members who reacted


lurkalot

Loving this mod, I'm trying it out on one of my sites now. Installs and works very nicely.

If I had one very slight negative: The media platforms listed on the left, and the input fields on the right, and because I have dodgy eyesight I did fill in the wrong field. Maybe some sort of separator for each line, or to save space a faint alternating colour for each line might help.
  • 0 reactions

    Members who reacted


Deaks

ill add to roadmap for a minor update :D
  • 0 reactions

    Members who reacted


lurkalot

Thanks Deaks.  I realise my previous suggestions might spoil the look somewhat, so what about just moving the two columns closer together, that would also make it easier.  ;)
  • 0 reactions

    Members who reacted


Deaks

ive added accesbility options to roadmap so could be hover effect or something rather get the first out then can add features as tehy come up, its something i never thought of so def will be added in an update
  • 0 reactions

    Members who reacted


Deaks

@lurkalot I have added these into the next version
  • 👍 1

    Members who reacted


lurkalot

Quote from: Deaks on Nov 21, 2026, 12:49 PM@lurkalot I have added these into the next version

Cool, thank you.  I look forward to trying it.  ;)
  • 👍 1

    Members who reacted


shawnb61

#8
Works perfectly as near as I can tell.  Permissions worked cleanly.  Admin options all appeared to work.  All my links seemed to work just fine.

Simple & clean.

Two minor nits:
1) Admin submenu is not actually *under* Modification Settings.  It became part of the 'Miscellaneous' one.  Probably fine where it is.  Made it a little harder to find - I was expecting a submenu.  The location doesn't match the description above.  (Admin > Configuration > Modification Settings > Social Media Links)
2) Not sure I like the row of dots above the icons.  My personal preference would be no row of dots.  Keep it clean.

Neither affect anything functional.  Minor visual things.

  • 0 reactions

    Members who reacted


Deaks

An option to choose a separator type or not sounds good as for placement. This is something im always looking at where is best.
  • 0 reactions

    Members who reacted


Deaks

Changes in v1.1.0
  • Platform labels and their corresponding fields now form compact, clearly associated rows.
  • Subtle alternating row backgrounds and dividers make the list easier to follow.
  • The entire row highlights on mouse hover and keyboard focus.
  • Mobile layout stacks platform labels directly above their fields.
  • Validation errors are linked to their inputs for assistive technology.
  • Dedicated Social Media Links subsection under Configuration > Modification Settings instead of Miscellaneous.
  • Choose None, Dotted, Solid, Dashed or Double as the separator above icons.
  • New installs default to None; existing installs retain the old dashed line until changed.
  • Existing links and permissions are preserved.
  • 0 reactions

    Members who reacted


Deaks

Social Media Links 1.1.1 — Changelog

  • Completed the Finnish translation. Added eight missing strings for the settings description, separator help text and separator options. The Finnish translation now includes all 30 English language keys.
  • Fixed Finnish language file installation. SMF now copies the Finnish language file on fresh installs and upgrades. Uninstalling the mod also removes the file.
  • Standardised the licence headers. All six PHP files now identify the mod's ISC licence, matching the included licence file.
  • 0 reactions

    Members who reacted