Customizing SMF > Tips and Tricks

[Tip] Social Media Icons in Profile Field Tutorial

<< < (2/30) > >>

vijay bhaskar:
Thanks a lot

stevescotton:
I'd like to do this on my forum, but I'm worried about viruses and what not being transfered from these social networking sites and wrecking the forum.

Any takes on this?

~DS~:

--- Quote from: stevescotton on April 22, 2010, 05:04:00 AM ---I'd like to do this on my forum, but I'm worried about viruses and what not being transfered from these social networking sites and wrecking the forum.

Any takes on this?

--- End quote ---
There is no harm in this tutorial, you just have to put in the right url and explain the details clearly in the description something like this:

--- Code: ---This is your Youtube username.
You can find it in the url:
http://www.youtube.com/user/username

--- End code ---

--- Quote ---<a href="http://www.youtube.com/user/{INPUT}"><img src="{DEFAULT_IMAGES_URL}/youtube.png" alt="{INPUT}" /></a>
--- End quote ---
(notice the bold url?)

Most website url don't use username so it should be something like this:

--- Code: ---This is your Youtube profile. Put in the full url link.

--- End code ---

--- Code: ---<a href="{INPUT}"><img src="{DEFAULT_IMAGES_URL}/youtube.png" alt="{INPUT}" /></a>
--- End code ---
(Notice I comment out the url?)

There you have it, if it transfered to the wrong url, you can always come back and fix it in the profile field.

Hope that clears up.  :)

Arantor:
I'd check what the options are for FB usernames and have it check it's valid with a regular expression just to be sure.

stevescotton:
Thanks for that, will give it a go :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version