HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • SearchSearch  
  • RegisterRegister  
  • Log inLog in  




  • You are not connected. Please login or register


    Switch subject icons with a button

    Niko
    • Administrator

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

      Brennan
      • ****


          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

        Niko
        • Administrator

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

          Micul`Wji
          • ***


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

            ionuz
            • ****


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

              Delsin
              • **


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

                FreeH3K4R
                • I'm a new member :)


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

                  DooGy00
                  • ****


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

                    cinder75
                    • **


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

                      axtrix
                      • 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

                        Kané Dendou
                        • **


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

                          fascicularia
                          • ****


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

                            Strong
                            • I'm a new member :)


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

                              zizou2012
                              • ***


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

                                zizou2012
                                • ***


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

                                  GAMSgr
                                  • ***


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


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