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

Reply
 
Thread Tools
User Display Name Hack Details »»
User Display Name Hack
Version: 1.00, by Foxtroter Foxtroter is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-28-2002 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

User Display Name Hack v0.2
-Updated HTML file

User Display Name Hack v0.1
-Release

Hello this is my first hack so don't really have much to say but here it goes:

This hack will allow for a user to enter their display name to use in the forum instead of the default username. It requires a display name profile field to be created, if there is not a display name field then nothing will be displayed. This hack fixes it so that the normal Username display is replaced withthe new userdisplay field name all over the forum. This has been tested and it works. I will only offer support in the vbulletin.org hacking forum for this hack. Teh amount for support I can provide is limited as I have a very busy schedule right now and just put this hack together.

If you see another place that the userdisplayname should be used just post it here and I will see if I can add it in sometime.

I think that is basically it.

If you could all test it out for me and tell me if it works for you then that would be a great help

Screenshots

My username for my board is Foxtroter but with the display name hack it shows ->SOF<-Foxtroter-|CSN|- as shown below

Welcome panel on forumhome


Whos Online


Last Post


Thread Starter


Currently Active Users:

Thanks,
Foxtroter

Show Your Support

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

Comments
  #12  
Old 06-30-2002, 05:11 PM
alanvo alanvo is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if the user dont put in a display name, will it display the username instead?
Reply With Quote
  #13  
Old 06-30-2002, 05:18 PM
Foxtroter Foxtroter is offline
 
Join Date: May 2002
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what you do is you make the display name field a required field... and yes if they don't put anything in it then it doesn't display anything. this is just a beta hack and has a lot to work on. I will try to work on hte admin part of the deal when i can but im not sure that i can. i just did this to help out those who needed it as i saw it requested in the requests forum.
Reply With Quote
  #14  
Old 06-30-2002, 07:09 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Foxtroter
well for two reasons. one beign that it is running side by side with a windows box for a website for a clan. They log in with their username with has no clan tags the ->SOF<- when they register for that site they automatically recieve their username as they registered for the site on the windows box with is a simple name with no tags. After the site opens and all our members transfer then it just wouldn't the practical thing to do. Plus with members moving and with them having guilds which adds an entire extra factor to their name i.e. the -|CSN|- on my name.
I see it now. This would defiantly make a great addition then for any clan forums
Reply With Quote
  #15  
Old 07-11-2002, 01:37 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So where do you actually go to change the login name not the display name?
Reply With Quote
  #16  
Old 07-17-2002, 09:55 AM
Foxtroter Foxtroter is offline
 
Join Date: May 2002
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BigJohnson
So where do you actually go to change the login name not the display name?
to change the login name just goto the admin panel and do so --- this hack is just for display name u do not use it as a name to log in with. also sorry for lack of development with this hack im fighting time and its not looking to god
Reply With Quote
  #17  
Old 07-17-2002, 12:36 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O. Because I was looking for a hack like when you register you have a display name and a login name. And then you use your login name to login and the display name for everyone to see on the board.
Reply With Quote
  #18  
Old 07-17-2002, 12:39 PM
Foxtroter Foxtroter is offline
 
Join Date: May 2002
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats what it does
Reply With Quote
  #19  
Old 07-17-2002, 01:18 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it allow you to do it when you register?
Like add your display name there also? Like for an option if you want to use it.
Reply With Quote
  #20  
Old 07-17-2002, 01:57 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error after installing it. Do you no why. I dont no what to do and i wanted this hack so badly.

Database error in vBulletin 2.2.5:

Invalid SQL: SELECT userfield.userid,userfield.field9,moderator.forumi d
FROM moderator
LEFT JOIN userfield
ON (moderator.userid=userfield.userid)
ORDER BY user.field9
mysql error: Unknown table 'user' in order clause

mysql error number: 1109
Reply With Quote
  #21  
Old 07-17-2002, 02:09 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and i see that it works perfectly now. I fixed it. But How can I make it so it shows my display name everywhere. I mean EVERYWHERE. I dont want the login name being shown for my showthread and stuff. How would i go ahead for doing something like this? Please help.
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 01:06 AM.


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.10439 seconds
  • Memory Usage 2,305KB
  • 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
  • (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
  • (3)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