Support Forums - Classified Ads Script Osclass
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: c4 on January 12, 2018, 11:09:13 AM
-
Hi
I want to disallow change username option In my site. I wanted to do it through jQuery:
oc-content/themes/veronika/user-profile.php
<script>
$("#element_id").attr('disabled','disabled');
</script>
But when saving user data after editing, I get a message. "all fields must be filled out". The username field gets the name from the database and the name can not be edited. Unfortunately, I can not save user profile data using this jQuery script.
Please help
-
@c4
$("#element_id").prop('readonly', true);
-
works, thank you :)
-
hello c4,
what you did! how it works!
please elaborate it please
-
I have disabled for users to change the username. After registration users cant change username.
-
as per my knowledge; users cant change their username- they having only option to change their name from mydomain.com/user/profile
how is it possible; user can change username.
i guess! username is numeric value i.e, 1, 2 ... 9,0 , this value automatically saved in db,
pls, clarify anbody! :-\
-
There are ways to change it, but not sure what is point of changing username.
-
am also confused-
have disabled for users to change the username. After registration users cant change username.