HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • SearchSearch  
  • RegisterRegister  
  • Log inLog in  




  • You are not connected. Please login or register


    Add a word counter to the editor

    Go to page : 1, 2  Next

    Niko
    • Administrator

        Reputation : 317
        Registered on : 2012-02-22
        Posts : 2362
        School of codes courses: coming soon
      Add a word counter to the editor

      Description

      With this tutorial for all forum versions, you will learn how to set a minimum number of words required before the message can be sent. You can also set the number of letters each word must have.

      Demo



      Code

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

      General Informations

      Code creator: Turbodief - Spanish support forumCode tested on: All forum versionsChecked by: NikoExtra infos:  In the code, we can modify the variables:


      • var MinNumberOfWords:
        is the minimum number of words necessary to post a message. Default is 5.
      • var LetterCountPerWord:
        is the minimum word length. Default is 3.
      • var ico_compl:
        is the image that appears when you can send the message (the message exceeded the minimum number of words), you can change it by setting the link of the image you want.
      • var ico_incompl:
        is the image that appears when you can not send the message (the message has not yet reached the minimum number of words), you can change it by setting the link of the image you want.


      Codes last updated on 3rd March 2014 by Niko



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      Eden Alexandria
      • ****


          Reputation : 2
          Registered on : 2013-12-19
          Posts : 90
          LG
        I'm going to use this on my forum, if that is alright! I'm learning a lot already by looking at javascript stuff here. Thank you very much.

        Aomine
        • I'm a new member :)


            Reputation : 0
            Registered on : 2014-03-09
            Posts : 9
            Love Fmcodes
          Just joined a few seconds ago, and the forum is really helping!

          Niko
          • Administrator

              Reputation : 317
              Registered on : 2012-02-22
              Posts : 2362
              School of codes courses: coming soon
            Thank you Aomine :bene:

            we are getting back as we have been offline for months, thanks :)



            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

              Eslam Love
              • ***


                  Reputation : 1
                  Registered on : 2013-10-16
                  Posts : 48
                  LG
                thanx

                Tinboh
                • I'm a new member :)


                    Reputation : 0
                    Registered on : 2014-02-01
                    Posts : 6
                    LG
                  Woah, this would help my users a lot on my site!

                  decru
                  • **


                      Reputation : 2
                      Registered on : 2014-03-12
                      Posts : 16
                      Love Fmcodes
                    great

                    menyou
                    • I'm a new member :)


                        Reputation : 1
                        Registered on : 2014-04-18
                        Posts : 8
                        Love Fmcodes
                      Angel  Angel  Angel

                      Sakura Zero
                      • I'm a new member :)


                          Reputation : 0
                          Registered on : 2014-05-02
                          Posts : 6
                          Love Fmcodes
                        Thanks so much for this! Hope it works!

                        sivastar
                        • ***


                            Reputation : 0
                            Registered on : 2012-03-26
                            Posts : 49
                          Thanks

                          dechua75
                          • **


                              Reputation : 0
                              Registered on : 2014-05-29
                              Posts : 18
                              Love Fmcodes
                            Thank you

                            Xanthis
                            • **


                                Reputation : 0
                                Registered on : 2012-10-11
                                Posts : 19
                              Now this seems useful.

                              MISA
                              • **


                                  Reputation : 0
                                  Registered on : 2014-07-06
                                  Posts : 22
                                  Love Fmcodes
                                Amazing, I will use thiss

                                Liam
                                • **


                                    Reputation : 0
                                    Registered on : 2014-07-11
                                    Posts : 15
                                    Love Fmcodes
                                  This is very useful, thanks.

                                  JUFASA
                                  • I'm a new member :)


                                      Reputation : 0
                                      Registered on : 2014-05-17
                                      Posts : 5
                                      Love Fmcodes
                                    thanx

                                    Shak17
                                    • **


                                        Reputation : 0
                                        Registered on : 2014-07-23
                                        Posts : 15
                                        Love Fmcodes
                                      lo estbaa buscando excelente!

                                      ddoesmc
                                      • Support Moderator

                                          Reputation : 9
                                          Registered on : 2014-03-11
                                          Posts : 299
                                          Helping on the forum
                                        Please speak English as this is a English forum, at least try your best!



                                        FMCodes Support Moderator

                                        I am very active now! Feel free to PM me anytime.
                                        cinder75
                                        • **


                                            Reputation : 0
                                            Registered on : 2014-08-20
                                            Posts : 17
                                            Love Fmcodes
                                          i need this  :3 thanks

                                          Mr. Ganesha
                                          • I'm a new member :)


                                              Reputation : 0
                                              Registered on : 2012-05-10
                                              Posts : 8
                                            Thank's

                                            darkgoku
                                            • **


                                                Reputation : 1
                                                Registered on : 2012-11-10
                                                Posts : 12
                                              this is helpful for people who dont pay attention

                                              schiggysboard
                                              • **


                                                  Reputation : 1
                                                  Registered on : 2012-04-01
                                                  Posts : 24
                                                nice

                                                Dark-Avenger
                                                • ***


                                                    Reputation : 0
                                                    Registered on : 2013-10-23
                                                    Posts : 34
                                                    LG
                                                  Thank you

                                                  Alex Sasan
                                                  • ****


                                                      Reputation : 1
                                                      Registered on : 2014-10-28
                                                      Posts : 56
                                                      Love Fmcodes
                                                    thanks

                                                    kodokguell
                                                    • **


                                                        Reputation : 0
                                                        Registered on : 2014-11-28
                                                        Posts : 17
                                                        Love Fmcodes
                                                      tes

                                                      Go to page : 1, 2  Next


                                                      YOUR BANNER HERE
                                                      728x90
                                                      DMCA.com Protection Status
                                                      © PunBB | Contact | Report an abuse