Customizing SMF > Tips and Tricks
[Tip] Social Media Icons in Profile Field Tutorial
Kreator:
How would this work with deviantart, where your Gallery is a subdomain of deviant ie http:\\fredboggs.deviantart.com/Gallery
hcfwesker:
--- Quote from: Kreator on January 01, 2012, 08:35:46 AM ---How would this work with deviantart, where your Gallery is a subdomain of deviant ie http:\\fredboggs.deviantart.com/Gallery
--- End quote ---
We use DeviantArt for this, so I can share my code with you.
Members only need to put their DeviantArt name, not their entire link
Show Enclosed Within Text (Optional):
--- Code: ---<a href="http://{INPUT}.deviantart.com"><img src="{DEFAULT_IMAGES_URL}/deviantart.png" title="{INPUT}" /></a>
--- End code ---
http://www.brawldomain.com/Themes/default/images/deviantart.png this is the icon image we have, if you'd like to use that as well.
Kreator:
thanks hcfwesker! I figured it out in the End, I pinched the logo from Deviantart and cut it down a Little
hcfwesker:
This has been released as a MOD for SMF 2.0 - 2.0.2 : http://www.simplemachines.org/community/index.php?topic=467074.msg3264200#msg3264200
So far only available social network sites in the MOD are Facebook, MySpace, Twitter, Youtube, DevianArt.
PureLoneWolf:
Sorry to resurrect an old thread, but I followed the instructions here and it worked beautifully across my site for twitter hovercards.
That said, people have a tendency, in the forums and shoutbox, to specify @something when they want to refer to a user. This leads to hovercards that aren't actually for the right people being displayed.
Is there a way to restrict the hovercard so that it only works on the profile icons? Not the entire site?
Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version