vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Username Forced to Titlecase (https://vborg.vbsupport.ru/showthread.php?t=234265)

sheppardzwc 01-26-2010 10:00 PM

Username Forced to Titlecase
 
1 Attachment(s)
Username Forced to Titlecase

This plugin will force all new user's usernames to start with a capital letter, i.e. joe will be converted to Joe upon registration.

Install Instructions

1. Download product-username_titlecase.xml.
2. Import product/xml file.
3. Done!

Don't forget to click installed! :)

|Jordan| 01-27-2010 07:36 PM

First!

And huge thanks for making this request ;)

<3

sheppardzwc 01-28-2010 01:10 AM

Quote:

Originally Posted by |Jordan| (Post 1968296)
First!

And huge thanks for making this request ;)

<3

Enjoy! :)

milsirhc 01-28-2010 01:32 AM

Installed! Thanks!

milsirhc 01-29-2010 01:03 AM

Hmm... did not really work for me on 3.8.4

I did not convert for my new registration.

sheppardzwc 01-30-2010 01:44 PM

Quote:

Originally Posted by milsirhc (Post 1969458)
Hmm... did not really work for me on 3.8.4

I did not convert for my new registration.

Hmm, you're right. Sorry about that. I've reupdated it to use the datamanger for vBulletin to set the username, and now it works. :)

pappocapo 04-29-2010 11:01 PM

work in 3.8.5 ?

Mrquarter2 07-20-2010 03:56 AM

Amazing mod! :)

Hellmaster 07-20-2010 02:54 PM

I need something like this, but to convert posts... I don't want A POST AT UPPERCASE... just "A post as normal" hahaha.

Robert9 12-14-2010 08:28 AM

PHP Code:

if($vbulletin->options['ut_enabled']) { 
    
$ut_changeuser =& datamanager_init('User'$vbulletinERRTYPE_ARRAY); 
    
$ut_changeuser->set_existing(fetch_userinfo($userid)); 
    
$ut_changeuser->set('username'strtolower($username)); 
    
$ut_changeuser->set('username'ucfirst($username)); 
    
$ut_changeuser->save(); 


I have changed it for my needs, but it seems this doesnt work. :(


All times are GMT. The time now is 01:55 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.00960 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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