Announcement

Collapse
No announcement yet.

Username markup inheritence?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Username markup inheritence?

    I'm the admin of my forum. I've created a sustom usergroup for donators called "Premium Users". I want premium users to have a styled username, defined by the Username HTML Markup of the usergroup. I checked Premium Mamber as an Additional Usergroup for myself so that users could see what a Premium Member would look like in the forum.

    My username is not being displayed with the html styling. When I set Premium Member to be my primary usergroup, it works. I haven't defined any html style for the Admin usergroup.

    Why doesn't the child usergroup username style override the paren't style if it hasn't been defined?
    Graviton City: the Project A-ko Web Site
    http://www.gravitoncity.com
    Anime Imagery
    http://au.groups.yahoo.com/group/animeimagery/

  • #2
    I'm not sure I follow what you did but the way I did this was to create a customer profile field for my premium members (only editable by me), then added this field to the postbit template.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Sorry if I was confusing. Let me try to explain.

      I'm an Admin. My primary usergroup is "Administrators".

      I set up a custom usergroup "Premium Members". I edited the "Username HTML Markup" field to change the appearence of the username of members of this group.

      I added Premium Members as an "Additional Usergroup" for my account.

      Because the Username HTML Markup fields are blank in the settings for the Administrators user group, I would expect the settings of the Premium Members usergroup to change the appearence of my username on the forum. However, this is only the case when Premium Members is the primary usergroup of the account.

      Is that clearer?
      Graviton City: the Project A-ko Web Site
      http://www.gravitoncity.com
      Anime Imagery
      http://au.groups.yahoo.com/group/animeimagery/

      Comment


      • #4
        Yes. Unfortunately that's the way it works. The primary user group title takes preference - even if it's blank.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          Hmmm that's a conundrum... Should this be marked as a bug? Or could a feature be added to "Let username markup in additional usergroups take precedence over blank primary groups"?

          Can you suggest a workaround that wouldn't involve changing the style of all user titles of Admins?
          Graviton City: the Project A-ko Web Site
          http://www.gravitoncity.com
          Anime Imagery
          http://au.groups.yahoo.com/group/animeimagery/

          Comment


          • #6
            The workaround is what I posted in my first message and what I've done on my forums.

            As for a 'bug' I don't think this qualifies. However feel free to add this to the 3.1 suggestion thread.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment


            • #7
              Alright, will do. Thanks for the info!

              Love vB3 by the way Good work!
              Graviton City: the Project A-ko Web Site
              http://www.gravitoncity.com
              Anime Imagery
              http://au.groups.yahoo.com/group/animeimagery/

              Comment


              • #8
                There is a setting in the usergroups that allow secondary settings to override the primary group. If you check this, the title should show up properly.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment


                • #9
                  Originally posted by Wayne Luke
                  There is a setting in the usergroups that allow secondary settings to override the primary group. If you check this, the title should show up properly.
                  If your talking about admincp, there is also an option in the USERCP that makes the custom secondary usergroup override the first?

                  Comment


                  • #10
                    Yes, under usergroups, the user can choose which group they want to be displayed under which effects any markup as well.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment


                    • #11
                      Originally posted by Wayne Luke
                      There is a setting in the usergroups that allow secondary settings to override the primary group. If you check this, the title should show up properly.
                      Where exactly would I find this in the Usergroup Manager? I don't see that check box option anywhere.

                      Comment


                      • #12
                        It's in the "Public Group Settings" section.

                        "Can override primary group title/markup Yes No "
                        vBulletin v3.8.0's Implementation of Google Adsense Should Be Avoided At All Costs - Do Your Own Adsense Implementation

                        Comment


                        • #13
                          But this still won't accomplish what he wants. The primary group will always prevail unless a user selects a secondary group to be his display group.
                          HFT Online - Professional computer help ... with a personal touch

                          Comment


                          • #14
                            But if he adds that group to the user as a secondary group, it should work. (And that's what he's doing.)
                            vBulletin v3.8.0's Implementation of Google Adsense Should Be Avoided At All Costs - Do Your Own Adsense Implementation

                            Comment

                            Loading...
                            Working...
                            X