bbGuild 2.0.0-rc4
Pre-release
Pre-release
·
134 commits
to main
since this release
- [CHG] ACP restructured: new Game settings category (
ACP_BBGUILD_GAMESETTINGS) under the bbGuild menu (positioned right after General Settings), and the Game List module moved into it out of General Settings. Migrationv200rc4creates the category and re-parents the module on existing installs (fresh installs get the same result via the normal migration chain). bbguildwow rc2 moves its BattleNet API module into the same category. Category label added for all 7 languages. - [FIX] The region selected on a game's ACP settings page (e.g. WoW: America / Europe / Korea …) was silently discarded on save and always reverted to the stored default (#357) —
SaveGameSettings()read every other field but never the region dropdown, sosetRegion()was never called beforeupdate_game(). The region is now persisted. - [FIX] A Battle.net armory sync could leave the ACP/frontend showing a week-stale guild row —
guilds::get_guild()cached its per-guild read for 7 days, butupdate_guild_battleNet()writesbb_guilddirectly with no cache-destroy, so the stale row (faction, roster flag, player count) survived until the cache expired. This primary-key read is no longer cached. - [FIX] ACP guild update failed with "Cannot modify header information — headers already sent" when the message-of-the-day field was left empty (#28) — the empty MOTD was still run through
generate_text_for_storage(), whose empty-message branch references the posting-onlyTOO_FEW_CHARSlanguage key (not loaded in the ACP); on PHP 8 withdisplay_errorson, the resulting "Undefined array key" warning printed before the ACP headers and corrupted the response. The message parser is now skipped entirely when the MOTD is empty (an empty MOTD is valid). - [FIX] Faction dropdown on the ACP edit-guild form snapped to the last option (Horde) whenever the game dropdown was changed (#29) — the AJAX faction rebuild created every
<option>withdefaultSelected = true, so the last one always won the selection; now created withdefaultSelected = false - [CHG] Default minimum roster level lowered from 50 to 1 — 50 hid every guild member below that level from the roster (both at Battle.net sync time and at display time), too high a floor for a default. New installs seed 1 so all members are visible out of the box; existing installs keep their configured value and the setting stays adjustable in the ACP.