vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Quick Question about Usergroup ids (https://vborg.vbsupport.ru/showthread.php?t=230715)

-=Leb=- 12-21-2009 07:05 PM

Quick Question about Usergroup ids
 
Hi everyone, I know this subject is already posted in here, but its super hard to find the thread.

Anyway i have one question, how can i change the custom usergroup's :id like change a usergroupid 20 to 16? Same thing with the user's id. Is there aways to change user's ids .


I'm still using vb 3.8.4 waiting till the vb 4 gold version release :)

Lynne 12-21-2009 09:30 PM

Do NOT do this. There is no reason to do it and most likely you will screw things up and break a user profile or two or a hundred. You can't just change a userid in one table - there are many tables it effects. Same with the usergroup id.

-=Leb=- 12-21-2009 09:39 PM

hi lynne, thx for your reply. i just created a new usergroup, and no one is added on it yet. the user id on it is 20, and i wanna change it to 16 because theres no usergroup above 15.
I have only 15 usergroups the user groups number 16, 17, 18, 19 are deleted long time ago.

Lynne 12-21-2009 09:49 PM

Who is going to ever notice the usergroup id? No one. So, I'd just leave it alone.

You can go play with changing it on your test site if you absolutely want to do this. Off the top of my head I know you would have to change the usergroup table and I think the cms permission table. Perhaps a blog permission table too? I really don't know.

-=Leb=- 12-21-2009 10:32 PM

alright , thx for the info, and i'm not gonna taking any risk lol. will leave it just like that :)


All times are GMT. The time now is 04:31 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.01358 seconds
  • Memory Usage 1,706KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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