vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [DBTech] Username Change v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=236980)

Amaury 11-17-2012 07:31 PM

Quote:

Originally Posted by DragonByte Tech (Post 2381999)
If not then
Code:

update userchangelog set fieldname = 'username' where fieldname = 'x'
replacing X with whatever the result of the previous query was that is not "username" in all lowercase :)


Fillip

So, for example, replace X with my user ID of 18 again?

DragonByte Tech 11-17-2012 07:41 PM

No. If the DB has an entry "Username" instead of "username", replace X with "Username".

Fillip

Amaury 11-17-2012 07:54 PM

Quote:

Originally Posted by DragonByte Tech (Post 2382015)
No. If the DB has an entry "Username" instead of "username", replace X with "Username".


Fillip

Oh, so if an entry or entries has / have "Username" instead of "username," replace the X with "Username" and run another query to fix all "Username" entries to "username"?

johkalhaups 11-18-2012 08:14 PM

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
Bitfield Collision: credits_cantearn = allowvideos
Im getting that trying to update to the latest version of this mod.

Im on vB 4.1.11 PL 1

What is this bitfield?

Amaury 11-19-2012 10:25 PM

I'm not seeing any uppercase results.

Here are my results:

http://i101.photobucket.com/albums/m...Results1-1.jpg

http://i101.photobucket.com/albums/m...Results2-1.jpg

http://i101.photobucket.com/albums/m...Results3-1.jpg

Here's my change log again:

http://i101.photobucket.com/albums/m.../Change1-1.jpg

http://i101.photobucket.com/albums/m.../Change2-1.jpg

http://i101.photobucket.com/albums/m.../Change3-1.jpg

http://i101.photobucket.com/albums/m.../Change4-1.jpg

Also, we don't want anyone other than admins to be able to change usernames. How do we disable the username change option in User CP -> General Settings?

Amaury 11-20-2012 09:36 PM

Bump.

I've been promoted to an administrator again for the time being, so you could create an account and then I could promote you to a temporary admin if you want to have a look for yourself.

I've found two more users to be affected besides the owner and I, making it a total of four users affected. The two more that I discovered are just missing one change, while the owner and I are missing a lot.

Amaury 11-21-2012 01:45 AM

Never mind. I figured out the problem. It was the usergroup options for each usergroup.

This was originally five:

https://vborg.vbsupport.ru/

EDIT: I do have one more question, though. Under the Date Changed column on the history tab, it's the time, a comma, and the date (e.g., 7:24 PM, 11/20/2012). However, I would like the date to be first (e.g., 11/20/2012, 7:24 PM). How would I accomplish this?

Amaury 11-30-2012 10:27 PM

Quote:

Originally Posted by Amaury25 (Post 2383135)
Never mind. I figured out the problem. It was the usergroup options for each usergroup.

This was originally five:

http://i101.photobucket.com/albums/m.../History-1.jpg

EDIT: I do have one more question, though. Under the Date Changed column on the history tab, it's the time, a comma, and the date (e.g., 7:24 PM, 11/20/2012). However, I would like the date to be first (e.g., 11/20/2012, 7:24 PM). How would I accomplish this?

Bump.

DragonByte Tech 12-01-2012 08:29 PM

You'll need to edit this line in /dbtech/username_change/includes/class_profileblock.php
PHP Code:

$entry['change_time'] = vbdate($this->registry->options['timeformat'], $entry['change_time']) . ', ' vbdate($this->registry->options['dateformat'], $entry['change_time']); 


Fillip

Amaury 12-01-2012 08:33 PM

Quote:

Originally Posted by DragonByte Tech (Post 2387422)
You'll need to edit this line in /dbtech/username_change/includes/class_profileblock.php
PHP Code:

$entry['change_time'] = vbdate($this->registry->options['timeformat'], $entry['change_time']) . ', ' vbdate($this->registry->options['dateformat'], $entry['change_time']); 

Fillip

Aw, I was hoping it'd be a simple template edit.

Unfortunately, I'm no expert at server work. I have the server information, but all I know how to do is take backups.

I can send you the information, if you'd be willing to do it, though. :)

Bluefin221 12-02-2012 04:55 PM

I installed this and my entire sub nav menu vanished, this is normally where you locate the FAQ, Private messages etc, I have tried to disable it and still they have vanished, now uninstalled it and still they have not reappeared.

Amaury 12-02-2012 05:08 PM

Quote:

Originally Posted by Bluefin221 (Post 2387661)
I installed this and my entire sub nav menu vanished, this is normally where you locate the FAQ, Private messages etc, I have tried to disable it and still they have vanished, now uninstalled it and still they have not reappeared.

What version of vBulletin are you running and have you made any edits to your navbar template?

Bluefin221 12-02-2012 05:20 PM

Quote:

Originally Posted by Amaury25 (Post 2387665)
What version of vBulletin are you running and have you made any edits to your navbar template?

4.2.0 Patch Level 2, and no I have made no changes.

DragonByte Tech 12-02-2012 05:35 PM

Quote:

Originally Posted by Amaury25 (Post 2387426)
Aw, I was hoping it'd be a simple template edit.

Unfortunately, I'm no expert at server work. I have the server information, but all I know how to do is take backups.

I can send you the information, if you'd be willing to do it, though. :)

It might just be easier to create a new timestamp setting - I'll update the product some time tonight :)

Quote:

Originally Posted by Bluefin221 (Post 2387661)
I installed this and my entire sub nav menu vanished, this is normally where you locate the FAQ, Private messages etc, I have tried to disable it and still they have vanished, now uninstalled it and still they have not reappeared.

This mod makes no modifications to any templates nor does it insert itself into the navbar (either via the pre-4.2 or post-4.2 method) - are you sure you made no other changes (such as other products installed)?

There's really no way this mod could have caused this.


Fillip

Bluefin221 12-02-2012 05:39 PM

Quote:

Originally Posted by DragonByte Tech (Post 2387677)
It might just be easier to create a new timestamp setting - I'll update the product some time tonight :)

This mod makes no modifications to any templates nor does it insert itself into the navbar (either via the pre-4.2 or post-4.2 method) - are you sure you made no other changes (such as other products installed)?

There's really no way this mod could have caused this.


Fillip

Well the navbar was there, I installed this mod and now its not, I checked on the default theme, and also the theme I use, I cannot even revert the default theme as its never been changed. No idea why this has happened, as the lower navbar works in blogs and other mods just not on the forumshome index.

My forums have been the same for months this is the only change I have made for weeks on end is to install this product.

Amaury 12-02-2012 05:47 PM

Quote:

Originally Posted by DragonByte Tech (Post 2387677)
It might just be easier to create a new timestamp setting - I'll update the product some time tonight :)

Fillip

Okay, thank you. :)

Bluefin221 12-02-2012 05:54 PM

Looks like the problem is more deep rooted I added define('DISABLE_HOOKS', true); to the config file and still the problem persists, utterly bizarre as all I have done today is install this mod and then the entire sub navbar vanished.

Its obviously unrelated just coincidence, now I need to figure out how to fix it without knowing what the problem is.

DragonByte Tech 12-02-2012 06:05 PM

Username Change v1.2.1
Feature: Added date/timestamp configuration option for the "Username History" profile block.

Fillip

DragonByte Tech 12-02-2012 06:07 PM

Quote:

Originally Posted by Bluefin221 (Post 2387697)
Looks like the problem is more deep rooted I added define('DISABLE_HOOKS', true); to the config file and still the problem persists, utterly bizarre as all I have done today is install this mod and then the entire sub navbar vanished.

Have you checked the default navbar template to ensure the code for the navigation manager still exists?

You may want to turn on debug mode and try re-importing the MASTER STYLE from your downloaded vBulletin zip file.
Disclaimer: I have no idea if that even works, you may wish to contact vBulletin support to find out the correct way of rebuilding the MASTER STYLE.


Fillip

Nirjonadda 12-02-2012 06:10 PM

You can add This Options "Option based on Post Count" Permissions Based on Post Count...Post count user must have before can Username Change.

DragonByte Tech 12-02-2012 06:38 PM

Is it logged in our system over at our forum? If not, that's your best bet to post it. I only implemented this change because it was quick and easy, that change is not so :)


Fillip

Snowhog 12-02-2012 10:00 PM

I'm sure that this has been asked and answered, but does the MOD prevent a member from changing to a new username already in use by another member?

DragonByte Tech 12-02-2012 10:12 PM

Yeah it does - the same code that gets executed when you change someone's username in the AdminCP also get executed here, including the same restrictions.

In other words, if you have Username Re-Use Delay enabled, this mod will also reserve old usernames for X days (depending on the setting) :)


Fillip

Snowhog 12-02-2012 10:33 PM

Cool. Thank you.

Big Engine 01-18-2013 08:00 PM

Where would I be seeing this ?

"Revert to previous username" feature added, allowing users to revert to their previous username (assuming it's still available) at any time so long as they have not reached the maximum number of username changes allowed. This feature ignores (but resets) the "time between username changes".

DragonByte Tech 01-19-2013 03:31 PM

That shows up in the "Edit Profile" part of the UserCP, underneath the "Registration Required Information - All fields are required." bits.

Fillip

Big Engine 01-19-2013 11:16 PM

Quote:

Originally Posted by DragonByte Tech (Post 2397935)
That shows up in the "Edit Profile" part of the UserCP, underneath the "Registration Required Information - All fields are required." bits.


Fillip

I don't see it, I just want to make sure I did the update correctly.

https://vborg.vbsupport.ru/external/2013/01/21.jpg

DragonByte Tech 01-22-2013 09:33 AM

If you have Username Re-Use Delay enabled in the vBulletin Options, the option won't show up :)


Fillip

Big Engine 01-22-2013 11:47 AM

Quote:

Originally Posted by DragonByte Tech (Post 2398612)
If you have Username Re-Use Delay enabled in the vBulletin Options, the option won't show up :)


Fillip

Username change delay 0

Username reuse delay 0

Big Engine 01-22-2013 12:01 PM

I'm sure I screwed up something, somehow. :(

DragonByte Tech 01-25-2013 06:53 PM

You need to have changed your username at least once and also have the permission to change usernames again (i.e. not be at the limit).

Fillip

datoneer 02-18-2013 09:39 PM

As always dbtech the best!

XGC Viper XI 02-18-2013 09:47 PM

I have multiple questions as I am converting from vb3 to vb4.2.0 Patch Level 3

1) Does this work in vb4.2.0 Patch Level 3?

2) Can this be setup where only moderators and above can be able to change names? In other words I want our members to make a request to the moderators (by actually talking to the person), then the moderators go in and make the change via this mod. If so, I would I set it up to do so?

Thanks,

Viper

CharlieDelta 02-19-2013 01:43 PM

Quote:

Originally Posted by XGC Viper XI (Post 2405086)
I have multiple questions as I am converting from vb3 to vb4.2.0 Patch Level 3

1) Does this work in vb4.2.0 Patch Level 3?

Yes, sure does.

Quote:

Originally Posted by XGC Viper XI (Post 2405086)
2) Can this be setup where only moderators and above can be able to change names? In other words I want our members to make a request to the moderators (by actually talking to the person), then the moderators go in and make the change via this mod. If so, I would I set it up to do so?

No problem,
Quote:

Feature List
  • Uses vBulletin's "Profile Change History" feature for maximum compatibility with other mods
  • Change username via UserCP -> Edit Profile
  • One-click revert username via UserCP -> Edit Profile
  • Username change history in a member's profile
  • Moderators can change usernames at any time easily
  • "Can Change Own Username" permission for users
  • "Can Change Others Usernames" permission for mods
  • "Can View Own History" permission for profile block
  • "Can View Others History" permission for profile block
  • Per-usergroup username change delay (in days)
  • Per-usergroup profile history limit
  • Per-usergroup maximum total username changes


stefano9lli 03-01-2013 05:17 PM

how to disable revert username feature?

DragonByte Tech 03-01-2013 07:53 PM

That cannot be done, sorry.

Fillip

tr0ll 03-06-2013 12:49 PM

vb3 pls?

DragonByte Tech 03-06-2013 12:54 PM

There's currently no plans to release a vB3 version of this mod, though plans can change :)


Fillip

tr0ll 03-11-2013 04:53 PM

Warning: require([path]/dbtech/usertag/hooks/init_startup.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/init.php(304) : eval()'d code on line 20

Fatal error: require() [function.require]: Failed opening required '/home/ircforum/public_html/dbtech/usertag/hooks/init_startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ircforum/public_html/includes/init.php(304) : eval()'d code on line 20

deleted .xml ?

DragonByte Tech 03-11-2013 05:01 PM

This is not the support thread for the Advanced User Tagging mod.

Please re-download and re-extract that mod, then upload the contents of the upload folder to your public_html folder.

Fillip


All times are GMT. The time now is 02:57 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.01621 seconds
  • Memory Usage 1,844KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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