Gossamer Forum
Quote Reply
Plug in help
Hi

I have had a users plug in running for a while..

(see the download area)

For some reason since the Links SQL 2.1 users can no longer update their usernames..

When they try it will take them back to the log on screen and their username will not be changed...

Can anyone tell me what could be the reason please?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Plug in help In reply to
I just installed your plugin, and it works fine :)

But, the default forms only ask to change the password, not the Username.


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Plug in help In reply to
Hi Pugdog

If you try to add:

<tr><td valign="top">Username:</td>
<td><input type="text" name="Username" value="<%Username%>" size="20"></td></tr>


to the form and try to modify a user file (through the plkug in)..

It will not work as far as I have seen..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Plug in help In reply to
The User_Modify.pm code says:

delete $args->{Username};

....which is why it won't work.

Also there are lots of issues regarding username changes such as verifying the new username isn't taken but also what do you use in the WHERE clause if you update all fields?...eg....

UPDATE Users SET Username = 'Blah', Password = 'Foo' ....etc WHERE ?

The username needs to be left unchanged so you can let mysql know where the update should happen.
Quote Reply
Re: [Paul] Plug in help In reply to
Tahan Paul
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory