PDA

View Full Version : [release] Update Username from User CP


filburt1
11-22-2002, 10:00 PM
Author: filburt1
Description: Allows users to change their usernames from their user CPs. Protects against picking an existing username.
Demo: None yet
Screenshot: in the below posts.

The idea is from a hack at vB.org but the code is 100% written by me. Requested here at vBT.

filburt1
11-22-2002, 10:42 PM
I forgot to say that for the change to fully take effect, counters have to be updated, just as if the username was changed from the admin CP. Also this doesn't take into effect usernames banned in the admin CP's "vBulletin Options."

Viewing the new user CP:

filburt1
11-22-2002, 10:42 PM
Trying to cheat the system:

filburt1
11-22-2002, 10:43 PM
You're welcome!

filburt1
11-22-2002, 10:44 PM
...and proof of success:

Brad
11-23-2002, 12:15 AM
filburt you are a god with the phpinclude template ;). This mod i like, i think ill stick to ppn's verson as it works with the buttons already placed in modifiy options.

On a side note...this is the last time i post when im not in the right state of mind..stupid keyboard keeps moving -,-

filburt1
11-23-2002, 12:17 AM
Don't blame it on the keyboard [ex] :D

It actually was pretty tricky coding this thing. I do recommend using the hack instead but for those who don't hack their boards, me being one of them, use this instead.

Brad
11-23-2002, 12:21 AM
Ahah well the keyboards stoped but the mouse seems to jump ;)

And yea, i do hack my board. Alot. The new kousetsu has been hacked so much that i belive every file was changed to reduce querys and add new functions. :)

Rufus69
11-23-2002, 12:31 AM
oh yay!

hehe

I'm putting your site on my site lol considering my site a scripting site :)

and I have almost all your mods installed lol

Rufus69
11-23-2002, 12:42 AM
wow

I just installed and found out that

YOU ARE A gOD OF THE PHPINCLUDE! lol

that is awsome it works just like the hack but no hacking involved! its great!

filburt1
11-23-2002, 12:44 AM
I have changed my group in my postbit here...:D

Rufus69
11-23-2002, 12:55 AM
*looks at the group*

oh...wow....lol

you get to be in the "special" group

well tell me this can you make a whole php email system like yahoomail? :-p

bet you can :(

ah well you rule lol

Mark
11-23-2002, 01:02 AM
Lord. Installing now..

MustangBST
11-23-2002, 01:29 AM
Couple things I would like to see

1: only allow them change it every 30 days

2: Make it so no one can register under a name that was already registered

Is it possible?

Larry

filburt1
11-23-2002, 01:31 AM
1. Not easy
2. It already does that

imported_TMG1
11-23-2002, 01:50 AM
you rule man !!! what a ****ing temp mod lol

Rufus69
11-23-2002, 04:28 PM
heh yeah the 30 day thing would need hacking right?

filburt1
11-23-2002, 04:43 PM
Probably not but it would require a crapload of more code.

Mark
11-23-2002, 05:14 PM
I'm up for that. Lol

MustangBST
11-23-2002, 05:38 PM
What I am saying on suggestion number 2 is.

Say I change my name From Larry@IOG to larry

What would keep from someone changing their name to Larry@IOG and pretending/acting they were me. Only reason I thought of this is because PBC www.paintballcity.com did this and alot of Mods changed their name. Members then would take the mods orginal name and Flame others. Other members were raising hell because they thought it was the staff acting this way.

If I do not make sense please reply I have not had breakfast yet ;)


Larry

filburt1
11-23-2002, 05:39 PM
I see what you're saying now :)

It would be even more complicated than the 30-day min time because you'd have to keep a blacklist of usernames. Just ban the members who act bad ;)

MustangBST
11-23-2002, 05:40 PM
As far as number one suggestion. Is there anyway to make it so the ysers previous names show in their profile? Only reason I ask is I have a traders corner on my site. What if someone traded a product with someone else and stiffed them? It would be easy for them to change their name and carry on the site

Larry

filburt1
11-23-2002, 05:41 PM
It would require modifying the db schema. This just a simple mod, jeez :p j/k

MustangBST
11-23-2002, 05:44 PM
Cool if you write it I will try it ;)

BTW very nice hack

Larry

Tony G
11-23-2002, 09:50 PM
Nice job filburt. :)

filburt1
11-23-2002, 09:52 PM
Thanks, Tony :)

imported_TMG1
11-24-2002, 02:23 AM
MAJOR PROBLEM PEOPLE CAN MAKE THESE HUGE NAMES can you make a limit on it ??

filburt1
11-24-2002, 02:27 AM
Can do...tomorrow :)

Tony G
11-24-2002, 06:18 AM
The limit should be 15 like it is when you register. I guess you forgot the maxlength in the code.

imported_TMG1
11-24-2002, 02:40 PM
Ya some guy made a name on my boards MaKAveLi_x[Good Morning HOW ARE YOU]. But I went in the mysql database and fixed it.

Sun Boy
03-19-2003, 11:33 AM
that is crazy

how will i know my member's if i let them change they username

even if i can know them, it will be uncommanded .

filburt1
03-19-2003, 12:00 PM
Well in that case, let me take away the gun I was pointing at you for you to install this.

Erwin
04-03-2003, 04:01 AM
Nice work Filburt. :)