Niko
  • Administrator

      Reputation : 318
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    Smilies near the Reply box

    Description


    With this tutorial you can add the smiley-box near the Quick reply-box without clicking the button :bene:

    Set up


    Hello,


    First, ACP > DISPLAY > Templates > General > viewtopic_body

    find this:

    Code:
    <table class="forumline noprint" width="100%" border="0" cellspacing="1" cellpadding="0">
      <tr>
          <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
          <!-- BEGIN topicpagination -->
          <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
          <!-- END topicpagination -->
      </tr>
      <!-- BEGIN switch_user_logged_in -->
      <!-- BEGIN watchtopic -->


    replace with:

    Code:

    <table class="forumline noprint" width="100%" border="0" cellspacing="1" cellpadding="0">
      <tr>
          <td class="row2" colspan="3" valign="top" {COLSPAN_PAGINATION}><span class="gensmall">{PAGE_NUMBER}</span></td>
      </tr>
      <tr>
          <!-- BEGIN topicpagination -->
          <td class="row1" colspan="3" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
          <!-- END topicpagination -->
      </tr>
      <!-- BEGIN switch_user_logged_in -->
      <!-- BEGIN watchtopic -->
      <tr>
          <td class="row2" colspan="3" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
      </tr>
      <!-- END watchtopic -->
      <!-- END switch_user_logged_in -->
      <tr>
          <td class="row2" colspan="2" align="center" style="padding:0px">
            <!-- BEGIN switch_user_logged_in -->
            <a name="quickreply"></a>
            {QUICK_REPLY_FORM}

            <!-- END switch_user_logged_in -->
          </td>
    <td class="row2" width="10%" align="center"><iframe src="/smilies.forum?mode=smilies_frame" width="200" height="250"></iframe></td>
      </tr>
      <tr>
          <td style="margin:0; padding: 0;" colspan="3">
            <table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
                <tbody>
          <!-- BEGIN show_permissions -->
          <tr>
            <td class="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td>
            <td class="row1" valign="top" width="75%"><span class="gensmall">{S_AUTH_LIST}</span></td>
          </tr>
          <!-- END show_permissions -->
          <tr>
            <td class="catBottom" colspan="3" height="28">


    DEMO
    Smiles near the Reply box 1-14

    Technical problems


    The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.

    Thanks, the staff
    For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...


    Friendly,
    The team of the Forum of Codes.



    Last edited by Niko on Sat May 26, 2012 12:55 pm; edited 1 time in total



    Niko wants you in the team Guest

    Community manager and Administrator at Forumattivo.com

    avatar
    • Veteran staff member

        Reputation : 11
        Registered on : 2012-03-27
        Posts : 116
      Thanks a lot for this tutorial, I'll use it on my new forum, thank you very much, Niko. yes

      Niko
      • Administrator

          Reputation : 318
          Registered on : 2012-02-22
          Posts : 2366
          School of codes courses: coming soon
        @Cyborg112233 wrote:Thanks a lot for this tutorial, I'll use it on my new forum, thank you very much, Niko. yes

        You're welcome nonIo



        Niko wants you in the team Guest

        Community manager and Administrator at Forumattivo.com

        avatar
        • **


            Reputation : 0
            Registered on : 2012-04-08
            Posts : 20
          That is close to what I'm looking for but not exactly. I want a button to click that opens the smiles box in a new window. So the smiles do not show until the button is clicked. When it opens I want it to open in a small to medium size fly-out or pop-out window. I don't have the quick reply enabled on my forum I only use the Regular "Post Reply". So this would need to be for the regular reply.

          I have phpBB3

          thanks

          socke
          • **


              Reputation : 1
              Registered on : 2012-04-09
              Posts : 22
            Doesn´t work :(

            The tag has been closed before being opened or the tag hasn't been opened.

            MartinoPio
            • Veteran staff member

                Reputation : 14
                Registered on : 2012-02-25
                Posts : 98
              Nice, very helpful: P

              socke
              • **


                  Reputation : 1
                  Registered on : 2012-04-09
                  Posts : 22
                @socke wrote:Doesn´t work :(

                The tag has been closed before being opened or the tag hasn't been opened.

                Now it works :)

                Paulos
                • Veteran staff member

                    Reputation : 12
                    Registered on : 2012-03-23
                    Posts : 17
                  This code is only for PhpBB2

                  Nick
                  • Manager

                      Reputation : 20
                      Registered on : 2012-04-01
                      Posts : 407
                    Nice one for PhpBB2!



                    Smiles near the Reply box 15px10