yeah well my 'fix' was to do :
if {default profile } {
   delete ~/.amsn/plugins.xml
}
to make sure we don't save anything and we remove any previously saved info. 
This is also the only solution I found for the problem of having 'winks' 
enabled for new profiles. If you're an 
amsn user and were using 0.96, theen you probably already have your list of 
loaded plugins in the default 
profile, so when you create a new, it just 'inherits' the plugins from the 
default profile, so you get nudge, 
cam shooter, etc.. but not winks, and we can't enable it by force because what 
if someone disabled it on purpose 
from the default profile to prevent it from being loaded... 
anyways, we could do special code in the 'CreateProfile' proc instead of doing 
it in load_config...

Anyways, Mirko, your idea is really good, I like that, problem is that there 
are too many plugins to maintain if 
we want to do this... But I'll see if we can still use this solution!

KKRT


On Thu, May 24, 2007 at 12:51:53PM +0200, Boris Faure (aka billiob) wrote:
> Isn't it possible to write the config of the plugins directly in
> ~/.amsn/plugins.xml
> That should be enough. Be a user will be able to change this file in
> order to load/unload plugins he wants.
> 
> 
> On 5/24/07, Mirko Hansen <[EMAIL PROTECTED]> wrote:
> > maybe it would be useful to add a flag to the plugininfo.xml whether this
> > plugin may be used in non-profile-mode or not. those plugins like pop3 or
> > gnotify will not be flagged, so they may be enabled only in profile mode,
> > and plugins like nudge, winks, inkdraw, webcam shooter, amsn plus may be
> > used also in non-profile-mode.
> >
> > Greetings,
> > Mirko
> >
> >
> > 2007/5/24, Karel Demeyer <[EMAIL PROTECTED]>:
> > > Now I think there really should be a way to enable some plugins for in
> > > example an internet café.  If I had an internet café I would want to
> > > have some plugins, like the winks and draw plugin loaded so my
> > > customers have this features.  They are not gonna look for plugins to
> > > find those, you know. Same for in other places;  if I want a friend to
> > > use my PC to log in on aMSN; it's a bad thing if I have to say "now,
> > > you're logged in now, let me do some things (enable plugins) to make
> > > the experience full" before he can start chatting and asks where the
> > > winks button is.
> > >
> > > Karel.
> > >
> > > 2007/5/24, Gustavo A. Díaz <[EMAIL PROTECTED]>:
> > > > But if people use amsn in a Cyber Café or Internet places? You don't set
> > up
> > > > a profile there...
> > > >
> > > > Is why i said about having a option to enable/disable this....
> > > >
> > > > 2007/5/23, Karel Demeyer < [EMAIL PROTECTED]>:
> > > > >
> > > > > I get the point here ... and I'm pro security so I really see why this
> > > > > feature got in.  I just thought "why not only have this when the
> > > > > "disable profiles" option is enabled and make this option more
> > > > > visible.    Don't turn this conversation on me, I'm fine with the way
> > > > > it is now as I personally use a profile, even if I'm the only user
> > > > > here.  I only wanted to say this as it came up on my mind.
> > > > >
> > > > > Karel.
> > > > >
> > > > > 2007/5/23, Bart Otten < [EMAIL PROTECTED] >:
> > > > > > +1 KKRT. Nothing to say to extend his opinion.
> > > > > >
> > > > > > Op Wednesday 23 May 2007 02:06:11 schreef Youness Alaoui:
> > > > > > > why not simply create a profile ???
> > > > > > > and I don't like talk like that, first this is forums material,
> > but I
> > > > > > > didn't want to say anything about you posting it here, but I don't
> > > > like
> > > > > > > people saying "I can't continue using amsn anymore", I hope it's a
> > > > > > > misunderstanding.
> > > > > > >
> > > > > > > KKRT
> > > > > > >
> > > > > > > On Tue, May 22, 2007 at 09:02:22PM -0300, Gustavo A. Díaz wrote:
> > > > > > > > Ok... then i can't continue using amsn anymore... and yes i use
> > many
> > > > > > > > plugins by default: chameleon, music, Desktop Integration, Ink,
> > etc
> > > > > > > > etc...
> > > > > > > >
> > > > > > > > Theres must be a workaraound... or something... other case is
> > > > useless for
> > > > > > > > me and for my place where i work.
> > > > > > > >
> > > > > > > > Cheers.
> > > > > > > >
> > > > > > > > 2007/5/22, Youness Alaoui < [EMAIL PROTECTED]>:
> > > > > > > > >for security reasons, it is better to not save any plugin
> > > > information,
> > > > > > > > >because this will not only conflict with
> > > > > > > > >amsn's default plugins (for example, the new 'winks' plugin,
> > how do
> > > > you
> > > > > > > > >want us to have it enabled if you
> > > > > > > > >already chose your plugins for default profile ?).
> > > > > > > > >Mainly, what if you use pop3 plugin or gnotify in default
> > profile ?
> > > > it
> > > > > > > > >would mean ANYONE accessing the PC can
> > > > > > > > >connect with his account and with a single click get access to
> > your
> > > > > > > > > gmail account or read your pop3 emails ?
> > > > > > > > >what about other plugins ? also, what if two users have the
> > same
> > > > pc, no
> > > > > > > > >profiles, user A wants plugin X and
> > > > > > > > >enables it everytime and user B doesn't want plugin X and
> > disables
> > > > it
> > > > > > > > >everytime ?
> > > > > > > > >it's a SECURITY ISSUE/FEATURE. If you want to log your
> > > > conversations or
> > > > > > > > >use plugins then you MUST create a
> > > > > > > > >profile
> > > > > > > > >
> > > > > > > > >KKRT
> > > > > > > > >
> > > > > > > > >On Tue, May 22, 2007 at 06:52:56PM -0300, Gustavo A. Díaz
> > wrote:
> > > > > > > > >> Hi!!
> > > > > > > > >>
> > > > > > > > >>   I have a real problem now that Plugins configuration is not
> > > > saved on
> > > > > > > > >> a Default Profile... and here at my work i have 10 computers
> > with
> > > > > > > > >> default profile. I do not use a profile, only the default one
> > > > with
> > > > > > > > >> some plugins enabled. So, now every time i start amsn i must
> > > > configure
> > > > > > > > >> all the
> > > > > > > > >
> > > > > > > > >plugins i
> > > > > > > > >
> > > > > > > > >> used to have enabled... and is very annoying... I think there
> > > > must be
> > > > > > > > >> a option to enable/disable this "feature". Plus i agree with
> > this
> > > > to
> > > > > > > > >> not change the default profile plugins conf., is useless when
> > you
> > > > want
> > > > > > > > >> some plugins enabled by default for every profiles...
> > > > > > > > >>
> > > > > > > > >> Is there any workaround?
> > > > > > > > >>
> > > > > > > > >> Cheers.
> > > > > > > > >>
> > > > > > > > >> --
> > > > > > > > >> [GuS]
> > > > > > > > >
> > > > > > > >
> > > >
> > >------------------------------------------------------------------------
> > > > > > > > >-
> > > > > > > > >
> > > > > > > > >> This SF.net email is sponsored by DB2 Express
> > > > > > > > >> Download DB2 Express C - the FREE version of DB2 express and
> > take
> > > > > > > > >> control of your XML. No limits. Just data. Click to get it
> > now.
> > > > > > > > >> http://sourceforge.net/powerbar/db2/
> > > > > > > > >>
> > _______________________________________________
> > > > > > > > >> Amsn-devel mailing list
> > > > > > > > >> Amsn-devel@lists.sourceforge.net
> > > > > > > > >>
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > > > > > >
> > > > > > > >
> > > >
> > >------------------------------------------------------------------------
> > > > > > > > >- This SF.net email is sponsored by DB2 Express
> > > > > > > > >Download DB2 Express C - the FREE version of DB2 express and
> > take
> > > > > > > > >control of your XML. No limits. Just data. Click to get it now.
> > > > > > > > >http://sourceforge.net/powerbar/db2/
> > > > > > > >
> > >_______________________________________________
> > > > > > > > >Amsn-devel mailing list
> > > > > > > > >Amsn-devel@lists.sourceforge.net
> > > > > > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > > > > >
> > > > > > > > --
> > > > > > > > Gustavo A. Díaz
> > > > > > > > GDNet Projects
> > > > > > > > www.gdnet.com.ar
> > > > > > > >
> > > > > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > > > Download DB2 Express C - the FREE version of DB2 express and
> > take
> > > > > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > > > _______________________________________________
> > > > > > > > Amsn-devel mailing list
> > > > > > > > Amsn-devel@lists.sourceforge.net
> > > > > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > > > >
> > > > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > > _______________________________________________
> > > > > > > Amsn-devel mailing list
> > > > > > > Amsn-devel@lists.sourceforge.net
> > > > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > _______________________________________________
> > > > > > Amsn-devel mailing list
> > > > > > Amsn-devel@lists.sourceforge.net
> > > > > >
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > > >
> > > > >
> > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > _______________________________________________
> > > > > Amsn-devel mailing list
> > > > > Amsn-devel@lists.sourceforge.net
> > > > >
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Gustavo A. Díaz
> > > > GDNet Projects
> > > > www.gdnet.com.ar
> > > >
> > -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Amsn-devel mailing list
> > > > Amsn-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > >
> > > >
> > >
> > >
> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Amsn-devel mailing list
> > > Amsn-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Amsn-devel mailing list
> > Amsn-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> >
> >
> 
> 
> -- 
> Boris FAURE (aka billiob)
> mail, msn : [EMAIL PROTECTED]
> No trees were killed in the sending of this message.
> However, a large number of electrons were terribly
> agitated.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to