Changing usergroup error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AaronB
    Senior Member
    • Jun 2000
    • 125

    Changing usergroup error

    I get the following when trying to change to a different usergroup style to display
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/tboards/public_html/profile.php on line 1534
    And the vbulletin message is:
    You cannot set a group to which you do not belong as your displayed group
    I am using beta 4 on an unmodified (other then style) board.

    As a side note... when I cut/paste the above warning text from my screen to the wysiwyg editor here... it changed the style of the vbulletin.com boards, to the style of my boards...

    see attached

    I've now clicked preview post... and still see my style. Weird.
    Attached Files
    Aaron
    DisneySites!! MessageBoards
    http://boards.disneysites.com/
  • AaronB
    Senior Member
    • Jun 2000
    • 125

    #2
    After posting, the style went back to the default colors
    Aaron
    DisneySites!! MessageBoards
    http://boards.disneysites.com/

    Comment

    • cka
      Senior Member
      • Jun 2000
      • 256
      • 3.6.x

      #3
      I just got this, too...

      fix: change $membergroups to $membergroupids on line 1526 of profile.php.
      Last edited by cka; Fri 27 Jun '03, 9:28pm.
      To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

      Comment

      • AaronB
        Senior Member
        • Jun 2000
        • 125

        #4
        cool that fixed it... thanks cka!

        to anyone in authority... should I list the style copying thing in another thread? or is it worth worrying about?
        Aaron
        DisneySites!! MessageBoards
        http://boards.disneysites.com/

        Comment

        • Bad Bunny
          Senior Member
          • Apr 2002
          • 428
          • 3.7.x

          #5
          Thanks for the fix.
          V1 Bad Bunny Emoticons > (For Dark BGs)
          Squarehead V1 Emoticons -
          Let Users select postbit style!

          Comment

          • mtha
            Senior Member
            • Oct 2002
            • 348
            • 3.6.x

            #6
            Originally posted by cka
            I just got this, too...

            fix: change $membergroups to $membergroupids on line 1526 of profile.php.
            yeah, make sure that the vB team knows about this one, so they can fix in their code.

            Same thing happens to Leave groups, there're several places in profile.php, i guess they are not consistant, that's why.


            The fix sould be: change $membergroupids to $membergroups on line
            1534 and 1772
            the original:
            if (!in_array($usergroupid, $membergroupids))
            result:
            if (!in_array($usergroupid, $membergroups))

            vB team, please check
            Last edited by mtha; Sun 13 Jul '03, 10:59am.

            Comment

            • Steve Machol
              Former Customer Support Manager
              • Jul 2000
              • 154488

              #7
              If you think you've found a bug, use the Bug Tracker to report it.
              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

              • Mike Sullivan
                Former vBulletin Developer
                • Apr 2000
                • 13327
                • 3.6.x

                #8
                This one's already been fixed though.

                Comment

                Related Topics

                Collapse

                Working...