vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   User Display Name Hack (https://vborg.vbsupport.ru/showthread.php?t=40428)

Foxtroter 06-28-2002 10:00 PM

User Display Name Hack
 
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
http://cybersportsnet.net/images/dnhack/welcome.gif

Whos Online
http://www.cybersportsnet.net/images/dnhack/online.gif

Last Post
http://www.cybersportsnet.net/images...k/lastpost.gif

Thread Starter
http://www.cybersportsnet.net/images...eadstarter.gif

Currently Active Users:
http://www.cybersportsnet.net/images...ntlyactive.gif
Thanks,
Foxtroter

Kinox 06-29-2002 11:07 AM

demo would be nice...

AndyTSJ 06-29-2002 01:27 PM

Screenshots seem fairly clear to me, nice work Foxtroter

heretic 06-29-2002 01:38 PM

I'd like to have the ability to have the 2nd name in specific forums, maybe an option to turn it on in off per forum?

Foxtroter 06-29-2002 01:41 PM

Quote:

Originally posted by heretic
I'd like to have the ability to have the 2nd name in specific forums, maybe an option to turn it on in off per forum?
do you mean like the admin to have the ability to turn it on and off?

heretic 06-29-2002 03:51 PM

yeah, but per forum.

I need to have members have 2 names, one for the regular board and another for a couple forums on it

Foxtroter 06-29-2002 04:06 PM

I will see what I can do about it

heretic 06-29-2002 07:03 PM

thanks :)

Velocd 06-30-2002 05:26 AM

Sounds i n t e r e s t i n g ;)

Although I'm not seeing why you just didn't rename your username to "->SOF<-Foxtroter-|CSN|- ", but all is good 'n well.

Foxtroter 06-30-2002 06:34 AM

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.


All times are GMT. The time now is 11:18 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.03671 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete