vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Change Username via UserCP (v1.0) (https://vborg.vbsupport.ru/showthread.php?t=63796)

tuncket 04-12-2004 10:00 PM

Change Username via UserCP (v1.0)
 
Author: tuncket
Original Creator: Scott MacVicar (Post)
Based in assassingod idea (Post)
Description: This allows your users to Change their Username via their UserCP

INSTRUCCIONES EN ESPA?OL - INSTRUCTIONS IN SPANISH (Post)

This Hack has been tested in vB 3.0.0 Gold!

New Files: (0)

Database Queries: (0)

Files to edit: (2)
profile.php (2 changes)
includes/functions_user.php (1 change)

Templates to add: (1)
modifyusername


Templates to modify: (1)
USERCP_SHELL
(1 change)

Phrases to add: (2)

Level difficulty: Easy

Time installation: 5-10 minutes


CHANGE USERNAME V2.0 RELEASED! PLIS INSTALL THE NEW VERSION (POST)

???`S?LV?R???` 04-13-2004 12:10 AM

nice one

KTBleeding 04-13-2004 12:18 AM

Does this show their previous username in their profile?

Charlie Argueta 04-13-2004 12:18 AM

Quote:

Originally Posted by tuncket
Author: tuncket
Original Creator: Scott MacVicar (Post)
Based in assassingod idea (Post)
Description: This allows your users to Change their Username via their UserCP

This Hack has been tested in vB 3.0.0 Gold!

New Files: (0)

Database Queries: (0)

Files to edit: (2)
profile.php

includes/functions_user.php

Templates to add: (1)
modifyusername


Templates to modify: (1)
USERCP_SHELL


Phrases to add: (2)

Level difficulty: Easy

Time installation: 5-10 minutes

PLEASE CLICK THE INSTALL BUTTON IF INSTALLED!!!

It should ask for a password as when you want to change the email of the user.

See Ya

HabboForum 04-13-2004 10:40 AM

Is there a way to disable this feature for certain usergroups? If i were to use this hack, i'd only want my paid members to be able to use it.

Slave 04-13-2004 12:30 PM

Quote:

Originally Posted by tuncket
Open profile.php

Find
PHP Code:

    construct_usercp_nav('username'); 

if it is for a single Usergroup:

Under Add
PHP Code:

    if ($bbuserinfo['usergroupid']==X) {print_no_permission(); exit;} 

X = Usergroup ID

if it is for several groups:

Under Add
PHP Code:

    if ($bbuserinfo['usergroupid']==or $bbuserinfo['usergroupid']==Y) {print_no_permission(); exit;} 

or
PHP Code:

    if ($bbuserinfo['usergroupid']==or $bbuserinfo['usergroupid']==or $bbuserinfo['usergroupid']==Z) {print_no_permission(); exit;} 

X, Y, Z --> Usergroups ID that will not be able to use the function

It might be easier for peeps if you have a bit of code to allow groups .. instead of the other way about .. else there'll be an awful lot of "or"s .. heh

:)

FleaBag 04-13-2004 01:17 PM

Excellent hack, not sure whether or not to install... Good to see you giving the support for this, the usergroup restrictions might well get me installing. :)

Zachariah 04-14-2004 01:22 AM

tuncket !!!! :D

This will save me hour a week dealing with user problems.

[high]* Zachariah clicks install[/high]

gmarik 04-14-2004 05:25 PM

Interesting ...

Silviu 05-09-2004 09:04 AM

Add two more thing and this hack will become one of the mose used hacks ever:

1 - Admins/Moderators can see previous usernames
2 - Admins can setup in admincp a time limit after user can change the username again (for example, user can be able to change it at each x days, or something like that).

bloodcult 05-11-2004 12:00 PM

a little typo is in 'need password' extension:
Code:

globalize($_POST, array('currentpassword' => STR, 'username=> STR));
should be

Code:

globalize($_POST, array('currentpassword' => STR, 'username'=> STR));
you missed the ' behind username ...

thanks for the hack, ive installed it with password question.... as silviu said, it would be great with the 2 more extensions for this hack :)

SemperFidelis 05-18-2004 01:34 PM

The version of this that was released for vb2 had alot more functionality IMO
If you could add :
- a clean way of setting via group (perhaps even as part of group managers functions)
- a way of setting it so a user has X amounts of posts
- history of changes

That would be greatly appreciated
:)

attroll 05-22-2004 06:42 PM

This looks like a really nice hack. I would love to install it but I forsee a problem with some of my users. Not that they are problem users. But once you change a username then everyone that knew you by your first user name will get confused because without warning you are not longer that name. Granted this should not be a problem and happen to often. But if you give everyone access to change their user names then this can encourage people to do it depending on who they want to be each day. I would like to install it this so I would not have to worry when someone who wants their user name changed. But I am afraid that other users will start changing their user name to often.

daveone 05-26-2004 09:10 PM

is it possible to tell the other board members that member "xyz" changed his name into "abc" ? perhaps members will be confused if they talk to a guy who changed his name and they can't identify him.

Perhaps something like...

"Todays News - "Xyz" changed his name into "abc" <<< in the board header

LoOnEyToOnZ 06-17-2004 12:05 PM

Agreed with Silviu and daveone

1 - Admins/Moderators can see previous usernames
2 - Admins can setup in admincp a time limit after user can change the username again (for example, user can be able to change it at each x days, or something like that).
3 - Maybe auto-posting of a new thread within a specified forum everytime a user changes username

JohnXWA 06-23-2004 01:45 PM

Yea, the only thing stopping me is the lack of logging etc.

Bison 07-23-2004 12:40 AM

Nice idea, but this hack can be abused real quick!

Scerina 11-19-2004 03:05 AM

Can someone please install this hack for me please? If you can assist me, please contact me via email at: Pandora@Sweet-November.Net

Thanx in advance

jamesk 12-25-2004 08:39 PM

AWESOME HACK!!!
Before I install I would really like an updated version as well. Good requests in this thread,if anybody works these things out. Please post here.

Paul M 12-25-2004 09:39 PM

Version 2 is linked to in the first post.

Adrian Schneider 12-25-2004 09:47 PM

Would it be possible to make it moderate username changes? So basically they just request for it to be done, then you give it the okay.

shaffer 01-22-2005 10:26 PM

Can you add an "admin approval" setting where the change will not take place until admin sees it and approves it?

SaltedSlug 11-10-2005 11:32 PM

I really really want this hack, but it might cause more trouble than it's worth, without the logging suggestions that people have made. A public record of name changes would be good.


Quote:

Originally Posted by shaffer
Can you add an "admin approval" setting where the change will not take place until admin sees it and approves it?

And this idea is a cracker too.


All times are GMT. The time now is 02:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02323 seconds
  • Memory Usage 1,771KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete