[Tip] Social Media Icons in Profile Field Tutorial

Started by ~DS~, April 03, 2010, 02:30:40 AM

Previous topic - Next topic

Kreator

How would this work with deviantart, where your Gallery is a subdomain of deviant ie http:\\fredboggs.deviantart.com/Gallery

hcfwesker

#141
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

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):
<a href="http://{INPUT}.deviantart.com"><img src="{DEFAULT_IMAGES_URL}/deviantart.png" title="{INPUT}" /></a>

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

Arantor

No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

gerzok


savya_sathe

Though its old post but this helped me in getting social media icons to my posts.



Advertisement: