HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    What is this js code?

    avatar
    • *****


        Reputation : 11
        Registered on : 2014-04-25
        Posts : 153
        Love Fmcodes
      Hi, im using this code to my overall_header and 2 guys told me that it makes my forum slower. Can someone explain me what this js got? Just to know if its necessary or if its needless i will remove it.

      Code:
      <script src="http://tinyurl.com/var-fa" type="text/javascript">

      avatar
      • **


          Reputation : 0
          Registered on : 2014-05-31
          Posts : 19
          Love Fmcodes
        I think you need to use the "forum variables" but I'm not sure if you need it in your template.
        I know that I add it on my HTML files that I host on my forum, and with this, the variables like USERNAME work ^^

        You can see the list here : https://www.fmcodes.com/popup_help.forum?l=miscvars



        Last edited by Nihil on Sat May 31, 2014 3:06 pm; edited 1 time in total

        avatar
        • Administrator

            Reputation : 315
            Registered on : 2012-02-22
            Posts : 2362
            School of codes courses: coming soon
          Hello

          it can be added in a javascript code, or in a widget, or in templates

          just remove it ;)



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          avatar
          • *****


              Reputation : 11
              Registered on : 2014-04-25
              Posts : 153
              Love Fmcodes
            is it different if its at overall header and if its in js code??

            avatar
            • Administrator

                Reputation : 315
                Registered on : 2012-02-22
                Posts : 2362
                School of codes courses: coming soon
              nothing changes

              just remove it if you don't want it, wherever it is :bene:



              Niko wants you in the team Guest

              Community manager and Administrator at Forumattivo.com

              avatar
              • *****


                  Reputation : 11
                  Registered on : 2014-04-25
                  Posts : 153
                  Love Fmcodes
                i know but i need someone to tell me what this javascript is about. and then i will decide if i need it or delete it. because im not coding js and i dont know

                avatar
                • Administrator

                    Reputation : 315
                    Registered on : 2012-02-22
                    Posts : 2362
                    School of codes courses: coming soon
                  actually that has been developed by the french support forum team

                  maybe they know more. what is sure, is that it concerns the forumotion variables



                  Niko wants you in the team Guest

                  Community manager and Administrator at Forumattivo.com

                  avatar
                  • **


                      Reputation : 0
                      Registered on : 2014-05-31
                      Posts : 19
                      Love Fmcodes
                    Here is a list of variables that you can use on your forum : https://www.fmcodes.com/popup_help.forum?l=miscvars (juste replace https://www.fmcodes.com by your url).

                    But you can not use all these variables on the forum, there are some pages where it will not work, and of course it won't work on your personnal HTML pages.

                    If you want to be able to use them every where, you just have to add this scrip ;)

                    If you want, you can use Google Trad on this page to see all the explanations ;)

                    avatar
                    • Support Moderator

                        Reputation : 8
                        Registered on : 2014-03-11
                        Posts : 299
                        Helping on the forum
                      Hello

                      can this issue be considered solved?
                      If not, please post a bump message withing 7 days to let us know you still need assistance

                      Thank you very much thanks



                      FMCodes Support Moderator

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


                          Reputation : 11
                          Registered on : 2014-04-25
                          Posts : 153
                          Love Fmcodes
                        I have removed all variables from this js code but 2. (USERNAME and USERLINK)
                        does my forum still running slow?

                        avatar
                        • Administrator

                            Reputation : 315
                            Registered on : 2012-02-22
                            Posts : 2362
                            School of codes courses: coming soon
                          Maybe the forum is slow due to another reason Wink



                          Niko wants you in the team Guest

                          Community manager and Administrator at Forumattivo.com

                          avatar
                          • *****


                              Reputation : 11
                              Registered on : 2014-04-25
                              Posts : 153
                              Love Fmcodes
                            but is it? (slow)

                            avatar
                            • Administrator

                                Reputation : 315
                                Registered on : 2012-02-22
                                Posts : 2362
                                School of codes courses: coming soon
                              no, you said that :/



                              Niko wants you in the team Guest

                              Community manager and Administrator at Forumattivo.com

                              avatar
                              • *****


                                  Reputation : 11
                                  Registered on : 2014-04-25
                                  Posts : 153
                                  Love Fmcodes
                                smiley45 
                                u can lock this topic now, im okey with this js code :)

                                avatar
                                • Support Moderator

                                    Reputation : 8
                                    Registered on : 2014-03-11
                                    Posts : 299
                                    Helping on the forum
                                  Hello

                                  as this topic is solved it is locked and moved to the sub-section Solved issues

                                  Thanks,
                                  and hope to see you soon again on fmcodes



                                  FMCodes Support Moderator

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


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