Miranda IM

Go Back   Miranda IM - Forums > Development > Plugins

Plugins For plugin developers and related discussion

Reply
 
Thread Tools Display Modes

  #1  
Old 1 Dec 2005, 2:00 PM
pescuma pescuma is offline
Miranda Grand Master
 
Join Date: July 2005
Location: Brasil
Posts: 2,691
My Details plugin

I'm releasing a new plugin. It shows, in a frame, your current avatar, nickname and away message in a per protocol basis. It shows each protocol at a time, cicling throught then.

What it does:
- Show your current configuration, per protocol, for avatar, nickname, status and away message
- Allows to set nickname (per protocol or for all protocols) and away messages (per protocol or for all protocols or - need NewAwaySystem, SimpleAway or core module)

To request support to other away system: If someone wants to use another away system, please request in its thread to add support for 2 services:
1. Get current status message for a protocol, given its name
2. Set current status message for a protocol, given its name and the message

Some comments:
1. SimpleAway does not show a dialog to set a message for all protocols. Someones it does not show the dialog (I requested it in the thread http://forums.miranda-im.org/showthread.php?p=47157).
2. For core away system, only some protocols works (probabily the same as SimpleAway). But for the ones that it works, the message in the frame is the old message. I know, it suck... But if you use ersatz plugin this problem doesn't happen: http://pescuma.org/miranda/ersatz.zip
3. To allow setting avatar, a protocol must implement the services in http://forums.miranda-im.org/showthread.php?t=5583

TODO:
------------------

- Global page
- Add custom presets
- Resize on mouse hover
- clist_modern_layered integration -> try this: http://forums.miranda-im.org/showthread.php?t=6597
- New drawing code (please, do not request things like order of items or spacing, it is in TODO list, but will take time to be made)
- Options to XStatus setup
- Icons instead of ... on mouse over
- Options to show/hide itens
- Try to use Deathdemon's code to check protocol status message change
- Cicle thorught not offline protocols only


Dependencies:
------------------

- If you want integration with clist, an frame enabled clist, such as clist_modern_mod, clist_modern_layered or clist_nicer+. With clist_modern_mod it has integration to draw custom backgrounds (I wonder why :P )
- To draw and set avatars, Avatar service (latest version)
- Away systens supported: Core, NewAwaySystem or SimpleAway


Issues:
------------------
Please report problems at http://code.google.com/p/pescuma/issues/list

To report bugs, please add the pdb to the plugins folder.


Download:
------------------
DLL: http://pescuma.org/miranda/mydetails.zip

Source: SVN at https://developer.berlios.de/projects/mgoodies/


Changelog:
------------------

Code:
. 0.0.1.10
  + Added arrows to change protocols (Drugwash patch)
  * Use icolib to show icons (uses listening to icon from contact list)

. 0.0.1.9
  + Created 2 services: MyDetails/HideFrame and MyDetails/ShowFrame
  * MyDetails/ShowHideMyDetails changed to work with frames too (it toggles the frame)

. 0.0.1.8
  * Fix for crash when using main menu options

. 0.1.0.7
  * Fix for crash when no protocol found
  + Added 2 keys to allow themes to show/hide frame: MyDetails\ForceHideFrame and MyDetails\ForceShowFrame (BYTE). Both are deleted after use.

. 0.0.1.6
  + Added uid for 0.8

. 0.0.1.5:
  + Added option to set status message per protocol

. 0.0.1.4
  * Fixed crash on protocol connection
  + Support for new version of ersatz

. 0.0.1.3
  + Support for ersatz plugin by TioDuke. When it is finished, status message will be shown correctly always :)

. 0.0.1.2
  + Added listening to info

. 0.0.1.1
  * Fix for crash on exit (thanks ghazan)
  - Removed clist modern mod support

. 0.0.1.0
  * Fix in call to NAS service
  + Ready to FL

. 0.0.0.42
  * Fixed code to open only one dialog
  + CTRL-Enter on status message dialog

. 0.0.0.41
  + Added support to new NAS services
  + Open only one dialog (for dialogs that t handles - does not include NAS / avs)
  * Bigger buffer for status messages
  + First release build (dll is 200k smaller)

. 0.0.0.40
  * Changed text [Top: ] to [Top:]
  + Added langpack_MyDetails.txt

. 0.0.0.39
  * Reverted to show menus on mouse up
  + Using miranda lists now. This version only works with newer versions of miranda
  * Fixed call to NAS with parsed variables

. 0.0.0.38
  * Fix for international languages
  + Translateble options dialog
  + Show some menus on key down (but it still not work as desired, i'll have to figure it)

. 0.0.0.37
  * Bugfix in status menu
  + Better support for updater

. 0.0.0.36
  + Change to better support NAS
  + Change to know when info changed (may flick a little less the screen and the tooltip, but may be losing changes)

. 0.0.0.35
  + Try to discover the default nick
  + Global on avatar
  * Fixed order of fields in options dialog
  - Removed avs and folders from zip (first one is in latest nightly)

. 0.0.0.34
  * Fixed issue with mTooltip
  + Changed tooltip timeout to 10h (is it long enougth? :P )

. 0.0.0.33
  + Added timer to refresh status messages. It isnt in options dialog, but can be changed at DB, in key MyDetails\RefreshStatusMessageTimer (0 disables it, default to 12 s)
  * Fixed input box in set my nickname

. 0.0.0.32
  * Fix for crash on startup
  * Fix for drawing function

. 0.0.0.31
  * Fix for status message with NAS

. 0.0.0.30
  * Try to fix bug when setting name (Again)
  * Fix for multi line in status message and nickname
  + Setting to call global functions on left click
  + Calling service to get max nickname length from protocol (no proto support it right now)

. 0.0.0.29
  * Fix in status message code

. 0.0.0.28
  + Multiline popup
  + More options in context menu
  * Try to fix bug when setting name

. 0.0.0.27
  + Better support for core away system (it set the message in the DB, inside SRAway module)

. 0.0.0.26
  + Added tooltips
  + Added background collor
  + Added XStatus support
  + Added in the zip: avatar service (unicode and non-unicode) and folder service

. 0.0.0.25
  + Added support to set avatars (needs modified version of avatar service - is inside zip)
  + Added in the zip: avatar service and folder service

. 0.0.0.23
  * Bugfix in new status menu code

. 0.0.0.22
  + Using clist status menus when possible (this should add support to all away system always)
  + Show global status menu on right click
  * Fixed space in status

PS: What I mean by "this should add support to all away system always" is that, when changing a status, all away systens will be notified to take actions acording (including showing a window to set the status message). The status message shown inside the frame still have the same problens (only work with NAS / sometimes with SimpleAway)

. 0.0.0.21
  * Bugfixes

. 0.0.0.20
  + Compatibility with KeepStatus -> code is too ugly :'(
  + Show status messages only for supported statuses
  + Show SimpleAway dialog only to supported protocols

. 0.0.0.19
  + Better support to SimpleAway
  + Set what protocol to show by clicking in proto name
  * Bug fixes

. 0.0.0.18
  + Set status message after status change (should work with gadu-gadu, but it isn't the best solution at all)

. 0.0.0.17
  + Popups with more actions
  + Option to grow avatar
  + An attempt to set status messages withou NAS

. 0.0.0.16
  * Fixed leak of GDI objects
  * Fixed resizing of avatar

. 0.0.0.15
  * Bug fixes

. 0.0.0.14
  + Resize frame
  + Use space bellow avatar

. 0.0.0.13
  - Change to try to get more updates from status message changes
  * Fix in avatar refresh

. 0.0.0.12
  * Updater works
  * Fix drawing protocol name

. 0.0.0.11
  * Fixed bug on drawing status name
  + Added custom avatar size
  + Will not cicle when changing status

. 0.0.0.9
  * Fixed crash on Set My Nickname from status menu
  + Added cache to data (should draw faster, but have to see if the data shown is correct)
  + Added visual things
  + Option to set status
  - Changed to set things with left click of mouse

. 0.0.0.7
  * Fix in NAS fetching code (again)

. 0.0.0.6
  * Fix in NAS fetching code
  + RTL
  + Smileys

. 0.0.0.5
  + Added option dialog
  + Added option to not cicle throught protocols

Last edited by pescuma; 3 Dec 2009 at 12:50 PM.
Reply With Quote

  #2  
Old 1 Dec 2005, 5:26 PM
Angeli-Ka Angeli-Ka is offline
Miranda Moderator
 
Join Date: March 2005
Location: Constanta, Romania
Posts: 829
very nice plugin, now I have 2 questions
1- How to stop it from cycling? (is a bit annoying)I'd like to choose what protocol to see (maybe cycle trough them not automatically but on ... mouse click)
2- Now to get rid of borders and round corners ?

I went trough all avatar related settings in My Miranda, and didn't found it.
Reply With Quote

  #3  
Old 1 Dec 2005, 9:44 PM
pescuma pescuma is offline
Miranda Grand Master
 
Join Date: July 2005
Location: Brasil
Posts: 2,691
Well, you just cant do it now... It does not have option pages yet... It is the next thing I'll add.

About cicling, I'll add it to the todo list
Reply With Quote

  #4  
Old 1 Dec 2005, 9:52 PM
Angeli-Ka Angeli-Ka is offline
Miranda Moderator
 
Join Date: March 2005
Location: Constanta, Romania
Posts: 829
OK then, I'll try to be patient ;)
It will be great if settings for this frame appearance will be like "tooltip look" it Tooltip options.
Reply With Quote

  #5  
Old 1 Dec 2005, 11:52 PM
pescuma pescuma is offline
Miranda Grand Master
 
Join Date: July 2005
Location: Brasil
Posts: 2,691
New version

Changelog:

. 0.0.0.5
+ Added option dialog
+ Added option to not cicle throught protocols
Reply With Quote

  #6  
Old 1 Dec 2005, 11:56 PM
pescuma pescuma is offline
Miranda Grand Master
 
Join Date: July 2005
Location: Brasil
Posts: 2,691
Quote:
Originally Posted by Angeli-Ka
OK then, I'll try to be patient ;)
It will be great if settings for this frame appearance will be like "tooltip look" it Tooltip options.
I intend to add support for clist modern layered to set things like colors and such... But you can set fonts with Font Service and now the avatar border color

(And background with clist modern mod)
Reply With Quote

  #7  
Old 2 Dec 2005, 12:29 AM
Chip Chip is offline
Rookie
 
Join Date: April 2005
Posts: 7
What took you so long?

This is really useful! Thanks for making a c-list related plug-in that still works on win 9x. Could you make it word wrap?

Last edited by Chip; 2 Dec 2005 at 12:33 AM.
Reply With Quote

  #8  
Old 2 Dec 2005, 12:34 AM
Thief Thief is offline
Miranda Moderator
 
Join Date: September 2005
Location: Houston, Ukraine
Posts: 460
nice plug :) can I request displaying of x-status message? ^^
Reply With Quote

  #9  
Old 2 Dec 2005, 11:32 AM
Angeli-Ka Angeli-Ka is offline
Miranda Moderator
 
Join Date: March 2005
Location: Constanta, Romania
Posts: 829
How about an option:
Take all avatar (alignment, size), protocol icon, status(or status message, or Xstras status/message) showing on 2-nd, 3-rd row options from clist_modern.
And.. there is a lot of unused space in frame when avatars top and left borders are = 1(and where is 0 ? ). I think moving status message under avatar will be more convenient.
Reply With Quote

  #10  
Old 2 Dec 2005, 11:57 AM
pescuma pescuma is offline
Miranda Grand Master
 
Join Date: July 2005
Location: Brasil
Posts: 2,691
@ Chip:

Wordwrap won't be done because I intend to add smileys and RTL adding both + wordwrap is almost impossible (or at least I would go crazy before I could finish coding it)


@ Thief

Ok, on TODO list


@ Angeli-Ka

Well, I don't know if it is a good idea to copy this from clsit_modern, but I can add this option once I make the lines configurable.

About the border, it goes to the hole frame, and not to the avatar. The avatar is allways at the top left corner of the usable frame smape (the one without the borders)... But I think I have to make it better, sometimes it does not seens very well. Sugestions?
Reply With Quote
Reply

Bookmarks

Tags
avatar, contact list, ersatz, frames, my details, nick, status, status message

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[resolved] My Details plugin: blurry text DIGITALIS Customisation 3 10 Dec 2008 6:15 PM
My Details Plugin in thin clist neutral Help & Support 5 20 Sep 2008 8:24 PM
[resolved] My Details plugin z3zm4n Help & Support 12 19 Jun 2008 2:12 AM
IVT details.. mikebeecham Customisation 1 5 Oct 2007 5:25 PM
aim user details patrick.neville Customisation 1 13 Jan 2006 5:38 PM



All times are GMT +1. The time now is 7:52 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.