J0k3R^
  • *****


      Reputation : 11
      Registered on : 2014-04-25
      Posts : 153
      Love Fmcodes
    Hi :D
    i recently changed my forum theme and im facing a small problem with the "new" on my homepage.
    Im using this js:

    Code:
    $(document).ready(function()
    {$('img[src="http://i58.servimg.com/u/f58/17/19/90/23/empty10.gif"]').replaceWith('<span class="newpostprefix">ΝΕΟ</span>');});



    But the "new" appears in the position of forum icon too and i need to remove it from there.
    see the image below to explain u better:

    "new" on homepage problem 5zKugxP



    Last edited by J0k3R^ on Fri May 30, 2014 5:59 am; edited 1 time in total

    J0k3R^
    • *****


        Reputation : 11
        Registered on : 2014-04-25
        Posts : 153
        Love Fmcodes
      Bump

      Tiffany!
      • Manager

          Reputation : 32
          Registered on : 2012-04-17
          Posts : 199
        Hello 

        can I see your forum with the code installed? thanks



        Welcome on the forum of Codes
        Tiffany!
        • Manager

            Reputation : 32
            Registered on : 2012-04-17
            Posts : 199
          Hello

          can this issue be considered solved?

          if not, please post a bump message within 5 days
          Thank you thanks



          Welcome on the forum of Codes
          J0k3R^
          • *****


              Reputation : 11
              Registered on : 2014-04-25
              Posts : 153
              Love Fmcodes
            Bump

            Niko
            • Administrator

                Reputation : 320
                Registered on : 2012-02-22
                Posts : 2366
                School of codes courses: coming soon
              actually the problem is that the icon is on left and not on right?

              right? Wink



              Niko wants you in the team Guest

              Community manager and Administrator at Forumattivo.com

              J0k3R^
              • *****


                  Reputation : 11
                  Registered on : 2014-04-25
                  Posts : 153
                  Love Fmcodes
                the problem is that the icon is both on left and right and i want only to be at right..
                this one at left its because of this code 
                Code:
                $(document).ready(function()[size=12][color=#000000][/color][/size]
                {$('img[src="http://i58.servimg.com/u/f58/17/19/90/23/empty10.gif"]').replaceWith('<span class="newpostprefix">ΝΕΟ</span>');});

                (https://i.servimg.com/u/f58/17/19/90/23/empty10.gif) → is the image of the forum icon for new replies.

                Niko
                • Administrator

                    Reputation : 320
                    Registered on : 2012-02-22
                    Posts : 2366
                    School of codes courses: coming soon
                  there's an extra part..
                  try this

                  Code:
                  $(document).ready(function()
                  {$('img[src="http://i58.servimg.com/u/f58/17/19/90/23/empty10.gif"]').replaceWith('<span class="newpostprefix">ΝΕΟ</span>');});



                  Niko wants you in the team Guest

                  Community manager and Administrator at Forumattivo.com

                  J0k3R^
                  • *****


                      Reputation : 11
                      Registered on : 2014-04-25
                      Posts : 153
                      Love Fmcodes
                    there is nothing extra man. the 
                    Code:
                    [size=12][color=#000000][/color][/size]


                    was because i copy paste the code and the editor got the style

                    Niko
                    • Administrator

                        Reputation : 320
                        Registered on : 2012-02-22
                        Posts : 2366
                        School of codes courses: coming soon
                      actually the issue has to be found in templates

                      you have two times the same variable (the icon of the forum)
                      just remove one (the first one) from your templates

                      it should be index_box or Index_body, the cathegories one



                      Niko wants you in the team Guest

                      Community manager and Administrator at Forumattivo.com

                      J0k3R^
                      • *****


                          Reputation : 11
                          Registered on : 2014-04-25
                          Posts : 153
                          Love Fmcodes
                        thats my index_box, which code should i remove? Thank you
                        (i want the "NEW" appear only on right side, after forumtitle)



                        Last edited by J0k3R^ on Fri May 30, 2014 5:58 am; edited 1 time in total

                        Niko
                        • Administrator

                            Reputation : 320
                            Registered on : 2012-02-22
                            Posts : 2366
                            School of codes courses: coming soon
                          remove this:

                          Code:
                          <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" style="padding-top: 7px;" />



                          Niko wants you in the team Guest

                          Community manager and Administrator at Forumattivo.com

                          J0k3R^
                          • *****


                              Reputation : 11
                              Registered on : 2014-04-25
                              Posts : 153
                              Love Fmcodes
                            Solved
                            thanks Niko :)

                            Tiffany!
                            • Manager

                                Reputation : 32
                                Registered on : 2012-04-17
                                Posts : 199
                              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



                              Welcome on the forum of Codes