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

Reply
 
Thread Tools
Username Alias Hack (version 2; completely different) Details »»
Username Alias Hack (version 2; completely different)
Version: 1.00, by Brianna Brianna is offline
Developer Last Online: Oct 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-26-2003 Last Update: Never Installs: 5
 
No support by the author.

Note:The structure for this hack is COMPLETELY different from the last one. If you have installed the original Username Alias Hack, please revert the changes you made with those installation instructions first. Go Here to see the old hack's info.

Info:Does your forum have a number of admins? Ever look at your forum and see a member with 200+ posts and be like "who is this person? i've seen him/her before, but I don't remember this username" cos they had a name change, and changed their avatar and signature as well? I had this problem a few times. Another administrator changed the member's username and I was stumped. So I had this idea for a hack!

The hack now involves a dropdown list of every previous name, and can be placed anywhere inside of your getinfo template.

Here is an example of this new version:
http://forums.tsa-gaming.com/member....tinfo&userid=1
(Note: this is with some modifications of what I am releasing, but in essence, you see the drop down list there )

Also, the Admin CP is completely different. Attached in the next post is a screenshot of what my Admin CP looks like. (This is exactly the same as what I am releasing has) As you will see, the list of previous aliases is displayed, as well as the ability to delete any alias, even the ability to change the current username to an old alias with ease!

Attached is a text file with the updated instructions. If you installed the previous version, REVERT those changes FIRST.

Thanks, and hope you like this one much more





Possible addition in the near future: Admins can see a button next to the alias dropdown list that will allow them to change the username right there to an older alias?

Show Your Support

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

Comments
  #12  
Old 03-03-2003, 05:13 PM
Brianna Brianna is offline
 
Join Date: Mar 2002
Location: home
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done. Attached is the update to allow the user to change their name to a previous alias.

NOTE: This is ONLY to change to a previous alias, not change the username entirely. And I am posting the version here instead of updating the database version cos some may not want a user to have that ability...
Reply With Quote
  #13  
Old 03-03-2003, 06:02 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i may have misinterpreted this but if they change they're dropdown in their profile it changes back. Surely this leaves the door open for other users to change this users username back?

- miSt
Reply With Quote
  #14  
Old 03-03-2003, 06:36 PM
Brianna Brianna is offline
 
Join Date: Mar 2002
Location: home
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, it does a check to see that the logged in user is the user who "owns" the profile first.

Try it on my example profile, it will tell you that you do not have permission to access it. However, if I do so while logged in, it will allow me to do so
Reply With Quote
  #15  
Old 03-03-2003, 06:58 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK thats fine. Good work

- miSt
Reply With Quote
  #16  
Old 03-04-2003, 03:28 PM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Know if this works in 2.3.0 RC3? I've tried installing and nothing happens when I change a username. Any ideas what I've done wrong or does it jsut not work?
Reply With Quote
  #17  
Old 03-04-2003, 06:11 PM
Brianna Brianna is offline
 
Join Date: Mar 2002
Location: home
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never even used 2.3.0, sorry. I used 2.2.8 for this... I am not sure how much a difference in code there is there, but if you found all the stuff it asks you to replace and add above/below, then more than likely it should.. in that case chances are you didn't install it properly..
Reply With Quote
  #18  
Old 05-10-2003, 11:15 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was told to run

[sql]CREATE TABLE `useralias` ( `userid` INT(10) UNSIGNED DEFAULT '0' NOT NULL, `alias` VARCHAR(50) NOT NULL ); [/sql]

and I got

[sql]Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE `useralias` ( `userid` INT(10) UNSIGNED DEFAULT '0' NOT NULL, `alias` VARCHAR(50) NOT NULL );
mysql error: You have an error in your SQL syntax near '; ' at line 1

mysql error number: 1064[/sql]

help?



FIXED!

thanks to Xenon...I R illiterate !
Reply With Quote
  #19  
Old 05-11-2003, 07:30 PM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-04-03 at 10:28 AM Ghostsuit said this in Post #15
Know if this works in 2.3.0 RC3? I've tried installing and nothing happens when I change a username. Any ideas what I've done wrong or does it jsut not work?

Dittoness....i installed this on a 2.2.6...and when i change it in the admin cp, nothing shows.....and nothing shows in the getinfo template either.....

*requests help*

pwwease? :bunny:
Reply With Quote
  #20  
Old 05-12-2003, 06:41 PM
Brianna Brianna is offline
 
Join Date: Mar 2002
Location: home
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will install a fresh 2.2.6 (if I have it) sometime soon and install my hack and see if it works, if it does then you more than likely made a mistake on installation. If it doesn't, then I will see what the problem is with this version And I will both PM you and post here.
Reply With Quote
  #21  
Old 06-02-2003, 01:56 AM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well....you said reinstall it....i did...and I still (1) have nothing show in getinfo....

and (2) nothing happens in admin cp see screenie.....!!!!!
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:02 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.04496 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (1)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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