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 10-04-2012, 03:32 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Reactivating Guests?

Is there any way at all to reactivate Guest accounts?

Someone is banned, and you decide to let them back and want to reactivate their account. Any way to do that?

Or at least merge them into a new account? (Can't do that using the merge function now).

Thanks!

Nelson
Reply With Quote
  #2  
Old 10-04-2012, 05:57 PM
BigAl205's Avatar
BigAl205 BigAl205 is offline
 
Join Date: Oct 2010
Location: Hayden,AL
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allthumbz View Post
Is there any way at all to reactivate Guest accounts?

Someone is banned, and you decide to let them back and want to reactivate their account. Any way to do that?

Or at least merge them into a new account? (Can't do that using the merge function now).

Thanks!

Nelson
How did you ban a guest? Do you have a usergroup called "guest"? If the person was a user or waiting for confirmation, you should be able to go in and change their primary usergroup back to "Unregistered/ Not Logged In"...unless I'm missing something.
Reply With Quote
  #3  
Old 10-05-2012, 01:13 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone is a registered user and you ban them, then they become a guest.

Later on, they rejoin- you want to reactivate them, change Guest to Registered. No Group named Guest, but all their posts are there as Guest. Any way to restore things?

Nelson
www.Hobby-Machinist.com
Reply With Quote
  #4  
Old 10-05-2012, 01:18 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allthumbz View Post
Someone is a registered user is banned and deleted and you ban them, then they become a guest.
I fixed this for you.
Simply banning a user doesn't make their account a "guest"
And to answer your question, it's going to be very hard to associate those post with a new user again since the member ID is destroyed.
Reply With Quote
  #5  
Old 10-05-2012, 01:25 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Their posts show

John Smith
Guest

So the system STILL has a record of their name SOMEWHERE.

Any way to restore this or even merge it if they return with a new ID?

Thanks,

Nelson
Reply With Quote
  #6  
Old 10-05-2012, 01:33 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allthumbz View Post
Their posts show

John Smith
Guest

So the system STILL has a record of their name SOMEWHERE.

Any way to restore this or even merge it if they return with a new ID?

Thanks,

Nelson
Not exactly
What I'm talking about is if you click my name, you'll see my ID is 80028
Those guest post have no ID now, so there is no way to associate them to an account.
You would need to make a new account, then go into the database and assign those post to that new ID.
Reply With Quote
  #7  
Old 10-05-2012, 02:23 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brandon Sheley View Post
Not exactly
What I'm talking about is if you click my name, you'll see my ID is 80028
Those guest post have no ID now, so there is no way to associate them to an account.
You would need to make a new account, then go into the database and assign those post to that new ID.
Not exactly.
The system STILL lists them as users even though they get listed as guests because they cannot register under their old ID. Their old ID is allocated somewhere. I would love t0o tweak the database to make this ID active again if possible, and if their posts have NOT been un-attributed to them (which I suspect), then they would have them back.

I suspect that the links in the database are NEVER actually broken. All that happens is that the user is listed as a Guest. I want to tweak the database to change that.

If that cannot happen, then your way. Create a new ID and attribute their Guest posts to it as you say. How would you do that?

Right now, you CANNOT create a new account and MERGE the posts from the new account with the GUEST posts using the system post-merge or user-merge functions.

And this is what I want to do.

Thanks.
Nelson
www.Hobby-Machinist.com
Reply With Quote
  #8  
Old 10-05-2012, 02:34 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright man, do what you want then..

I've answered your question, it's not an easy thing to assocate "guest" accounts with real accounts.

more info: https://www.vbulletin.com/forum/show...d-account-name
also: https://www.google.com/search?q=asso...h+new+accounts
Reply With Quote
  #9  
Old 10-05-2012, 10:30 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone else have any ideas of HOW to do this?

Thanks!


Nelson
www.Hobby-Machinist.com
Reply With Quote
  #10  
Old 01-02-2013, 02:57 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will these queries restore threads and IDs of deleted users in 4.2 PL3?

If you want to do it manually, here are the queries. For the posts:

Code:
UPDATE post
SET userid = x
WHERE username = 'oldusername';
For threads:

Code:
UPDATE thread
SET postuserid = x
WHERE postusername = 'oldusername';

Replace x with the user id of the member whose posts and threads you want to reassign and oldusername with the username of the deleted user. Also if you are using a prefix for your db tables, then append it to the table names in the queries above. Hope it helps.
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 02:44 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.04143 seconds
  • Memory Usage 2,252KB
  • 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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