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


    How To Add HOT/Announcement Topics. How do you add images to each forum?

    avatar
    • **


        Reputation : 0
        Registered on : 2014-06-25
        Posts : 16
        Love Fmcodes
      I followed every step in the thread "
      Add a 'HOT' icon in topicslist
       " But I don't know what to do with the javascript code. (I don't know where to put the code.) I did the templates but don't know where to but the code.


      And this is just a curious question:
      How do you add images to each forum.Like their is the forum title then there is a image next to it. My keeps going below instead of going on the side.
      Help? 



      Last edited by iLucky on Sun Jun 29, 2014 5:29 pm; edited 1 time in total

      avatar
      • Manager

          Reputation : 7
          Registered on : 2014-03-09
          Posts : 55
          Check out our new contest!
        Hello,

        what do you mean with "the javascript code"?
        you mean this one?
        Code:
        <script>
          var target = $('td.tc3');
            target.each(function(index){
                var oThis = $(this);
                var replies = oThis.children('span[data-id="replies"]').text();

                if (replies > 9) {
                    oThis.children('span[data-id="hot_topic"]').show();
                }
            });
        </script>

        if yes, just add it at the very end of the whole template :fior:



        Welcome on fmcodes
        avatar
        • **


            Reputation : 0
            Registered on : 2014-06-25
            Posts : 16
            Love Fmcodes
          Oh, okay. Thanks!

          avatar
          • Administrator

              Reputation : 315
              Registered on : 2012-02-22
              Posts : 2362
              School of codes courses: coming soon
            So? did you manage to do it? :bene:



            Niko wants you in the team Guest

            Community manager and Administrator at Forumattivo.com

            avatar
            • **


                Reputation : 0
                Registered on : 2014-06-25
                Posts : 16
                Love Fmcodes
              Yes I was. Thanks!
              Solved

              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