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 change Unregistered usergroup ID (https://vborg.vbsupport.ru/showthread.php?t=323961)

Inna 12-02-2016 10:32 AM

How to change Unregistered usergroup ID
 
Hi, I heard it's possible to change the Unregistered usergroup ID in vBulletin, and I've googled but I think I googled not well enough, so that I could not see any relevant results.
How to change Unregistered usergroup ID? Now and by default it is 1, but for example I want to change it to 10! Or even a primary one, like 6!
How to do it?

Brandon Sheley 12-02-2016 11:51 AM

Why would you want to change the usergroup ID?

I have a feeling it's going to be a large task, the ID are only internally. The admin is the only one who would know it's been changed.

http://www.vbulletin.com/forum/forum...ing-a-group-id

Paul M 12-02-2016 12:02 PM

Quote:

Originally Posted by Inna (Post 2579037)
Hi, I heard it's possible to change the Unregistered usergroup ID in vBulletin, and I've googled but I think I googled not well enough, so that I could not see any relevant results.
How to change Unregistered usergroup ID? Now and by default it is 1, but for example I want to change it to 10! Or even a primary one, like 6!
How to do it?

You dont, it would most likely break things, while serving no purpose at all.

Inna 12-02-2016 01:20 PM

Quote:

Originally Posted by Brandon Sheley (Post 2579038)
Why would you want to change the usergroup ID?

I have a feeling it's going to be a large task, the ID are only internally. The admin is the only one who would know it's been changed.

http://www.vbulletin.com/forum/forum...ing-a-group-id

Thanks for your help, and I've learned a new thing in vBulletin
Quote:

Originally Posted by Paul M (Post 2579039)
You dont, it would most likely break things, while serving no purpose at all.

I'm going to test something and I changed the Unregistered ID in usergroup table to 12.
It seems my test worked well, not perfectly as I expected, but it's OK

Brandon Sheley 12-02-2016 03:39 PM

Quote:

Originally Posted by Inna (Post 2579044)
Thanks for your help, and I've learned a new thing in vBulletin

I'm going to test something and I changed the Unregistered ID in usergroup table to 12.
It seems my test worked well, not perfectly as I expected, but it's OK

There is more than one table that calls the usergroup ID.. :erm:


FYI.. there are 85 matches for "usergroup" in the vbulletin schema, which you can find in your install folder..
You will break the site if you changed one usergroup ID as you said..

Inna 12-02-2016 03:59 PM

Quote:

Originally Posted by Brandon Sheley (Post 2579048)
There is more than one table that calls the usergroup ID.. :erm:


FYI.. there are 85 matches for "usergroup" in the vbulletin schema, which you can find in your install folder..
You will break the site if you changed one usergroup ID as you said..

Really? Fortunately I was testing it on my test-site, so there's nothing to be worry about.

Yeah, I figured out changing usergroup table didn't work, then I reverted changed back!
And now my test is done via another method

Paul M 12-02-2016 09:32 PM

Quote:

Originally Posted by Inna (Post 2579044)
I'm going to test something and I changed the Unregistered ID in usergroup table to 12.
It seems my test worked well, not perfectly as I expected, but it's OK

Thats nice for you, there is nothing physically stopping you from changing any id value in any table, thats not the point. The point is some code is likely to rely on it being 1, so changing it will likely break something - and all for nothing, there is no gain in messing with internal ids, only pain, but if you think you know best, go for it.

Inna 12-02-2016 09:53 PM

Quote:

Originally Posted by Paul M (Post 2579066)
Thats nice for you, there is nothing physically stopping you from changing any id value in any table, thats not the point. The point is some code is likely to rely on it being 1, so changing it will likely break something - and all for nothing, there is no gain in messing with internal ids, only pain, but if you think you know best, go for it.

Yeah, I figured it out when I only changed guest id in usergroup tabel:)
Then I reverted any changes were done


All times are GMT. The time now is 03:41 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.01051 seconds
  • Memory Usage 1,735KB
  • 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
  • (7)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