vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to mass reset all custom user titles set by users (https://vborg.vbsupport.ru/showthread.php?t=304984)

scoutz 11-24-2013 06:14 PM

How to mass reset all custom user titles set by users
 
I need to reset all user titles to the default name, and erase the custom titles the users put up, because i disabled custom usertitles in all my usergroups. So now I need it to display the user title i put up for each group instead of the custom one they put up. :)

I haven't found anything helpful, I wish there was a simple tool in vb cp to do this. Maybe there is?

I already tried this https://vborg.vbsupport.ru/showpost....74&postcount=2
It didn't work. I updated all user titles after that and nothing.

That is really old, I don't think it works with vb4. :down:

:confused: I'm very lost now.

Max Taxable 11-24-2013 06:53 PM

Quote:

Originally Posted by scoutz (Post 2463414)
I already tried this https://vborg.vbsupport.ru/showpost....74&postcount=2
It didn't work.

There is no way that query doesn't work. Did you execute it in AdminCP>Maintenance?Execute SQL Query?

it may have to be styled a little differently for the server you're on, but I doubt it.

scoutz 11-24-2013 08:16 PM

Quote:

Originally Posted by Max Taxable (Post 2463429)
There is no way that query doesn't work. Did you execute it in AdminCP>Maintenance?Execute SQL Query?

it may have to be styled a little differently for the server you're on, but I doubt it.

I executed that, but not from AdminCP. I did it from PHP MyAdmin.
Didn't work... I don't know what could be wrong.

Max Taxable 11-24-2013 08:45 PM

Try "usertitle" instead of "customtitle" ??

Or try: UPDATE user SET customtitle = ’0′ where customtitle = ’1′

scoutz 11-29-2013 03:02 AM

Quote:

Originally Posted by Max Taxable (Post 2463450)
Try "usertitle" instead of "customtitle" ??

Or try: UPDATE user SET customtitle = ?0′ where customtitle = ?1′

Well, I think it worked now! I checked several profiles and they all seem to have reseted to what is set as default usergroup name.

Thanks!

Max Taxable 11-29-2013 03:13 AM

Well see? Happy Thanksgiving!

Simon Lloyd 11-29-2013 03:30 AM

If you've disabled custom user titles you should be able to go in to edit the usergroup and set custom title to yes admin set, that way you set the title and they'll all get what you set or what you set individually.

scoutz 11-30-2013 05:33 PM

Quote:

Originally Posted by Max Taxable (Post 2464468)
Well see? Happy Thanksgiving!

Happy Thanksgiving! :)

Quote:

Originally Posted by Simon Lloyd (Post 2464475)
If you've disabled custom user titles you should be able to go in to edit the usergroup and set custom title to yes admin set, that way you set the title and they'll all get what you set or what you set individually.

Yeah but I have way too many users to go through individually, that would be crazy. Can't even image. I'm very glad this worked.


All times are GMT. The time now is 02:02 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.00966 seconds
  • Memory Usage 1,725KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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