hy,
if someone is interested :
i created a mod that allows you to add an icon to each post with options for sharing on other platforms. I honestly thought it was absurd that it wasn't native to vBulletin.
A few hours of Claude Code and a bit of debugging later, and the mod is fully functional and bilingual (english/italian) but easy to implement other language.
It's installed in my forum, and if anyone wants it, I attach here the zip with all files and installation instructions.
Uninstallation is simple because the mod doesn't touch the database or install any PHP code. It's all static JS/CSS plus an addition to a template.
β
mdl_share_mod/
βββ README_IT.md β Full guide in Italian
βββ README_EN.md β Full guide in English
βββ CHANGELOG.md β Version history
βββ files/ β To upload via FTP
β βββ core/
β βββ clientscript/
β β βββ mdl_sharepost/
β β βββ mdl_sharepost.js β v2.2.1 with config block
β β βββ mdl_sharepost.css
β βββ images/
β βββ default/
β βββ default_facebook.png β Optimized 1200Γ630 logo
βββ template/
βββ hook_postfooter_bookmark_click.html β Code to paste in AdminCPβ
Here is an example how it works :
β
## What this mod does
Adds a "Share" button below every forum post. Clicking it opens a popup with buttons to share the post on:
- Facebook
- X / Twitter
- WhatsApp
- Telegram
- LinkedIn
- Email
- Reddit (optional)
- Pinterest (optional)
Plus a "Copy link" button to copy the post URL to the clipboard.
Shared links use the SEO-friendly thread URL, so WhatsApp/Facebook link previews work correctly.
---
## Requirements
- A working vBulletin 6.x installation
- FTP access to the forum server
- Access to the admin control panel (AdminCP)
- The **"Add Post to Bookmarks by vBMods.rocks"** plugin installed and active (this mod hooks into its template; if you don't have it, see the "Without the Bookmark plugin" in mod instructions)
β
v2.3.0 (current)
- **Per-post sharing**: the shared URL now points to the specific post being shared (matching vBulletin's own `#1, #2, #3` post links), instead of always pointing to the thread starter. Replies use `?p=<nodeid>#post<nodeid>`; the thread starter uses the clean canonical URL.
- Same URL pattern that vBulletin itself uses, so links are guaranteed compatible with vB6 SEO-friendly routing on both desktop and mobile.
## v2.2.1
- Mobile menu fix: when the share button is shown inside the dropdown menu activated by the three-dots icon on mobile, the button now displays both the icon and the localized "Share" / "Condividi" label, matching the visual style of the other native vBulletin buttons (Infraction, Edit, Report).
- Added a `<span class="b-post-control__label">` element next to the icon.β
β
if someone is interested :
i created a mod that allows you to add an icon to each post with options for sharing on other platforms. I honestly thought it was absurd that it wasn't native to vBulletin.
A few hours of Claude Code and a bit of debugging later, and the mod is fully functional and bilingual (english/italian) but easy to implement other language.
It's installed in my forum, and if anyone wants it, I attach here the zip with all files and installation instructions.
Uninstallation is simple because the mod doesn't touch the database or install any PHP code. It's all static JS/CSS plus an addition to a template.
β
mdl_share_mod/
βββ README_IT.md β Full guide in Italian
βββ README_EN.md β Full guide in English
βββ CHANGELOG.md β Version history
βββ files/ β To upload via FTP
β βββ core/
β βββ clientscript/
β β βββ mdl_sharepost/
β β βββ mdl_sharepost.js β v2.2.1 with config block
β β βββ mdl_sharepost.css
β βββ images/
β βββ default/
β βββ default_facebook.png β Optimized 1200Γ630 logo
βββ template/
βββ hook_postfooter_bookmark_click.html β Code to paste in AdminCPβ
Here is an example how it works :
## What this mod does
Adds a "Share" button below every forum post. Clicking it opens a popup with buttons to share the post on:
- X / Twitter
- Telegram
- Reddit (optional)
- Pinterest (optional)
Plus a "Copy link" button to copy the post URL to the clipboard.
Shared links use the SEO-friendly thread URL, so WhatsApp/Facebook link previews work correctly.
---
## Requirements
- A working vBulletin 6.x installation
- FTP access to the forum server
- Access to the admin control panel (AdminCP)
- The **"Add Post to Bookmarks by vBMods.rocks"** plugin installed and active (this mod hooks into its template; if you don't have it, see the "Without the Bookmark plugin" in mod instructions)
β
v2.3.0 (current)
- **Per-post sharing**: the shared URL now points to the specific post being shared (matching vBulletin's own `#1, #2, #3` post links), instead of always pointing to the thread starter. Replies use `?p=<nodeid>#post<nodeid>`; the thread starter uses the clean canonical URL.
- Same URL pattern that vBulletin itself uses, so links are guaranteed compatible with vB6 SEO-friendly routing on both desktop and mobile.
## v2.2.1
- Mobile menu fix: when the share button is shown inside the dropdown menu activated by the three-dots icon on mobile, the button now displays both the icon and the localized "Share" / "Condividi" label, matching the visual style of the other native vBulletin buttons (Infraction, Edit, Report).
- Added a `<span class="b-post-control__label">` element next to the icon.β
β



Comment