TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 07:59:24 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 143
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 89
  • Total: 89

How do i go about adding this as a side block

Started by Replayuk, May 30, 2020, 10:47:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Replayuk


lurkalot

Quote from: Replayuk on May 30, 2020, 10:47:49 PM
the tp social media block

They are just image links in a TinyPortal HTML & Javascript block.

Find some icons that you want to use, and upload them to your theme's images folder. then embed them using image links.

https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_link

https://www.w3schools.com/html/html_images.asp

Replayuk

Thankyou for that seem`s easy enough, But after hearing about crip tonight i`m shocked and gutted, so i`m going to not code that in right now, and take sometime out and rememeber the chats crip and me had when he made a theme for me 10 years ago,...I`ve just said to the wife how long was it when crip made that theme for me for that site,....she said about 10 years ago....then she asked why,....i told her and omg i`m gutted seriously cannot believe it.

Rip Crip :(


lurkalot

Quote from: Replayuk on May 30, 2020, 11:15:20 PM
Thankyou for that seem`s easy enough, But after hearing about crip tonight i`m shocked and gutted, so i`m going to not code that in right now, and take sometime out and rememeber the chats crip and me had when he made a theme for me 10 years ago,...I`ve just said to the wife how long was it when crip made that theme for me for that site,....she said about 10 years ago....then she asked why,....i told her and omg i`m gutted seriously cannot believe it.

Rip Crip :(

Yes was a sad time for all of us when he passed away, he was not only a great Guy, and a great themer, he was also part of our TinyPortal team.

If you get stuck with the code for the social icons just pop back in here.. ;)

Replayuk

Lurkalot can you do a copy of the code you have in your block so i can just copy it in and then upload the icons to my server, please let me know if its html or php code your using.

Thankyou Lurkalot

Just going to take time for that to sink in the above, quite upset me that has tbh, i`ve not been doing much on the smf for sometime and have only just started getting back into it tbh, but anyway thankyou for your help again


lurkalot

Sure.  But you'll have to edit the urls to point to your own images etc, and depending where you display it you might need to play with the width, height settings.  ;)

<center>
<div>

<a href="https://twitter.com/Tiny_Portal" target="_blank"><img src="https://www.tinyportal.net/Themes/alphacentauri203/images/twitter.png" alt="Twitter" style="width:20%;height:20%;"></a>

<a href="https://www.youtube.com/channel/UCGvK_Pw5Yce-5JVB6bCIBqg" target="_blank"><img src="https://www.tinyportal.net/Themes/alphacentauri203/images/youtube.png" alt="Youtube" style="width:20%;height:20%;"></a>

<a href="https://www.facebook.com/TinyPortal-107474527385264/?view_public_for=107474527385264" target="_blank"><img src="https://www.tinyportal.net/Themes/alphacentauri203/images/facebook.png" alt="facebook" style="width:20%;height:20%;"></a>

</div>

<strong>TP on Social Media</strong>
</center>



Replayuk