Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2012, 09:32 PM
lafsunlmtd lafsunlmtd is offline
 
Join Date: Jul 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Strange issue with usergroups

Hey all! So I am having this issue with usergroups. Basically what happened is I had some promotions running with a certain user group. Well, I recently deleted the promotion and the usergroup. The problem I am having is that now when anyone registers for the site, they automatically get put into that user group that was deleted. I haven't modified the files at all, so I know it's not in the code. I actually looked in register.php and the $newusergroupid still = 2. So any time someone registers it automatically assigns them to usergroup 15 and I am bashing my head against a wall trying to figure out why. Has anyone experienced this before? It just started happening out of the blue. Any help would be appreciated. Thanks!
Reply With Quote
  #2  
Old 01-18-2012, 10:49 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check your custom plugins could be one of them that is doing it one comes to mind spam o matic does this
Reply With Quote
  #3  
Old 01-24-2012, 03:06 PM
GhettoTech GhettoTech is offline
 
Join Date: Jan 2012
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been working with Lafsunlmtd on this issue and we are still having users being placed into a usergroup that no longer exists. We've disabled all plugins and re-enabled them as well. Does anyone know or understand how this is happening?
Reply With Quote
  #4  
Old 01-24-2012, 03:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you look through the mods you have installed (as was mentioned above)? I know there's one that assigns the initial user group based on the email domain (and there are probably others that are similar). You could disable all plugins (by putting define('DISABLE_HOOKS', 1) in your config.php) and try a registration just as a test.

I assume you checked the promotions to make sure there isn't one promoting user there (yeah, it probably should get deleted or at least not be active if the usergroup is deleted, but maybe it didn't).
Reply With Quote
  #5  
Old 01-24-2012, 03:20 PM
GhettoTech GhettoTech is offline
 
Join Date: Jan 2012
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know what plugin does that? We will try disabling the hooks in a little bit. We did however disable all plugins manually and that didn't work.
Reply With Quote
  #6  
Old 01-24-2012, 03:53 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know the exact plugin. If you disabled all the plugins (not just all the products) then that should have done it - but it wouldn't hurt to try disabling the hook system.
Reply With Quote
  #7  
Old 02-06-2012, 01:46 PM
lafsunlmtd lafsunlmtd is offline
 
Join Date: Jul 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, so this problem still hasn't gone away. I have disabled everything that was installed and it's still doing the same thing; assigning every new user to group 15. So here is some more information that my be pertinent: I had a promotion set up for that usergroup. However, I deleted the usergroup before I deleted the promotion. I am not sure if that helps or has anything to do with the issue, but thought it may be helpful. Thanks!
Reply With Quote
  #8  
Old 02-06-2012, 02:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I assume that you've checked to make sure the promotion doesn't show up in the promotion manager? You could check the db but I guess if one was there it would show up in the promotion manager.

Could you possibly have edited any of the vb files? I believe the usergroup that new users are placed in is coded into one of the scripts. The promotions don't take place right away so it would make sense to have to set the group another way.
Reply With Quote
  #9  
Old 02-23-2012, 07:32 PM
lafsunlmtd lafsunlmtd is offline
 
Join Date: Jul 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I've checked all of that and it is gone. I have checked the database and nothing there. I looked into the file that sets the user group on registration and I can clearly see that it is set to register them as usergroup 2. I am at a loss for words here. None of the files were edited but it continuously registers them as group 15. I have disabled all plugins and everything and still nothing. This is very strange.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:49 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.04403 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete