Jiew Meng

Web Developer, Computer Science Student

andreasolsson asked: Hi Jiew Meng,

I'm using the modern1 theme and I love it. Is it possible to implement facebook comments/likes? If you could help me out that would be great.

Also i'm not sure why the likes are not working for me?

Thanks for a great theme.

Yes its possible to implement FB comments & likes. But you will need basic knowledge of HTML.

On line 2 <html ...>, it should look like

<html lang="en-US" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">

Around line 737 (before </body>) paste

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>

then around line 646 (before </footer>)

<fb:like href="{Permalink}" send="true" width="450" show_faces="true" font=""></fb:like>

for comments, around line 638 add

<fb:comments num_posts="2" width="510" colorscheme="light"></fb:comments>

for you convinence you can grab the code from mediafire

this is all untested code …

wayofdaze asked: Hi Jiew! Thank you so much for creating all these wonderful themes! I'm new to Tumblr and am loving how my blogs and reblogged stuff looks on the Comic5 theme! http://thebuzzrealm.tumblr.com/ :D

My question is about the Likes button. When I click on it, it takes me to a page that says "Not Found. The URL you requested could not be found." Anyway to fix that?

If not, no worries. I'm lovin' the fact that you and others that have the web-making background create all of these wonderful themes on your free time for us to plug-in and enjoy. Take care and hope to hear from you! :D

-Kim (Strange_Daze)

Its because line 951

<header><h3><a href="/liked/by/{Username}" target="_blank">Likes</a></h3></header>
                                                     ^

maybe I made a mistake or {Username} is not available. So try replacing that with your blog name eg. thebuzzrealm

for your convinience, u can grab the code from mediafire

marichan7109 asked: I'm using you theme Comic, how can i activate the facebook and twitter icons? They appear in the css code, but not in the web design, thankx!

You can enable Twitter in the Appearance tab > Twitter name. I dont think I added Facebook, for some reason. Since you have knowledge of CSS, you can add Facebook support easily … just learn from the current code, search “twitter”.

On approx line 29

<meta name="text:Twitter name" content="" />

This adds a “Text Param” called “Twitter name” under your Appearance tab.

On approx line 922

{block:IfTwitterName}
<li><a href="http://twitter.com/{text:Twitter name}"><img src="http://static.tumblr.com/ikeq9mi/g8Wl4e9h1/twitter.png" />Twitter</a></li>
{/block:IfTwitterName}

This tells Tumblr:

  1. if Twitter name is filled, output the link
  2. {text:Twitter name} grabs the Twitter name

You will need to grab a facebook icon tho,

Hope it helps

ilovernb1 asked: Hi! I love your themes! Are to planning to make more? I'm using Last FM for my music and I don't know where to find the HTML code? Do you have any idea? Thanks!

I suppose LastFM will provide embeds? Then u can use Video posts and paste the embed code

Search

Loading

Likes

Following