Download
(3Kb)
Download
Updated: 06-29-11 12:48 PM
Pictures
File Info
Updated:06-29-11 12:48 PM
Created:07-02-10 07:33 PM
Downloads:3,750
Favorites:44
MD5:

Moniker

Version: 1.5.1
by: Chrippa [More]

Moniker is a very simple AddOn that lets you rename your RealID friends! Simply set a note of your friend and it will be displayed instead of the nickname whenever possible.
Sadly this addon does not replace all real names with nicknames due to limitations set by Blizzard, but the friends list, chat messages and toasts should work.

Note about 4.0.1 update!
Blizzard made some changes that prevents addons from accessing the real name of your friends, therefore the addon had to be signifigantly altered.

- Nicknames can now only be stored in notes instead of Saved Variables.
- Many frames that showed the nickname before is now only able to display the real name.


For addon authors!
If you want to integrate nicknames into your addon you can use the following functions instead of their Blizzard equivalent:

Moniker_BNGetFriendInfo
Moniker_BNGetFriendInfoByID

Here is a simple example:

Code:
local BNGetFriendInfo = Moniker_BNGetFriendInfo or BNGetFriendInfo
local pid, firstname, surename = BNGetFriendInfo(i)
But be aware that this will return clear text nickname and not a special Blizzard string.

commit 978cc4b45a875fe42e7462f5bcd58539e0d11450
Author: Christopher Rosell <[email protected]>
Date: Wed Jun 29 20:33:19 2011 +0200

Use string.gsub instead of string.replace.

commit 4bce7d9abf2b82f9142bd60f9e53c7e04e006106
Author: Christopher Rosell
Date: Fri Oct 15 21:51:47 2010 +0200

Updated for 4.0.1.

Blizzard made some changes that prevents addons from
accessing the real name of the friends, therefore the
addon had to be signifigantly altered.

- Nicknames can now only be stored in notes instead of SV.
- Many frames that showed the nickname is only able to display
the real name.

commit b7287741c53e8ac1e377daedaca585ba9e51cb1d
Author: Christopher Rosell
Date: Sat Oct 9 18:55:10 2010 +0200

- Fix tainted function call.
- Added Moniker_BNGetFriendInfo() and Moniker_BNGetFriendInfoByID() for
addons that wish to be nickname aware.

commit d7864988b63eaa9c4704fd65852e58efa87c0673
Author: Christopher Rosell
Date: Wed Jul 14 21:28:44 2010 +0200

Add option to use notes as nicknames.

commit bf534e2cee373acc8c98d5db063ea90f66e58d86
Author: Christopher Rosell
Date: Wed Jul 7 16:28:41 2010 +0200

* Delay hooking a bit.
* Fix bug caused by names with dashes.

commit 0e030ef3fe543bb1d84cb65fdba02b4b52f93075
Author: Christopher Rosell
Date: Mon Jul 5 03:17:51 2010 +0200

Fix addon incompatibilities caused by setfenv.

commit 510e1994d5426485a250a60d52549ae022c46e04
Author: Christopher Rosell
Date: Sun Jul 4 16:26:18 2010 +0200

Add editbox whisper hook.

commit 693a91a82c77e4f735058faa74bb8befd12fdd2d
Author: Christopher Rosell
Date: Sat Jul 3 23:31:44 2010 +0200

Do a bit safer hooking and add support for chat messages.

commit 9edf3ffe3201cd08ddce7654fb7bce213eda6044
Author: Christopher Rosell
Date: Sat Jul 3 03:30:31 2010 +0200

Initial commit.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.65
3kB
09-04-12 03:32 PM
Patch


Post A Reply Comment Options
Unread 07-04-10, 01:40 AM  
mornaistar
A Deviate Faerie Dragon
 
mornaistar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 49
Uploads: 2
for some reason, when i click rename now, nothing happens , it used to work with the 1st version
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 09:18 PM  
akasha1337
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
is it possible to color the name in the chatlog with their class color?
Last edited by akasha1337 : 07-03-10 at 09:19 PM.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 07:51 PM  
mornaistar
A Deviate Faerie Dragon
 
mornaistar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 49
Uploads: 2
I was looking forward to something just like this

Really hate too see my realid friends real names, way easier to spot them with their real life nicknames


/salute

keep up the good work
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 07:05 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Originally posted by Chrippa
Thanks for your bug reports, I clearly didn't test it much before uploading. :P



Are you talking about the box when you press tab in the editbox? Don't think I can do that without breaking whispering.
I mean the edit polish box, the box when you press enter :P

example:

[Someonesname: Hey how are you]

and possibly change it to:

[charnametheyarecurrentlyon: Hey how are you]
Last edited by Ferous : 07-03-10 at 07:05 PM.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 04:50 PM  
mrruben5
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
w00t! excellent AddOn I must install on my sister's computer to play pranks on her I'll rename myself to something funny :P
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07-03-10, 03:35 PM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Thanks for your bug reports, I clearly didn't test it much before uploading. :P


Originally posted by Ferous
Is there anyway you can change the name in the edit polish box?
Are you talking about the box when you press tab in the editbox? Don't think I can do that without breaking whispering.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 05:27 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Is there anyway you can change the name in the edit polish box?
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 01:58 AM  
akasha1337
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
yeah will be nice to just changing the display name without changing anything else.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 01:48 AM  
vlakarados
An Aku'mai Servant
 
vlakarados's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 145
Uploads: 5
it's a nice addon, but there is a bug that makes this addon unusable - when you try to whisper to the friend you renaimed, it tries to whisper by the name you have written. Not by the realid, not by the character's name

edit: oops, it has been mentioned already, forgot to refresh
Last edited by vlakarados : 07-03-10 at 01:49 AM.
Report comment to moderator  
Reply With Quote
Unread 07-03-10, 01:13 AM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
thanks alot for this addon, dude
but i cant whisper my real id friends, after renaming them
Last edited by Gallahead : 07-03-10 at 01:21 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: