vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Rename default value in username "Unregistered" (https://vborg.vbsupport.ru/showthread.php?t=263201)

sisterj 05-05-2011 12:51 PM

Rename default value in username "Unregistered"
 
Hi, I'd like to remain the default value in username from "Unregisterd" to something else. I don't want to change the username group or the title "Guest" just the default value so in case someone doesn't write in their name, it doesn't default to "Unregistered" but rather another label such as "Visitor". I tried various solutions including changing the class_bootstrap.php file -- from $vbphrase['unregistered']; to $vbphrase['visitor']; but that didn't work. (I'm a definite novice at this stuff but willing to try stuff). I'd appreciate your help.

Eplexx 05-05-2011 04:02 PM

Most likely you could change the usergroup unregistered to something else
http://screensnapr.com/e/wLHdfd.png


or you could search for Unregistered in the phrase search and have "Phrase Text and Phrase Variable Name" checked. Then press search and find "unregistered", click edit and change the text to "Visitor" or anything you'd like.

Then when guests post they will have something like this:
http://screensnapr.com/e/vfLmY0.png



I'm sure if you'd like to make it so they can't edit their username you could go to the newreply.php and edit the box where the username text is and make it uneditable.


All times are GMT. The time now is 11:26 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.01729 seconds
  • Memory Usage 1,706KB
  • 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
  • (2)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