I guess what I am looking for is a way to do this. If the user logs into tmda-cgi with just the username but not @something then append domain.com. So if @something.com is missing then append domain.com if @something.com exists then use something.com as that domain variable. I think what is happening in tmda-cgi .13 is is using the hostname of the server if the user logs in with username instead of virtual user name (full email address).
For some reason tmda-cgi .12 was able to gather the domain name from something else when the fulle email address was not used for log in. Sam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Hill Sent: Thursday, March 18, 2004 3:10 PM To: [EMAIL PROTECTED] Subject: RE: TMDA-cgi 0.13 "Aluminim" Re-Release + Another Problem When I upgraded to tmda-cgi 0.13 and I log in with just a username, no domain name, it ends up writing mail.servername.com as the domain name in the .tmda/config file in the CONFIRM_ADDRESS = "%(User)[EMAIL PROTECTED](Domain)s" variable. In version 0.12 it did not do that, it actually wrote the correct domain name. Sam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ramsay Sent: Thursday, March 18, 2004 1:15 PM To: [EMAIL PROTECTED] Subject: Re: TMDA-cgi 0.13 "Aluminim" Re-Release + Another Problem Samuel Hill wrote: > With the EditList.py written in the new fashion it is sweeter to > modify editlist.html That was my goal in changing it... glad to know another theme designer out there a) exists, b) agrees that it's better the new way :) I just improved themability even further... maybe check out the CVS version and see the change I just made to TMDA-X (and the rest of tmda-cgi as well) so that the user can pick the font-size for the main links in the sidebar. You could theoretically use the same idiom to set almost anything anywhere in your theme. For example, you could make one theme with the variable %(bgColour)s filled in by whatever the user types into the theme.html file, or one theme with multiple CSS sheets and a way for the user to select any of the css sheets. I'm very excited about this change! -- Jim Ramsay "Me fail English? That's unpossible!" _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users