vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change Username via UserCP v2.0 (https://vborg.vbsupport.ru/showthread.php?t=24722)

Dakota 08-13-2001 08:23 PM

umm...that file seems to be the same as the last for me. I don't see anything about the log, or the number of times a user can change their name.

Franky 08-13-2001 08:37 PM

There is no log, just in the user's profile the user's previous names are displayed.

Scott MacVicar 08-13-2001 09:09 PM

i never realised you ran a site bout ntl :)

i got my cable installed but they moaned about line quality and some technician broke somethin :/

so i'm stuck on ntlworld

Dakota 08-13-2001 11:20 PM

well...still when I download the attachment I get the old version. There is nothing in it that adds the previous names to a profile, or how long before a user can change their name again.

Franky 08-17-2001 01:30 PM

A possible bug. A user changes their name, and in their profile under previous usernames, it shows the username they have just changed to, not the old username.

Dakota 08-17-2001 03:28 PM

I have also noticed that.

Pie'oh'pah 08-17-2001 04:15 PM

Quote:

Originally posted by Dakota
well...still when I download the attachment I get the old version. There is nothing in it that adds the previous names to a profile, or how long before a user can change their name again.
Maybe a cache prob? Try this.

Scott MacVicar 08-17-2001 09:27 PM

change
array_splice($oldnames,4,4, addslashes($username));
to
array_splice($oldnames,4,4, addslashes($bbuserinfo[username]));

AND

array_push($oldnames,addslashes($username));
to
array_push($oldnames,addslashes($bbuserinfo[username]));

AND

$DB_site->query("INSERT INTO namelogs (userid, usernames,lastchange) VALUES ('$bbuserinfo[userid]','".addslashes(htmlspecialchars($username))."', '".time()."')");
to
$DB_site->query("INSERT INTO namelogs (userid, usernames,lastchange) VALUES ('$bbuserinfo[userid]','".addslashes(htmlspecialchars($bbuserinfo[username]))."', '".time()."')");
will modify original now.

Franky 08-17-2001 09:50 PM

Okay excellent job PPN, all works perfectly now :D

Scott MacVicar 08-17-2001 11:48 PM

know why ntl wasn't workin last night :P

it stopped workin mid evening for a couple of hours.


All times are GMT. The time now is 07:59 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.01269 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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