Announcement

Collapse
No announcement yet.

Add Custom Profile Fields in Postbit

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    Originally posted by glennrocksvb View Post
    ​The mod works here. I'd have to check your setup to see what's wrong.
    All done. I just had to install mod again and rewrite everything. Looks ok now. Thanks a lot for your help.

    Comment


    • glennrocksvb
      glennrocksvb commented
      Editing a comment
      Glad it worked out for you.

    #77
    thanks for allowing me to download this mod. Question, how can make it display of the field (on postbox) in bold and red color?

    Comment


      #78
      I'm assuming you want to format the field value not the field label. If that is correct, then add this custom CSS:
      Code:
      .b-userinfo__additional-info > span {
          font-weight: bold;
          color: red;
      }
      The above code will format the value of all the displayed fields red and bold.

      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #79
        thx for reply, actually I want to only change one field value only, not all fields. Is it possible?

        Comment


          #80
          We can locate the specific field by its position in the list. Tell me the position of the target field in the list of fields in your postbit. Or can you post a link to a thread in your forum that shows the custom field in postbit?
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


            #81
            this is for field6.

            My fields are:
            • Join Date: Jul 2008
            • Posts: 21058
            • State: Florida
            I only want to make Florida in red

            Comment


              #82
              Ok, try adding this custom CSS:
              Code:
              .b-userinfo__additional-info:nth-child(3) > span {
                  font-weight: bold;
                  color: red;
              }
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #83
                cool, thx , that worked

                Comment


                  #84
                  Originally posted by glennrocksvb View Post
                  To add the existing envelope icon in the default icon sprite image to the Send PM link, add the below custom CSS in css_additional template in AdminCP or in Sitebuilder > Style > CSS Editor. Code:

                  .send-pm-in-postbit:before { content: ''; width: 15px; height: 14px; position: relative; bottom: -1px; background: transparent url('images/css/sprite_icons_vb_ltr.png') no-repeat scroll -16px -176px; display: inline-block; margin-right: 3px; }
                  For dark colored themes, you can use the light colored envelope icon by changing -16px to 0 in the background value above.
                  envelope appears well on chrome, but not shown in firefox !

                  Comment


                  • glennrocksvb
                    glennrocksvb commented
                    Editing a comment
                    Try clearing Firefox browser cache.

                  #85
                  Thank you Glenn, yes clearing cache solved it, Thank you

                  Comment


                    #86
                    Please,

                    How can I translate send pm?

                    I didn't find in phrase manager

                    Thanx

                    Comment


                      #87
                      It's hardcoded in the template. You can edit hook_profile_fields_postbit template to change it. This was one of the very first few mods I created when I started doing this. I didn't make it to use the phrase system yet.
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #88
                        Originally posted by glennrocksvb View Post
                        It's hardcoded in the template. You can edit hook_profile_fields_postbit template to change it. This was one of the very first few mods I created when I started doing this. I didn't make it to use the phrase system yet.


                        Although it was in the beginnings but exceeds the professional limit

                        Thank you Glenn

                        enjoy your coffee



                        Comment


                          #89
                          Thank you very much!

                          Comment


                            #90
                            Hello,

                            Does anyone know whether this might work in VBulletin 4.1.1 patch level 7?

                            Many thanks.

                            Comment

                            Users Viewing This Page

                            Collapse

                            There is 1 user viewing this forum topic.

                            • Guest Guest

                            Latest Posts

                            Collapse

                            Working...
                            X
                            Searching...Please wait.
                            An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                            Please push the back button and reload the previous window.'
                            An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                            Please push the back button and reload the previous window.'
                            An internal error has occurred and the module cannot be displayed.
                            There are no results that meet this criteria.
                            Search Result for "|||"