vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Custom profile field display (https://vborg.vbsupport.ru/showthread.php?t=39214)

nulltone 05-30-2002 12:42 AM

Custom profile field display
 
Go to http://bulletin.sagehillschool.org.
This is the bulletin board for my school. I administrate it.
Ok, here is the deal. For usernames, I make students use the school networks usernames, to keep things ordered. So, a John Smith's username would be "smithj", which is quite unpleasant. After enough complaints, I came up with an idea.
I made a custom profile field (in my case, "field5") called "Name". Students enter their Full Name "John Smith" in this field. I then replaced all the username variables with "field5" variables in the postbit templates. This works fine.
But from the forum display, and all the other areas, it shows the username. How can I make it show that users "field5" instead of the username? Which variables do I use in the other templates? Does this require a complex hack? What about "Last post by...". Can those display "field5"'s for usernames too?

Logician 05-30-2002 08:57 AM

it really requires a lot of code modifications. Why dont you require your members to use their names as usernames? If you need school network names too, you can assign this in a custom profile field. So I suggest switch usernames with custom "field 5".. This would be much easier IMO..

nulltone 05-30-2002 12:34 PM

There is no other option? I am under alot of pressure from the administration, because they want to keep consistancy...

Foxtroter 06-29-2002 08:13 AM

im working on this too, ill let you know if it works out for me.

Foxtroter 06-29-2002 01:43 PM

<a href="https://vborg.vbsupport.ru/showthread.php?threadid=40428" target="_blank">https://vborg.vbsupport.ru/showt...threadid=40428</a>


All times are GMT. The time now is 12:34 AM.

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.00904 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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