> >> -----Original Message----- > >> From: [email protected] On Behalf Of Josh Godsiff > >> Sent: 30 July 2010 00:27 > >> To: [email protected] > >> Subject: [Trac] Pre-populate user preferences > >> > >> Hi > >> > >> When creating a new project, does anyone know of a way to > >> automatically > >> populate user preferences? It doesn't have to do anything > >> complex, like > >> pulling data from another project, I'd just like some > >> sensible defaults > >> (e.g. their email address) to be in there automatically. > >> > >> Thanks > >> - Josh > >> > >> > > On 30/7/2010 4:09 PM, Cooke, Mark wrote: > > > > ...which users? How do you know the email addresses? > > > > I think you will need to write a script to do this, based > on some dB of > > the users you want to add by default. Pacopablo has blogged some > > scripts for session data that could help to get started but that's > > obviously not the same as preferences. > > > > ~ mark c > > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Josh Godsiff > Sent: 30 July 2010 07:58 > To: [email protected] > Subject: Re: [Trac] Pre-populate user preferences > > > At the moment, our number of users is a small, discreet set > (6 specific > users per project), and as a small business we don't have > time to come > up anything hugely fancy, so at this point I was just planning to > hard-code the data into whatever I come up with. (Though if someone > /had/ a fancy solution, I'd be quite happy to use it). > > Could you point towards these blog posts? They could be helpful. > > - Josh > http://pacopablo.com/blog/pacopablo/blog/set-assign-to-drop-down
This script includes setting the email address so if that's your main requirement you're probably home and dry... ~ mark c -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
