Announcement

Collapse
No announcement yet.

Additional usergroups disappear

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

  • 720
    replied
    OK, thank you.

    Leave a comment:


  • Wayne Luke
    replied
    This would need code changes for support. You should open a feature request to change the display group on promotion.

    Leave a comment:


  • 720
    replied
    Yes, I'm using the "User Rank" system.

    The problem seems to be that each primary group has two or more addtional groups attached/related.

    (This is a military forum, so a user might get promoted to the main usergroup "NCO", giving certain rights. Then, based on a combo of reputation, days and posts get additional usergroups like "Sergeant", "Staff Sergeant" etc, with different badges. When these promotions are made automatically, "NCO" is retained as Display group. And setting all additional groups to "Always" gives the user a double or triple set of badges.)

    Leave a comment:


  • Wayne Luke
    replied
    Are you using the "User Rank" system for your badges?

    You can change the Display Type to Always and set the Usergroup to the group you want them to be in.

    Leave a comment:


  • 720
    replied
    I think I've managed the original problem by creating new usergroups, but I've run into something new and related.

    I created several usergroups to be used as primary usergroups, and which controlled all rights and permissions. Then I created several other usergroups intended as additional usergroups. These had no permissions to them; only a badge and a name.

    Promotions work as intended, but the Display usergroup is stuck with the first additional usergroup it was promoted to. I can change it manually, and then it works.

    So, the question is: Is there any way to control the Display usergroup when you perform an automatic promotion? Or, automatically remove all additional usergroups but one, which would give the same result.

    Leave a comment:


  • Wayne Luke
    replied
    What was the user's display group set to? You may have to set it to the Additional Usergroup to have everything appear like Badges and Titles.

    Leave a comment:


  • 720
    replied
    Yes, I am sure that I clicked save, but I'll check the other stuff. The two additional user groups I used were of a cosmetic nature, i.e. their purpose was to give the user a new badge, not necessarily any new access rights or such. So there might be things that aren't really thought through when it comes to permissions.

    Leave a comment:


  • Wayne Luke
    commented on 's reply
    To allow additional usergroups to override permissions, the primary usergroup must have the "Allow Users to have Member Groups" set to yes. This permission should only be set to No on "Banned Usergroups." Though people come up with weird use cases to have people in multiple usergroups but not inherit permissions.

  • Mohammed Abu Risha
    replied
    I had this same issue and thought it could relate to permissions or that some group settings overlap with others. The way that solved my problem was to reshuffle the primary and secondary groups of the user.

    Leave a comment:


  • Wayne Luke
    replied
    The "error" log provided doesn't actually show any errors. Notices and Warnings are not errors and will not affect the operation of the software.

    I cannot recreate your issue on my local installations or on a Cloud Installation. When you assign an Additional Usergroup in the AdminCP, you're clicking the "Save" button at the bottom of the profile editor correct? Changes are not automatically saved.

    Leave a comment:


  • 720
    replied
    Also, a slightly redacted excerpt from the error log around the time this happened last:

    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:21:56 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:43:15 Europe/Berlin] PHP Notice: Undefined index: nodetype in /home/********/public_html/core/vb5/route/legacy/archive.php on line 34
    [04-Dec-2019 10:43:15 Europe/Berlin] PHP Notice: Undefined index: nodetype in /home/********/public_html/core/vb5/route/legacy/archive.php on line 41
    [04-Dec-2019 10:43:15 Europe/Berlin] PHP Notice: Undefined variable: oldcontenttypeid in /home/********/public_html/core/vb5/route/legacy/archive.php on line 48
    [04-Dec-2019 10:44:06 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:44:06 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791
    [04-Dec-2019 10:44:06 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/********/public_html/core/vb/api/user.php on line 1791

    Leave a comment:


  • 720
    replied
    Addition: I gave the user three additional groups, and they were all retained after save and reload, testing twice.
    However, after setting one of the additional groups as display group, saving and reloading, all three addtional groups were gone.


    (vB 5.5.5)

    Leave a comment:


  • 720
    started a topic Additional usergroups disappear

    Additional usergroups disappear

    Not sure if this is a bug or a feature, but I've lately had issues with some users losing their additional usergroup(s).

    I tested more thoroughly now, adding an additional usergroup to a test user, saving, and then reloading again. The additional usergroup was gone in 5 of 5 tests, and I am sure that it was there when I saved.

    I don't know if this is related, but both primary and additional user groups have rank insignia, set to display if displaygroup = this group.

    Also, two specific users have had their passwords reset every time I've tried to change their additional group.

Related Topics

Collapse

  • 720
    Error 508
    by 720
    When pressing "Mark channels read" in the main page of my forum, myself and other users get the error message 508.

    Running vB5.5.5, only third-party plugin is Tapatalk.
    ...
    Fri 15th Nov '19, 12:34am
  • bollie
    PHP Warning
    by bollie
    [Thu Mar 01 14:08:56.052710 2018] [:error] [pid 26055] [client 81.11.134.242:62458] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/pctuts/domains/pctuts.be/public_html/core/vb/api/user.php...
    Thu 1st Mar '18, 5:21am
  • saiff
    Invalid SQL: SELECT `varname`,`languageid`,`text` FROM phrase
    by saiff
    What is this error?



    Invalid SQL:
    SELECT `varname`,`languageid`,`text` FROM phrase
    WHERE `varname` IN ('Description cannot be empty. Please set this field.','go_back','my_profile','my_recent_posts','user_settings','log_out','logo','search' ,'filter_search','navbar_home','navbar_blogs','navbar_articles','navbar_social_groups','na vbar_158516011593_15751604158916081585','navbar_15751604157816081575160216101593','navbar_ 15781586161016101606_15751604160516081575159016101593','navbar_newtopics','navbar_todays_p osts','navbar_whos_online','navbar_mark_channels_read','navbar_member_list','search_in_tit les_only','advanced_search','notice_23_html','navbar_help','navbar_contact_us','go_to_top' ,'powered_by_vbulletin','footer_current_time','working_ellipsis','yes','no','ok','cancel')...
    Tue 25th Apr '17, 6:14am
  • saiff
    warnind: illegal string offest
    by saiff
    Hi,

    please help .

    Warning: Illegal string offset 'moderatorperms' in /home/user/public_html/vb/includes/vb5/template.php(329) : eval()'d code on line 738 Warning: Illegal string...
    Thu 15th Sep '16, 12:29pm
  • saiff
    Warning: Illegal string offset
    by saiff
    hi,
    when viewing some members blog, get this error

    [16-Apr-2017 10:10:15 Asia/Riyadh] Warning: Illegal string offset 'moderatorperms' in /home/usre/public_html/vb/includes/vb5/template.php(318)...
    Sun 16th Apr '17, 2:48am
Working...
X