Skip to content

Commit 6a10f53

Browse files
committed
new popup
1 parent 394ff24 commit 6a10f53

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Core.lua

+7-5
Original file line numberDiff line numberDiff line change
@@ -1875,6 +1875,7 @@ function addon:OnInitialize()
18751875
LFGMsgGearType = 3,
18761876
defaultLFGModeOn = false,
18771877
showedv160InfoPopup = false,
1878+
18781879
--Auto Response Types:
18791880
-- 1 : Respond to Global Friends, but only when You are in Town
18801881
-- 2 : Respond to Local Friends & Guildies, but only when You are in Town
@@ -1948,6 +1949,7 @@ function addon:OnInitialize()
19481949
gearSummaryTooltips = true,
19491950
charSheetGear = true,
19501951
announceInstanceReset = true,
1952+
showedv161InfoPopup = false,
19511953
}
19521954
}
19531955

@@ -2829,11 +2831,11 @@ function addon.SetupConfig()
28292831
addon.db.global.lastServer = currentServer
28302832

28312833

2832-
if not addon.db.char.showedv160InfoPopup then
2833-
addon.db.char.showedv160InfoPopup = true
2834+
if not addon.db.global.showedv161InfoPopup then
2835+
addon.db.global.showedv161InfoPopup = true
28342836
local PopupFrame = nil
28352837
local POPUP_WINDOW_WIDTH = 400
2836-
local POPUP_WINDOW_HEIGHT = 400
2838+
local POPUP_WINDOW_HEIGHT = 450
28372839
PopupFrame = CreateFrame("Frame", "GroupiePopUp", UIParent, "PortraitFrameTemplate")
28382840
PopupFrame:Hide()
28392841
PopupFrame:SetFrameStrata("DIALOG")
@@ -2867,12 +2869,12 @@ function addon.SetupConfig()
28672869
local PopupGroupieTitle = PopupFrame:CreateFontString("FontString", "OVERLAY", "GameFontNormalMed1")
28682870
PopupGroupieTitle:SetPoint("TOP", PopupFrame, "TOP", 0, -36)
28692871
PopupGroupieTitle:SetWidth(POPUP_WINDOW_WIDTH - 32)
2870-
PopupGroupieTitle:SetText("Groupie 1.60")
2872+
PopupGroupieTitle:SetText("Groupie 1.61")
28712873
--Info Text
28722874
local PopupMsg = PopupFrame:CreateFontString("FontString", "OVERLAY", "GameFontHighlight")
28732875
PopupMsg:SetPoint("TOPLEFT", PopupFrame, "TOPLEFT", 16, -64)
28742876
PopupMsg:SetWidth(POPUP_WINDOW_WIDTH - 32)
2875-
PopupMsg:SetText("Hola Amigo, we've got some changes for you.\n\n1) LFG Auto-Response is a new feature that responds to your Friends and Guildies when they create 5-man groups. It's enabled by default. To turn it off, or change what sort of groups it responds to, check out the Options Interface. You can also toggle LFG Auto Response by Right Clicking on the Groupie Mini-map Icon.\n\n2) We've re-worked the \"challenge\" messages when you're being invited to a group, or someone requests to join your group. By default, we've disabled these messages when someone invites you, and kept on the \"What role are you?...\" messages when someone requests to join your group. These messages don't fire at all when someone messages you before inviting or requesting to join, and you can tweak the behavior in the Options Interface.\n\nCheers!")
2877+
PopupMsg:SetText("LFG Auto-Response has been Disabled by default on Start-up; to Enable it just Right click the Groupie Mini-map Icon.\n\nFixed a few other bugs.\n---\nGroupie 1.60\n\nHola Amigo, we've got some changes for you.\n\n1) LFG Auto-Response is a new feature that responds to your Friends and Guildies when they create 5-man groups. It's enabled by default. To turn it off, or change what sort of groups it responds to, check out the Options Interface. You can also toggle LFG Auto Response by Right Clicking on the Groupie Mini-map Icon.\n\n2) We've re-worked the \"challenge\" messages when you're being invited to a group, or someone requests to join your group. By default, we've disabled these messages when someone invites you, and kept on the \"What role are you?...\" messages when someone requests to join your group. These messages don't fire at all when someone messages you before inviting or requesting to join, and you can tweak the behavior in the Options Interface.\n\nCheers!")
28762878
PopupMsg:SetJustifyH("LEFT")
28772879
--Edit Box for Discord Link
28782880
local PopupEditBox = CreateFrame("EditBox", "GroupieEditBoxPopup", PopupFrame, "InputBoxTemplate")

0 commit comments

Comments
 (0)