Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Change Username via UserCP (v1.0) Details »»
Change Username via UserCP (v1.0)
Version: 1.00, by tuncket tuncket is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-12-2004 Last Update: Never Installs: 16
 
No support by the author.

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-13-2004, 12:10 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one
Reply With Quote
  #3  
Old 04-13-2004, 12:18 AM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this show their previous username in their profile?
Reply With Quote
  #4  
Old 04-13-2004, 12:18 AM
Charlie Argueta's Avatar
Charlie Argueta Charlie Argueta is offline
 
Join Date: Oct 2002
Location: Taiwan
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 04-13-2004, 10:40 AM
HabboForum HabboForum is offline
 
Join Date: May 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 04-13-2004, 12:30 PM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #7  
Old 04-13-2004, 01:17 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-14-2004, 01:22 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tuncket !!!!

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

[high]* Zachariah clicks install[/high]
Reply With Quote
  #9  
Old 04-14-2004, 05:25 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting ...
Reply With Quote
  #10  
Old 05-09-2004, 09:04 AM
Silviu's Avatar
Silviu Silviu is offline
 
Join Date: Oct 2001
Location: Bucharest, Romania
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11657 seconds
  • Memory Usage 2,315KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete