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.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & 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.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & 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
-
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>
Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & 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.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
- 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.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
- Likes 1
Comment
-
Originally 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
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
Comment