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


    Switch subject icons with a button

    avatar
    • Administrator

        Reputation : 312
        Registered on : 2012-02-22
        Posts : 2315
        School of codes courses: coming soon
      Switch subject icons with a button

      Description

      This resource will allow you to add a button next to "New topic" and "Reply" buttons to switch quickly the subject icon of that topic


      Demo



      Code

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


      General Informations

      Code creator: @Forumotion
      Code tested on:  Recent browsers -  PhpBB3
      Checked by: Niko
      Extra infos: If you want to make this code visibile only in some forums, find
      Code:
      jQuery('h2.t [...]

      and add this codes before that
      If you want to make it visible in all the topics of all the forums in a category
      Code:
      jQuery('.pathname-box a[href*="/cIF-"]').length&&
      Change ID with the category id

      If you want to make it visible in all the topics of all the forums in a category
      Code:
      jQuery('.pathname-box a[href*="/fID-"]').length&&
      Change ID with the forum ID

      You can also use this code for more forums, but this way you have to create another javascript (the main code) again

      Codes last updated on 2014-05-30 by Niko

      avatar
      • ****


          Reputation : 2
          Registered on : 2014-05-29
          Posts : 61
          Love Fmcodes
        will do, thanks
        EDIT: Will this work on punbb, shows that this would work on Phb33

        avatar
        • Administrator

            Reputation : 312
            Registered on : 2012-02-22
            Posts : 2315
            School of codes courses: coming soon
          This works with PhpBB3 yes

          but the code I gave you in Coding assistance should work ;)
          It was just to let you understand better (i tried :o )



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          avatar
          • ***


              Reputation : 0
              Registered on : 2014-03-01
              Posts : 34
              LG
            good man

            avatar
            • ****


                Reputation : 4
                Registered on : 2012-05-05
                Posts : 58
              Nice :)

              avatar
              • **


                  Reputation : 0
                  Registered on : 2014-07-25
                  Posts : 20
                  Love Fmcodes
                nice

                avatar
                • I'm a new member :)


                    Reputation : 0
                    Registered on : 2014-08-17
                    Posts : 3
                    Love Fmcodes
                  good work

                  avatar
                  • ****


                      Reputation : 1
                      Registered on : 2013-07-29
                      Posts : 56
                    thx man!

                    avatar
                    • **


                        Reputation : 0
                        Registered on : 2014-08-20
                        Posts : 17
                        Love Fmcodes
                      im going to try on invision

                      avatar
                      • I'm a new member :)


                          Reputation : 0
                          Registered on : 2012-04-22
                          Posts : 4
                        It seem prety nice, i would like to take a closer look at the code

                        avatar
                        • **


                            Reputation : 0
                            Registered on : 2014-10-13
                            Posts : 19
                            Love Fmcodes
                          Curious to use this.

                          avatar
                          • ***


                              Reputation : 0
                              Registered on : 2012-05-05
                              Posts : 46
                            thanks

                            avatar
                            • I'm a new member :)


                                Reputation : 0
                                Registered on : 2014-02-19
                                Posts : 5
                                LG
                              seems interesting!

                              avatar
                              • ***


                                  Reputation : 0
                                  Registered on : 2016-08-10
                                  Posts : 46
                                  Love Fmcodes
                                trying it

                                avatar
                                • ***


                                    Reputation : 0
                                    Registered on : 2016-08-10
                                    Posts : 46
                                    Love Fmcodes
                                  don't work on phpbb2

                                  avatar
                                  • ***


                                      Reputation : 0
                                      Registered on : 2017-02-10
                                      Posts : 38
                                      Love Fmcodes
                                    thanks


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