Announcement

Collapse
No announcement yet.

manually changing a group ID

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

  • [Forum] manually changing a group ID

    Our 'Banned Users' usergroup currently has a groupid of 25, but I need it to be 8 so a mod will work properly (deafult avatar for banned users)

    Are these the only two spots I would need to change the ID?

    table: usergroup
    update 'usergroupid' from 25 to 8

    table: user
    update all entries which have a usergroupid of 25 to 8

    Any other spots this number needs to be changed?

    thank you
    shona

  • #2
    Originally posted by shonawhaite View Post
    Our 'Banned Users' usergroup currently has a groupid of 25, but I need it to be 8 so a mod will work properly (deafult avatar for banned users)

    Are these the only two spots I would need to change the ID?

    table: usergroup
    update 'usergroupid' from 25 to 8

    table: user
    update all entries which have a usergroupid of 25 to 8

    Any other spots this number needs to be changed?

    thank you
    shona
    Do you mean my mod deafult avatar for banned users?

    http://www.vbulletin.org/forum/showthread.php?t=236585

    If so you won''t need to change the gid for your banned members, but at the mod xml file change this part:

    PHP Code:
    if ($this->registry->options['avatarenabled'] && $this->post['usergroupid'] == 8
    to this:

    PHP Code:
    if ($this->registry->options['avatarenabled'] && $this->post['usergroupid'] == 25

    Comment


    • #3
      ah thanks, mustve been having a blonde day, that is much easier and didnt even think of it!

      changed and reinstalled, mod works perfectly now

      thanks

      Comment


      • #4
        Originally posted by shonawhaite View Post
        ah thanks, mustve been having a blonde day, that is much easier and didnt even think of it!

        changed and reinstalled, mod works perfectly now

        thanks
        You are welcome. Glad to have been of help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X