aMSN Forums
May 21, 2013, 11:58:26 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1] 2 3 4
  Print  
Author Topic: search contact plugin  (Read 33634 times)
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« on: April 26, 2007, 06:32:28 pm »

hi, i'm writing a search contact feature in actionsmenu plugin...

to dev , i'm using ::abook::getAllContacts but it give back an array name can you tell me a more convenient way to search the string with all user contact?

thanks....
Logged
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« Reply #1 on: April 29, 2007, 01:16:57 pm »

okay... it seems to work, need testers
Please post here suggestions or bugs, thanks!

Actionsmenu+Search >> http://www.savefile.com/files/1123412
Logged
ekz
Power user
*
Offline Offline

Posts: 64



View Profile WWW
« Reply #2 on: April 29, 2007, 07:13:16 pm »

Quote from: "takeshi81"
okay... it seems to work, need testers
Please post here suggestions or bugs, thanks!

Actionsmenu+Search >> http://www.savefile.com/files/677471


Works fine! , but  when i press the button to hide, never back until i go to plugins selector and it re-enable the plugin.. (yesterday svn)

Suggestion: can configure what items are showed in the actions menu

Sorry for my english!!
SAludos
Logged

Pero no todo estaba perdido, porque de las cenizas
surgió un gran pájaro. El pájaro contempló a los
incrédulos y lanzó fuego y truenos sobre ellos.
Porque la bestia había renacido con su fuerza renovada...
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« Reply #3 on: April 29, 2007, 08:30:57 pm »

yes i know.. it's not implemented yet !
Logged
dave_p_b
Newbie

Offline Offline

Posts: 42


View Profile
« Reply #4 on: May 13, 2007, 02:17:03 am »

Hi

I like this actions menu.  It fits in nice with the new default theme.  The only question I've got is about how the search part decides what it is going to display as it's results.

For example, I have the contact shown below in my current contacts list:
andyjury@abcdef.com

Now, when I do a search for the word "andy" it comes back with only one result:
sandyanncarter@abcdef.com

This email address isn't even in my list anymore either  :?

Basically, it keeps on returning contacts that I deleted from my list months ago and it seems to ignore some obvious choices that are in my current contacts list. (as above)

Any help much appreciated.

Thanks

Dave
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #5 on: May 13, 2007, 05:04:45 am »

it's probably searching in ALL contacts, in other words, the lists for who are in your CL, or in your RL (those who have you on THEIR list) or the blocked list (even if deleted) or allowed list. look for this sandyanncarter@abcdef.com in your 4 lists. You can find them in the 'privacy' tab of the preferences window.
Logged

KaKaRoTo
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #6 on: May 13, 2007, 08:46:12 am »

Hi takeshi81
I fixed and added something.
If you want i can send a diff file, or i can upload a version if you are not working on this plugin.
Logged
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« Reply #7 on: May 13, 2007, 01:57:13 pm »

post here the diff  so i can update the plugin...
Logged
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #8 on: May 13, 2007, 08:36:35 pm »

Hi Takeshi81 ^___^
I don't want to flood, so I uploaded the difference here: http://pastebin.ca/486116 (deadline: 3 days)

anyway:
*fixed: now we show only user present in our contact list;
*added: a combobox to search in: email, nick or both;
*added: a combobox to show result as: emal or nick.

I believe that this plugin can be useful, and if we'll complete it i'd like to see this plugin as default plugin.

This is a little todo:
*add translation system
*add a right-menu when we click on a result

What do you think about?
Thanks, bye Smiley
Logged
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« Reply #9 on: May 13, 2007, 09:45:53 pm »

ok, i'll check out that.....

about todo :

amsn provide a translation system but there are some keyword missing... (for italian language... there are 21 language translation in amsn)

right menu could be useful but i was thinking to fix the way to update the plugin first..
Logged
takeshi81
Power user
*
Offline Offline

Posts: 113


View Profile
« Reply #10 on: May 13, 2007, 11:52:34 pm »

Plugin has been updated, thanks to square87 for more refined search results...
Logged
xoan
Power user
*
Offline Offline

Posts: 99



View Profile WWW
« Reply #11 on: May 14, 2007, 02:29:59 am »

Quote from: "takeshi81"
ok, i'll check out that.....

about todo :

amsn provide a translation system but there are some keyword missing... (for italian language... there are 21 language translation in amsn)

right menu could be useful but i was thinking to fix the way to update the plugin first..

Translation system for plugins is explained in http://amsn.sourceforge.net/devwiki/tiki-index.php?page=Plugin+developer+Guide (you can add necessary keywords for your plugin). In the same page it's explained also how to make your plugin for auto-updating.
Logged
dave_p_b
Newbie

Offline Offline

Posts: 42


View Profile
« Reply #12 on: May 14, 2007, 02:36:27 am »

Thanks

The new version of the plugin works great.

Cheers

Dave
Logged
ekz
Power user
*
Offline Offline

Posts: 64



View Profile WWW
« Reply #13 on: May 14, 2007, 04:10:19 am »

Quote

The new version of the plugin works great.

yes! Cheesy


sugg:

*start the menu in mini-mode at amsn startup
*show contacts like  "  blablabblablaaa... <mail@mail.org>  "  (truncate nick if is too long)

Thanks!

SAludos!

(sorry for my english! Smiley)
Logged

Pero no todo estaba perdido, porque de las cenizas
surgió un gran pájaro. El pájaro contempló a los
incrédulos y lanzó fuego y truenos sobre ellos.
Porque la bestia había renacido con su fuerza renovada...
dave_p_b
Newbie

Offline Offline

Posts: 42


View Profile
« Reply #14 on: May 14, 2007, 04:33:19 am »

Hi

Another suggestions would be in the Search box place "all" as default and in the show box place "email" as default.  Then I wouldn't have to choose them each time.  Just me being lazy  :wink:

Cheers

Dave
Logged
Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!