![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
Hi all:
I'm after a plugin that capitalizes the username on registration, as I require name and last name. This is what I have:
assingned to userdata_presave but it does not work. I would be very grateful for some help No members have liked this post.
Last edited by malmazan; 27 Feb 2012 at 20:44. |
#2
|
|||
|
|||
What hook location are you using (or where did you put that code)?
No members have liked this post.
|
#3
|
|||
|
|||
userdata_presave
I used the first two lines succesfully with v3.6, though it stopped working with v3.7 No members have liked this post.
|
#4
|
||||
|
||||
Why not (on the same hook):
Not tested, but that line should (every time the userdata_presave is called) set the Capitalized Username to the datamanager, should it not? No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by Sarteck
Thanks for the help, though it does not seem to have any effect (does not give an error either).
![]()
No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by malmazan
Actually, I was wrong, it DOES work. Somehow the resulting user name shown on the screen was not capitalized, but the one that ended up on the database was.![]()
That'll save me from having to edit a php file on every update. Thanks a bunch, Sarteck No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:37.