Kamis, Juni 11, 2009

Adding Y! smiley to your blogspot posts and comments

Translate to : by

Finally I got myself a JavaScript too add smiley feature to this blog :D (see what I mean?)

I envy worpress (TM) for its (embedded) smiley feature. So I tried to browse for some scripts to replace all smiley codes into image smiley/emoticon. I did easily find some but most of them are placed in free script-hosting server. Obiviously free servers will go down if too many people use scripts from there :p

So, I decide to get some scripts from some sites :

  • http://scrapur.com/index/wp-content/uploads/2008/02/smile.js (add smiley feature to posts)
  • http://bloggerstop.net/ (add smiley feature to comments)

    (thanks a bunch, guys ;) )

    I put their code together and put them in pakarsindonesia.com server (so if you use my code, please also put links to pakarsindonesia.com :) ). I put my script here : http://pakarsindonesia.com/wp-includes/js/smiley.js

    Wanna some in your own blogspot's blog? follow this steps B-)

    1. Enter your blogspot dashboard and go to Layout > Edit HTML. Check Expand Widget Templates

    2. Copy all codes of your blog and paste it in notepad or any other text editor

    3. Find this line of code: </body>

    4. Then paste this line of code above it to replace all smiley code in your blog's posts and comments:

    <script language='javascript' src='http://pakarsindonesia.com/wp-includes/js/smiley.js'/>

    5. Find this line of code:

    <b:include data='post' name='comment-form'/>

    6. Then paste these bunch line of codes above it to show smiley list that can be used above comment form:



    7. Copy and paste (replace) your edited blog's codes back to Edit HTML in blogspot

    8. Save!

    Tadaa!
    :D :)
  • 5 komentar:

    Anonim 5:29 PM  

    nice gan... :)

    Unknown 7:06 PM  

    thanks kk :)

    sebenernya di blog lain juga udah sih.. tapi bikin kustomisasi sendiri lebih baik lah :D

    Echa 9:18 PM  

    kk paling ngeri deh klu udh nyungkil2 edit HTMl n expand widget, pernah slh2....tggu punya waktu luang yg pnjang biar bs ngedit dgn benar n tliti... (o iya nti kk g akn lupa mmakai ctrl f :D )..
    tetap dek, tetap iri,krn wordpress g perlu edit2 :((
    tp baiklah aku akan brjuang (heeeeh???ky mw ngapain aja) :))
    btw thx ya dek, sang suhu blog :)

    Echa 9:24 PM  

    tes2 :-o =))
    wowww :-t
    woow..udh ah katro :-L

    Grace, M.Si., Apt. 11:03 PM  

    kayanya harus dicoba..tapi internetnya lagi payah.. :p jadi males buka settingan blog :D

    :)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

    Posting Komentar

      © Blogger template 'A Click Apart' by Ourblogtemplates.com 2008

    Back to TOP