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-07-2001 05:50 PM

Ok, I have found a bug. Users who do not have the required number of posts have not been able to change their profile since I updated to the version where you added it. It works fine for me, but it seems that everyone who is having trouble has less than the required number of posts.

Scott MacVicar 08-07-2001 06:45 PM

Ok change
if ($username != $bbuserinfo[username]) {
to
if ($username != $bbuserinfo[username] && isset($username)) {

updated install file

Delhaze 08-07-2001 09:08 PM

I would like to see it working like this.

The user has a button to request a change in their control panel, at this stage it doesn't allow them to change it, just request a future change.

When they hit the button they are told a request has been sent to the admin/mod and they should continue to use there current username, and wait for confirmation that the request has been authorised.

The admin would have to allow/moderate the request, at which point the user is informed by PM/mail etc that they can now change it.

Now the users control panel actually lets him change it, and any cookie would be updated etc.

This would be all controlled by a global "allow password change requests" in the admin control panel, and could be set to no, the way I have desribed, or always like this hack.

This is not a simple hack, but would be a nice feature to be added to VB in a future release.

Dakota 08-08-2001 04:06 AM

Thanks, that fixed it. Now if only you could get the limiting the number of times a user is allowed to change their name, it would make it much better. But great job. I have not found any other bugs, and I doubt there are since it is a fairly small hack.

Franky 08-10-2001 07:31 AM

Sounds like a great hack, one I would install.

I think it definitely needs either 1. or 2. below and possibly 3.

1. A log of username changes (maybe by user number).
2. Admin moderation of username changes.
3. A limit to the number of changes (per year maybe)

If it had either 1. or 2. I would definitely install it :D

Scott MacVicar 08-10-2001 09:25 AM

1 is done and 3 is being tested.

Franky 08-10-2001 10:18 AM

Uhm how do you view the log please?

J_PC 08-10-2001 10:22 AM

Thanks buddy

Scott MacVicar 08-10-2001 02:47 PM

posted updated file with
name loggin and limits so an admin can set they can only change once every defined number of days.

Franky 08-10-2001 04:44 PM

I now get when submitting the form:

Warning: Argument to array_reverse() should be an array in D:\inetpub\wwwroot\forums\member.php on line 388

And no previous usernames show up. Keep up good work :D


All times are GMT. The time now is 04:21 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.01117 seconds
  • Memory Usage 1,724KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)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