![]() |
Ran into a problem with usergroups.
Primary usergroup for all new members (including Steam Connect) is: usergroup1 Steam Connect users are added to a secondary usergroup: Steam Users We have multiple membership plans which move members to different primary usergroups. If a "Steam" user upgrades their account, their primary usergroup is changed. However when the Steam Connect cache time expires, it reacquires their Steam info, but then changes their primary usergroup back to the default usergroup (usergroup1). Increasing cache time to a very large number will solve this, but then their info will never update. Is there a way that the primary usergroup change can be disabled after the Steam users registers for the first time? Update: I doesn't appear to be the cache time. I set it for 90 days, but members are still being removed from their upgraded usergroups and are being move back to the default usergroup1. Any ideas? |
Your get_user_steamid() is broken. user info doesn't include steam_link even though it is in the database. If you provide get_user_steamid() with no params then you will always get a return false because of this.
|
Possibility of port to vb5?
|
I doubt it. vB5 is not made to be mod friendly.
|
Using 4.2.2.
I commented out this line from the Steam Connect cron job and it solved the problem. Code:
$finishat = update_user_steamgroup_assoc(null, null, 1, 1, 1); |
Glad to hear you came up with a solution to your issue mikez006. :)
|
Quote:
|
Quote:
|
By the way, this is how I tackle the issue with non-Steam avatars not showing up using the method outlined previously in this thread. I'm sure the code isn't proper and I'm no programmer but this works for me.
PHP Code:
|
Quote:
|
All times are GMT. The time now is 04:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|