Beautiful! Works great!
Thanks so much for passing this bit of code along.
Richard Green wrote:
> I have implemented a botch-job just to get this working myself,
>
> In /program/include/main.inc
>
> After line 251 I added this:
>
> if (!strpos($user, "@"))
> {
> $user .= "@burninghorizons.net";
> }
>
> Replace with your domain suffix and hey presto.
>
> This would obviously be better to parameterise the domain suffix in
> the settings file.
> Not having submitted any stuff to CVS before, can anyone point me to
> what I need to do to submit work?
>
> Richard
>
>
> On Mon, 27 Feb 2006 17:27:48 -0800 (PST), <[EMAIL PROTECTED]> wrote:
>>
>> I second this, it would be very handy and it can be inferred from
>> the URL. Perhaps put it after the username box as static text so
>> users know what it will do.
>>
>> -Norman
>>
>>> I posted this a while back on the users list and don't recall
>>> whether it was possible or not.
>>>
>>> I simply want the text box portion of the username field to be
>>> pre-populated with my domain name (@domainxyz.com) so my users just
>>> have to type in their username.
>>>
>>> Is this possible?