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


    Add prefixes to the title with a button

    Go to page : Previous  1, 2


    avatar
    • Administrator

        Reputation : 315
        Registered on : 2012-02-22
        Posts : 2318
        School of codes courses: coming soon
      First topic message reminder :

      Add text prefixes to the title with a button


      Description


      Thanks to this resource you will be able to add more than one label in the field "edit title" while with the current settings on forumotion you can just have the one with "[Solved]"

      This way you will be able to have the famous prefixes, for example:

      • [Solved] The forum cannot be opened
      • [In progress] Graphic request
      • [Accepted] Suggestion for this forum



      • How does it work?
        Click on the button, the content will be added


      • Can I add more than a button?
        Sure! just add the code more than one time, editing it every time


      • Can I remove a prefix?
        Sure! Just click again on the button you used to add it!



      Demo



      Code

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


      General Informations

      Code creator: Niko
      Code tested on: Browser - Forum version
      Checked by:  Niko
      Extra infos:
       LABEL: this is the content of the button, just to let your members know what that button is for
      Note: Label and content doesn't have to be the same

      [CONTENT]: This is the content that will be added in the title box
      Nota: If you want to use characters as (') or doble quotes ("), you should add (\) before these ones
      example: "it's a good day"
      code must be:
      CODE: 

      Code:
      it\'s a good day


      To customize the style of the button go towards ACP ? Disaply ? Colors ? CSS stylesheet and copy/paste this code:

      CODE:
      Code:
      #button_label {
      //*Content
      }

      Just replace //*Content with one or more of this lines

      • color: #000000;: edit the color of the text
      • background-image: url('LINK');: edit the background image
      • background-color: #000000;: edit the background color
      • border: 1px solid #000000:: edit the border in width (1px), style (dashed or solid) and color (#000000)
      • box-shadow: 1px 1px 1px #000000: add a shadow around the button with the 3 dimensions (1px, 1px, 1px)
      • border-radius: 2px;: make the borders round
      • opacity: 0.7: value from 0 to 1 (0.3, 0.5, ecc.)





      Codes last updated on 24 May 2014 by  Niko



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      avatar
      • **


          Reputation : 0
          Registered on : 2015-06-12
          Posts : 22
          Love Fmcodes
        Thank you!

        avatar
        • **


            Reputation : 0
            Registered on : 2015-07-16
            Posts : 16
            Love Fmcodes
          Nice work!

          avatar
          • **


              Reputation : 0
              Registered on : 2013-06-20
              Posts : 16
            thnx

            avatar
            • ***


                Reputation : 0
                Registered on : 2016-04-21
                Posts : 46
                Love Fmcodes
              thanks u

              avatar
              • ***


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

                avatar
                • I'm a new member :)


                    Reputation : 0
                    Registered on : 2017-02-02
                    Posts : 3
                    Love Fmcodes
                  This seems really cool, can't wait to try it. :) Thanks for sharing!

                  avatar
                  • ***


                      Reputation : 0
                      Registered on : 2017-02-10
                      Posts : 38
                      Love Fmcodes
                    σολoddd

                    avatar
                    • I'm a new member :)


                        Reputation : 0
                        Registered on : 2015-10-25
                        Posts : 5
                        Love Fmcodes
                      yes

                      avatar
                      • I'm a new member :)


                          Reputation : 0
                          Registered on : 2017-02-21
                          Posts : 6
                          Love Fmcodes
                        thanks alot!

                        Go to page : Previous  1, 2


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