Announcement

Collapse
No announcement yet.

manually changing a group ID

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

  • borbole
    replied
    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

    Leave a comment:


  • shonawhaite
    replied
    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

    Leave a comment:


  • borbole
    replied
    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

    Leave a comment:


  • shonawhaite
    started a topic [Forum] manually changing a group ID

    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
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X