ET Smiley Set for Blogger: Emoticon Panel for Threaded Comments Form

Note: This is a revised version of the post , ET Smileys Panel over your comment form updated for the new Blogger interface and Threaded Comments

Okay here's a little more to add to your very own et Smileys Script, which has helped a bunch of people to use adorable smileys on their blogs!

If you've enabled ET smileys in your blog, they can be used in the posts and even work in the comments. A little inconvenience here is that, even though all your visitors can use the smileys in their comments, they need not always know the correct smiley symbol to type in.

Here's the simple solution - just add a smiley reference panel over your comment form. Your visitors now have a handy guide to et Smileys!

The essential Steps


#0 Make sure that your comment-form is embedded below post. If you are sure about that, skip to Step #1.
Or else go to your Blogger dashboard. In the drop down menu next to the blog's name, Click on Settings and in Posts and Comments section, select Comment Location as  Embedded

Comment form placement in blogger



#1 Go to your Blogger dashboard, and in the drop down menu next to the blog, click Template and click on the Edit HTML button

#2 You need to edit 3 parts of code in the template.

  Now find the following piece of code in the template : (You can hit Ctrl+F and enter the code to search)
var onReply = function

The below screenshot shows the entire code which you need to replace:
(click for larger image)



Select all the code starting from var to the last semicolon (;), and replace it with the below code:

var onReply = function(commentId, domId) {
        if (replybox == null) {
          // lazily cache replybox, and adjust to suit this style:
          replyboxContainer = document.getElementById('comment-editor-container');
          replybox = document.getElementById('comment-editor');
          if (replybox != null) {
            replybox.height = '250px';
            replybox.style.display = 'block';
            replyUrlParts = replybox.src.split('#');
          }
        }
        if (replybox && (commentId !== replyParent)) {
          document.getElementById(domId).insertBefore(replyboxContainer, null);
          replybox.src = replyUrlParts[0]
              + (commentId ? '&parentID=' + commentId : '')
              + '#' + replyUrlParts[1];
          replyParent = commentId;
        }
};


  Likewise replace one more piece of code in the template.
Again, find the following piece of code in the template : (You can hit Ctrl+F and enter the code to search)
<b:includable id='threaded-comment-form' var='post'>

Click on the small arrow to the left of this line to unfold the full code. A few lines below the above part, look for the following code (click for larger image):


Here you can see the iframe tag highlighted in green. Replace the highlighted part with the whole of below code:

<div id='comment-editor-container'>
<script src='https://et-smileys.googlecode.com/svn/trunk/etSmileysPanelFull.js' type='text/javascript'/>
<iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='500' id='comment-editor' name='comment-editor' src='' width='100%'/>
</div>

The highlighted script tag in above code determines which of the two flavors of smiley panel is used. The above code uses the full smiley panel. You can replace the script tag part for a minimal smiley panel.
See Step #3 below for detailed options.

  Threaded comments will not be enabled until at least one comment is added to the post. In order to account for this case, you need to add the smiley script in one more place.

Search for the following code in the template:
<b:includable id='comments' var='post'>

If there is a small arrow to the left of this line, Click on it to unfold the full code. Below this line, look for the following code (click for larger image):



Below the closing <h4/> tag, paste the following code:

<b:if cond='data:post.numComments == 0'>
<script src='https://et-smileys.googlecode.com/svn/trunk/etSmileysPanelFull.js' type='text/javascript'/>   
</b:if>

Again, see below for the two options of ET Smiley Panel that you can choose from!


#3 You have two choices of smiley panels:

  One, you can display the entire set of available smileys above your comment form. In order to make this happen, copy the below code and paste it after the line, as said in Step #2:

<script type="text/javascript" src="https://et-smileys.googlecode.com/svn/trunk/etSmileysPanelFull.js"></script>


Note: More smileys may be added in the future, and this panel may get bigger then. 


  Way two, you can add a minimalist panel of selected, most frequently used smileys. Copy the below code and paste it in the appropriate position:

<script type="text/javascript" src="https://et-smileys.googlecode.com/svn/trunk/etSmileysPanelBasic.js"></script>



Hope you find the smileys panel a most useful addition! :)

32 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. thanks a lot.. its working now :mj but dere is sum glitch d smiley panel appears after d first comment is made (means a new post wid no comments doesnt show d panel) can u pls check it out.. :)

    ReplyDelete
    Replies
    1. Hi Riya,

      Thanks for pointing out the bug!
      Added an update to solve this issue.
      See Part (c) in Section #2 in the above post :)

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. I posted a problem which I have solved already... Thanks a lot for the smileys!! :) Love your blog and codes :D

      Delete
  4. Hi....i am sorry, but I cant find the given codes anywhere in my template. I expanded it and did what not! :/
    Is there a way you can fix this?

    ReplyDelete
  5. Get all types of information which is useful for all and General knowledge, online Jobs, New jobs, Recruitments, letest Employment news and more. Click Here Online Worlds Information

    ReplyDelete
  6. Thanks A lot!!!!! after a few trials, it finally worked!!! <3 \m/

    ReplyDelete
  7. Excellent post. You must continue to offer excellent resources and content like you have been offering. I will most likely stop by again in the future.
    website design

    ReplyDelete
  8. Asia Explore Adventure & Travel is founded by the dedicated explorers and professional Team to operate the luxurious holiday tour and explore the incredible attractions to the various country of Nepal, Bhutan, Tibet and India.We are operating, classic tours, cultural &historical tours, leisure holiday tours,MICE,training& conference tours, Mercedes Benz terrain coach tours, outdoor adventure tours (trekking, hiking, outdoor camping, jungle safari, white water rafting, paragliding etc.), air/helicopter charters, special custom made itinerary tours for outbound travel agencies and provide “one time shop” services to our customers.
    Trekking in Nepal
    Annapurna Base Camp Trek
    Everest Base Camp Trek
    Langtang Valley Trek
    Mount Kailash Tours
    Kanchenjunga Trek

    ReplyDelete
  9. Hmm I can't seem to work the script out. please help: roshwillking [@] gmail. com

    ReplyDelete
    Replies
    1. Hi Apple, do explain where/how you're facing the issue.

      Delete
    2. Excellent post. Thanks a lot.

      Delete
  10. Good post. Really helpful. Thanks alot

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Mad Games have best online games from internet. our site update new games from Mad, Friv, Kizi, Yepi, Y8. Play fun games now.

    ReplyDelete
  13. To flee war, to protect the lives of themselves and their families. Mario
    Friv Doraemon Games Kizi Yoob Juegos

    ReplyDelete
  14. To flee war, to protect the lives of themselves and their families, and must live with the rhythm of society, sometimes makes people feel comfortable smell.
    Mario
    Friv
    Doraemon Games
    Kizi
    Yoob Juegos

    ReplyDelete
  15. The war between humans, orcs and elves continues earn to die free hot. Lead your race through a series of epic battles, using your crossbow to fend off foes and sending out units to destroy castleshappy wheels . Researching and upgrading wisely will be crucial to your success! There are 5 ages total and each one will bring you new units to train to fight in the war for you cause. earn to die hotWhatever you do, don’t neglect your home base because you cannot repair it and once it is destroyed, you lose! Age of War is the first game of the series and really sets the tone for the Age of War games . Also try out the Age of Defense series as it is pretty similar.
    In this game, you start at the cavern men’s age, then evolvetank trouble game! There is a total of 5 ages, each with its units and turrets. Take control of 16 different units and 15 different turrets to defend your base and destroy your enemy.
    The goal of the game also differs depending on the level. In most levels the goal is to reach a finish line or to collect tokens. Many levels feature alternate or nonexistent goals for the player. The game controls are shown just under gold mine. Movement mechanisms primarily include acceleration and tilting controls.
    It consists of a total of 17 levels and the challenge you face in each level increases as you go up. unfair mario The game basically has a red ball that has to be moved across the various obstacles in its path to the goal. slitherio

    ReplyDelete
  16. I was working and suddenly I visits your site frequently and recommended it to me to read also. Age Of War 2
    Big Farm | Slitherio
    Tank Trouble | Happy Wheels
    Goodgeme Empire | Slither.io

    ReplyDelete

  17. this is one of the cult game now, a lot of people enjoy playing them . Also you can refer to the game :
    five nights at freddy's 4 | five nights at freddy's 2 | plants vs zombies |fireboy and watergirl 2 | 2048 game | five nights at freddy's 3

    ReplyDelete
  18. Juegos de Twizl | Twizl Juegos | TwizlTwizl.juegos - Jugar juegos gratis de acción, juegos adictivos, juegos de rompecabezas, juegos de deportes, juegos de chicas y juegos de aventura en línea. ..y más. Muy juegos divertidos en Twizl.juegos.

    ReplyDelete
  19. تعتبر العاب تلبيس من اشهر الانواع في هذا المجال وهي بدورها تتضمن عدة اصناف جميلة ويعشقها الكتير وخاصة البنات منها العاب تلبيس ومكياج التي تمزج بين التلبيس وكذلك الميك اب في آن واحد هذا الامر الدي يزيد من جمالها وتجعل كل من يلعبها يستمتع بذلك زد على ذلك العاب تلبيس باربي التي تعرف شعبية كبيرة لانها شخصية مشهورة ويعرفها الصغير والكبير ولهم ذكريات جميلة معها لانها اشتهرت في عالم الكارتون والان اصبح الامر كذلك في مجال الالعاب وغير هذا هناك كذلك نوع آخر مميز ايضا وهو العاب تلبيس عرائس فالجميع يحلم ان يقوم بتلبيسهما لانها تذكرهم بهذه المناسبة الجميلة الا وهي الزواج التي تعتبر اهم مرحلة في حياة الانسان وهناك انواع مغايرة لها جمهور كبير في كل انحاء العالم وهي العاب قص الشعر ليس هي فقط بل توجد ايضا العاب طبخ بنات التي يمكن للجميع لعبها سواء كانوا اولادا او بناتا وهي الاكتر طلبا في النت ويحبها الجميع ومعها ايضا العاب باربي التي تكلمنا عليها بكل انواعها تتنوع العاب فلاش وذلك على حسب كل شخص ورغبته فهناك عدة انواع منها وهناك من هي خاصة بالبنات واخرى للاولاد وتعتبر العاب تلبيس من اكتر الالعاب انتشارا في الويب وهي محبوبة عند الجميع ولديها جمهور واسع كما انها سهلة اللعب والجميع يمكنه لعبها بسهولة تامة بدون صعوبات تذكر كما ان هناك انواع اخرى متل العاب طبخ والعاب اكشن ومكياج و سيارات الى غير ذلك فلك صنف جمهوره ومحبيه ولكن تبقى العاب بنات جديدة الاكتر انتشارا وشعبيتنا في عالم العاب الفلاش كما انها تحتوي على شخصيات معروفة وغنية عن التعريف متل باربي و سندريلا وشخصيات اخرى تركت بصمتها في هذا المجال لهذا اصبح يعتمد عليها كتيرا في صنف العاب تلبيس بنات الدي تحبه البنات بكترة خاصة في العالم العربي مما يجعل المواقع الخاصة بهذا النوع تزداد يوما بعد الاخر فذلك ليس عبثا ففي الحقيقة نوع العاب التلبيس من اجمل اصناف العاب فلاش بصفة عامة
    العاب حرب العاب ذكاء العاب اكشن العاب friv العاب مكياج

    ReplyDelete
  20. Nice post, things explained in details. Thank You.

    ReplyDelete
  21. Very nice post. I merely stumbled upon your journal and wished to mention that I even have extremely enjoyed browsing your weblog posts. finally I’ll be subscribing on your feed and that i am hoping you write once more terribly soon!

    ReplyDelete
  22. I certainly agree to some points that you have discussed on this post. I appreciate that you have shared some reliable tips on this review.

    ReplyDelete