Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add "username" into edit account?
#1
Question 
Hi at all!
I want add the field "username" into the page "Edit Account" for give the possibility at the users of change the username, but i want which this field is controlled for not have duplicate "usernames".

In which mode i can add this field?

Thanks in advance at all! Big Grin
Reply
#2
(03-25-2015, 05:46 AM)adphp Wrote: Hidden content for guests

Yes very good idea
Sorry for my English I speak only French Smile If my help to you to like me you can add +1 reputation Smile
Reply
#3
The username is a easy implementation, but be aware that the divs won't match yours 100% as my website is modified on which i did the tests...

So let's start :

In edit_acc.php Find
Code:
Hidden content for guests

After } add a new line including

Code:
Hidden content for guests

Once you are done find
Code:
Hidden content for guests

After add

Code:
Hidden content for guests

You're done! Make sure you change "btn btn-large btn-success" with "gbut".

Dani
Quote:Hidden content for guests
Reply
#4
Thanks for collaboration bro!

(03-25-2015, 06:51 AM)treicadani Wrote: Hidden content for guests
Reply
#5
I did not understand how much good does this code would be to have her a screenshot?
Sorry for my English I speak only French Smile If my help to you to like me you can add +1 reputation Smile
Reply
#6
@giadone

i got a working version for you if you change this block of code
Code:
Hidden content for guests

with this one

Code:
Hidden content for guests

Then add
Code:
Hidden content for guests

before

Code:
Hidden content for guests

At that array you can add as many usernames as you wish not to be in use by your users.

@sultime i'm not sure if i understand what you mean?

Dani
Quote:Hidden content for guests
Reply
#7
Works perfect bro! I have added this function in the register page! Very thanks a lot!


(03-28-2015, 07:00 AM)treicadani Wrote: Hidden content for guests
Reply
#8
If you don't want allow users to use some usernames like "admin", "Administrator" you can add it to blacklist
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to add Reject button to Added Funds page graphic 1 1,837 01-08-2021, 06:00 AM
Last Post: ybergnaum
Photo How do I add a new payment method? tankifaruk 0 1,661 01-16-2018, 03:31 AM
Last Post: tankifaruk
  Money is not added to the account after payment! by_sekerat 3 2,978 01-08-2016, 09:43 AM
Last Post: jnfs

Forum Jump:


Users browsing this thread: 1 Guest(s)

About MN Shop

MafiaNet Shop is an online store where you can buy powerful scripts, cool templates, graphic components and many other digital goods.

              Quick Links

              User Links

              Advertise