News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

[Tip] Social Media Icons in Profile Field Tutorial

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

Previous topic - Next topic

Monkey50

where do i find the index.template.php is it in the admin/themes and layout/modify themes/my theme/index.template.php

~DS~

Quote from: Monkey50 on September 06, 2011, 06:45:01 AM
where do i find the index.template.php is it in the admin/themes and layout/modify themes/my theme/index.template.php
Haven't tried that. I usually edit my files via FTP
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Monkey50


~DS~

Quote from: Monkey50 on September 06, 2011, 08:11:11 AM
FTP is that with notepad++ or from my hostsite
Yeah, you will need notepad++ to edit files. Download the file (index.template.php) using any FTP client. (I use Filezilla) Edit it with notepad++, save and upload it back to the server.

How do I use FTP? / What is FTP?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Monkey50

thanks. i got filezilla not long ago just trying to work it out.

Monkey50

in the head bit theres head lots of writing head again then below the last head is body which part do i put the writing.

Monkey50

i have done all that but i made the folder and the pictures are not working

ddabcd277

Hello,

Is it possible also to be added Google+?

Cheers,

hcfwesker

Quote from: Monkey50 on September 20, 2011, 01:16:14 PM
i have done all that but i made the folder and the pictures are not working

make sure the ENTIRE image path you used for your profile fields are correct and link to the image folder you used. 

Quote from: ddabcd277 on September 21, 2011, 08:08:41 AMIs it possible also to be added Google+?

Cheers,

I haven't tried that, but i'm pretty sure you can add almost any social media network for members to add to their profiles with this method.

Monkey50

is this right then src="http//mysitehere/index.php/images/facebook.png" title="Facebook" /></a>

Rain Forest

#131
When I click on the icon at topic. It keeps telling me I'm going to: http://mywebsiteblabla.com/forum/www.facebook.com/heremyfacebookaccount

How can I remove the ''http://mywebsiteblabla.com/forum/''; part?

I'm using your part..

<a href="www.facebook.com/{INPUT}"target="_blank"><img class="section" src="http://mywebsiteblabla/images/facebook.png" title="Facebook" /></a>

~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

~DS~

Quote from: ddabcd277 on September 21, 2011, 08:08:41 AM
Hello,

Is it possible also to be added Google+?

Cheers,
I use this way:
<a href="{INPUT}"target="_blank"><img class="section" src="http://mysite.org/community/images/gplus.png" title="Google+" /></a>[/cpde]
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

~DS~

Quote from: Monkey50 on September 23, 2011, 10:40:30 AM
is this right then src="http//mysitehere/index.php/images/facebook.png" title="Facebook" /></a>

<a href="{INPUT}"target="_blank"><img class="section" src="http://mysitehere.org/images/gplus.png" title="Any Social Here" /></a>
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Rain Forest

Quote from: ~DS~ on September 23, 2011, 03:01:35 PM
What did you input in the profile?

Just my username at Facebook. ..

I fixed it!
I replaced:

<a href="www.facebook.com/{INPUT}"target="_blank"><img class="section" src="http://Mywebsiteblabla.nl/images/facebook.png" title="Facebook" /></a>

With:
<a href="http://facebook.com/{INPUT}"target="_blank"><img class="section" src="http://Mywebsiteblabla.nl/images/facebook.png" title="Facebook" /></a>

So the www. should be http:// :)

Thanks for this tip!

~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Monkey50

how would i know where my path to my images are. and where it says my site is that my sites full name including http or www.

~Dragon~

Please do not PM or email, Thank respond please post fast to SMF!

~Dragon~

#139
I final hard work 3 hours trick on struggle  :o  I am hard work trick fix


trick<a href="http://www.facebook.com/{INPUT}"><img src="url" title="Facebook" /></a>

<img src="url" title="Facebook" /></a>


simply 


edit basic
Please do not PM or email, Thank respond please post fast to SMF!

Advertisement: