So what is the trick or code to get the Social Media Icons to the left of your search box??
Announcement
Collapse
No announcement yet.
social icons
Collapse
X
-
That's a template hook type of mod. I have not posted it yet but it would be in vBulletin 5 Products and Extensions channel and not here in this Core Hacks channel which is mainly for PHP hacks.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
-
There is a product called Social Buttons, but it broke at vB5.0 and has never been updated.
I tore it apart and extracted the PHP code that made it work, injected it into a PHP Module and added it to my site.
But that is not a smooth or simple approach. Works for me mind you, but would be a mess for most.
Maybe I will see if I can make a simpler hack, but I suspect Glenn can do one easier on the community
- Top
- Translate
- Bottom
Comment
-
What about getting them as seen here?
- Top
- Translate
- Bottom
Comment
-
That's using the AddThis service which I'm using it here too. I configured the social share buttons to appear on the left for desktop and at the bottom for mobile.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
-
Thanks Glenn on the async. Yes I meant the Related Posts Addthis app. I added the app to the addthis dashboard and went through the settings. No other code should need be added but it doesn't show up. I was just curious about whether you played around with it for this site.
- Top
- Translate
- Bottom
-
I think the Related Posts only shows up after sharing. Take a look at the Advanced Options for the Sidebar. Hover over the "?" icon for the "Related Posts Message" option.
- Top
- Translate
- Bottom
-
William, thanks for the coffee!
- Top
- Translate
- Bottom
-
Enjoy Glenn
And I contacted Addthis support, they said once the related posts is installed it can take 24-48 hours for them to crawl the site in order to recommend posts. That really answered my curiosity because I was unclear as to how this little app could work. I have set it up in my dashboard and will look forward to when it appears. G'night bro - William
- Top
- Translate
- Bottom
-
That makes sense. I will try to use it too.
- Top
- Translate
- Bottom
-
It depends on what type of share tool you chose. In my case I chose "Sidebar" and I added the code at the bottom using a template hook. It could also be added in head_include template. It is recommended to add "async" attribute to the <script> tag to prevent it from affecting page load performance.Originally posted by NumNum View PostWhere did you add the code? In an html module?
Code:<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xxxxxxx" [color=red]async[/color]></script>

My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
- Likes 1
Comment
-
If you want them to display just on the thread page, you can use HTML module or Ad module. I prefer the Ad module because by default it has no borders around the module.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
-
Yeah, I'm missing something as it is not working in either the ad module or html module. I am only using the code generated, not adding and other tags.
- Top
- Translate
- Bottom
Comment
-
- Top
- Translate
- Bottom
-
I checked but I'm not sure why it's not working. Maybe there's some issue on AddThis side? Try doing an HTML module.
- Top
- Translate
- Bottom
-
There is a setting in Ad module to align the ads left or center. If that doesn't work, then you need to add custom css in css_additional.
- Top
- Translate
- Bottom
-
I see the advantage of having it on the side. You do not need to add it to each page to share a post.
How/where did you get them on the side?
- Top
- Translate
- Bottom
Comment
-
You don't have to create a Product. Just create a template hook under vBulletin product.
- Top
- Translate
- Bottom
-
The easiest way is to just put the AddThis code in head_include template. Just don't forget to add the async attribute. No template hook or product needed.
- Top
- Translate
- Bottom
-
I'm only using one style.
- Top
- Translate
- Bottom
-
I moved this thread to the appropriate forum channel.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
- Likes 1
Comment
-
You can check out my site here: Christian forumsOriginally posted by gcombe74 View PostSo what is the trick or code to get the Social Media Icons to the left of your search box??
I use this mod and added a little css in the past to get it left of the search box. Only recently had I changed it to be above: http://www.vbulletin.org/forum/showthread.php?t=289099
Enjoy,
William
- Top
- Translate
- Bottom
- Likes 1
Comment
Latest Posts
Collapse
-
Reply to some ideas for new modsin Chit Chatby desmomax
I finally 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...
Yesterday, 03:59 AM -
by flohseHi Glenn, what do you think about adding "Like Counts" similar to "Like Counts on Postbit and Profile" (when this mod is in use) in...06-02-2026, 11:28 PM
-
Reply to push notification prompt?by desmomaxhy glenn
have you thought about this?06-02-2026, 05:44 AM

Comment