Quantcast WoWInterface - View Single Post - selfie camera
Thread: selfie camera
View Single Post
03-01-15, 09:03 AM   #4
Jarod24
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 66
Known issue since patch 6.1

Blizzard added stuff that requires a taint-free approach to hooking "ChatFrame_OnHyperlinkShow".

The solution i used in my own addon was to:
1. Post-hook "ChatFrame_OnHyperlinkShow" (hooksecurefunc).
2. Pre-hook ItemRefTooltip:SetHyperlink(), adding some code that returns nil if the hyperlink in question matches that what my addon uses internally (i.e |cffffff|Hmycustomtype:data:data:data|h|r).

If you want to use the twitter-feature you can also just type "/share" in chat (don't know if customized UI messes things up).
__________________
Author of IfThen, Links in Chat
  Reply With Quote