Announcement

Collapse
No announcement yet.

User Access to Rank of Joinable Non-Override Secondary Group

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

  • User Access to Rank of Joinable Non-Override Secondary Group

    What we want:.
    We want users to display both their primary usergroup title and a secondary usergroup rank at the same time, each with separate HTML markups.

    To do this, we created a secondary joinable usergroup with group leaders (which means that all join requests have to be approved first).

    We want members to retain the user title for their primary group (with all it's HTML markup). So we created a User Rank to go with the secondary user group (because using the secondary group's title means overriding the primary group, which we don't want to do).

    We want all members of the secondary group to display this rank, so we've set the rank to display "always" (instead of displaying if displayusergroup == this group). And the "Can override primary group title/markup" setting for the secondary usergroup is set to "No".

    OK so far.

    A member successfully submits a request to join the secondary group. At that point his profile still displays the secondary group in the "Joinable Groups" table with a note that "You requested to join this group..."

    Still OK

    Once the user's request to join the secondary group is approved, things start to get a little sticky.

    The secondary group is properly listed in his Group Memberships table (which is what I expect). HOWEVER it is not listed in the table titled "You may choose to be identified as a member of the following groups". Indeed, there is no such table if this is the only secondary group the user has signed up for. I assume this is because the "Can override primary group title/markup" setting for this secondary group is set to "No".

    Furthermore, the secondary group's rank never shows up in the user's profile or posts...UNLESS there is (a) another secondary user group with a "Can override primary group title/markup" setting of YES" and (b) the user clicks the "Update Profile" button in the resulting "You may choose to be identified as a member of the following groups" table. This works EVEN THOUGH the particular secondary usergroup described above (the one with no "override") is not listed in this table.

    An alternate that seems to work is the brute force "Update User Titles and Ranks" in the ACP > Maintenance > Update Counters page.

    Is this how it is supposed to work? The user has no way to get their rank displayed, except as an unintended consequence of another usergroup setting? Or the Admin has to brute force update all titles to fix one member's missing rank? Am I missing something?

    Please help. My brain hurts from all this.

  • #2
    The user rank should be automatically displayed when the user is accepted to that usergroup.

    If this is not happening for any reason then it is possible that this is due to a modification that you have made to your site.

    Please reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    Next, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?
    Kerry-Anne :)

    Twitter Blog

    www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

    Comment

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