HomeHome  
  • WelcomeWelcome  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • 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

    avatar
    • Administrator

        Reputation : 312
        Registered on : 2012-02-22
        Posts : 2315
        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

      avatar
      • ****


          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.

        avatar
        • 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!

          avatar
          • Administrator

              Reputation : 312
              Registered on : 2012-02-22
              Posts : 2315
              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

            avatar
            • I'm a new member :)


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

              avatar
              • ***


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

                avatar
                • 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!

                  avatar
                  • **


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

                    avatar
                    • I'm a new member :)


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

                      avatar
                      • I'm a new member :)


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

                        avatar
                        • ***


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

                          avatar
                          • **


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

                            avatar
                            • **


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

                              avatar
                              • **


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

                                avatar
                                • **


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

                                  avatar
                                  • I'm a new member :)


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

                                    avatar
                                    • **


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

                                      avatar
                                      • Support Moderator

                                          Reputation : 8
                                          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.
                                        avatar
                                        • **


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

                                          avatar
                                          • I'm a new member :)


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

                                            avatar
                                            • **


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

                                              avatar
                                              • **


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

                                                avatar
                                                • ***


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

                                                  avatar
                                                  • ****


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

                                                    avatar
                                                    • **


                                                        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