Niko
  • Administrator

      Reputation : 319
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    Quick quotation


    Description


    Select the content of a reply and quote; with this tutorial only the selected content will be quoted, and added in the reply box (if available) with the poster name


    Demo





    Code

    You have to reply to this topic to see the code (avoid Flood)


    General Informations

    Code creator: Dana Domirani
    Code tested on: All forum versions
    Checked by: Niko
    Extra infos: Instead of replacing the original quote button (for the whole post), if you want to have two different quote button replace:
    Code:
    $("a:has(.i_icon_quote)").attr("href", "#quick_reply");
    $(".i_icon_quote").attr("title", "Quick quote");</span></div>
    with this
    Code:
    $("a:has(.i_icon_quote)").after($('<a href="#quick_reply"><img src="http://i73.servimg.com/u/f73/11/66/92/55/12505_10.png" class="quickquote" alt="Citation rapide" title="Citation rapide" /></a>'));

    and replace this
    Code:
    $("a:has(.i_icon_quote)").click(function () {
    with this
    Code:
    $(".quickquote").click(function () {



    Codes last updated on 14th March 2014 by Niko
    [/list]



    Niko wants you in the team Guest

    Community manager and Administrator at Forumattivo.com

    Webmen
    • I'm a new member :)


        Reputation : 0
        Registered on : 2014-03-14
        Posts : 7
        Love Fmcodes
      Angel  Angel  Angel  Angel  Angel

      Rhino.Freak
      • ***


          Reputation : 2
          Registered on : 2014-03-10
          Posts : 33
          Love Fmcodes
        awesome , can't wait to try out!

        mioshi11
        • ***


            Reputation : 0
            Registered on : 2012-04-02
            Posts : 41
          i want to try this

          muraliraja
          • I'm a new member :)


              Reputation : 0
              Registered on : 2013-11-17
              Posts : 4
              LG
            thanks

            DooGy00
            • ****


                Reputation : 1
                Registered on : 2013-07-29
                Posts : 56
              gracias

              Kaito
              • **


                  Reputation : 0
                  Registered on : 2014-03-28
                  Posts : 13
                  Love Fmcodes
                Great code!

                J0k3R^
                • *****


                    Reputation : 11
                    Registered on : 2014-04-25
                    Posts : 153
                    Love Fmcodes
                  very useful, i want this :)
                  thanks :)

                  JQuery
                  • ***


                      Reputation : 0
                      Registered on : 2014-05-15
                      Posts : 25
                      Love Fmcodes
                    Obrigado

                    OmSoWavy
                    • I'm a new member :)


                        Reputation : 0
                        Registered on : 2013-07-13
                        Posts : 2
                      Sounds interesting

                      Tommy Lee
                      • ****


                          Reputation : 0
                          Registered on : 2014-05-29
                          Posts : 54
                          Love Fmcodes
                        Can't wait to see the code xD :)

                        K.
                        • I'm a new member :)


                            Reputation : 0
                            Registered on : 2014-03-16
                            Posts : 6
                            Love Fmcodes
                          Wow!!! It great

                          Doctor
                          • **


                              Reputation : 0
                              Registered on : 2014-07-12
                              Posts : 15
                              Love Fmcodes
                            ty man

                            madamido
                            • ***


                                Reputation : 0
                                Registered on : 2014-08-20
                                Posts : 25
                                Love Fmcodes
                              Thank you!!

                              sivastar
                              • ***


                                  Reputation : 0
                                  Registered on : 2012-03-26
                                  Posts : 49
                                Thank you!!

                                schiggysboard
                                • **


                                    Reputation : 1
                                    Registered on : 2012-04-01
                                    Posts : 24
                                  nice!
                                  ..but dont work for my in phpbb3

                                  dumitrache.ionut.3
                                  • **


                                      Reputation : 0
                                      Registered on : 2015-01-10
                                      Posts : 12
                                      Love Fmcodes
                                    Thx

                                    Finery Workshop
                                    • **


                                        Reputation : 0
                                        Registered on : 2015-02-11
                                        Posts : 21
                                        Love Fmcodes
                                      Thank you so much!

                                      Leica
                                      • **


                                          Reputation : 0
                                          Registered on : 2015-04-26
                                          Posts : 10
                                          Love Fmcodes
                                        ty

                                        Memento
                                        • I'm a new member :)


                                            Reputation : 0
                                            Registered on : 2017-09-01
                                            Posts : 8
                                            Love Fmcodes
                                          Niiiiice.