vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Reactivating Guests? (https://vborg.vbsupport.ru/showthread.php?t=288639)

Nelson58 10-04-2012 03:32 PM

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

BigAl205 10-04-2012 05:57 PM

Quote:

Originally Posted by Allthumbz (Post 2370748)
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.

Nelson58 10-05-2012 01:13 PM

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

Brandon Sheley 10-05-2012 01:18 PM

Quote:

Originally Posted by Allthumbz (Post 2370950)
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.

Nelson58 10-05-2012 01:25 PM

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

Brandon Sheley 10-05-2012 01:33 PM

Quote:

Originally Posted by Allthumbz (Post 2370954)
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.

Nelson58 10-05-2012 02:23 PM

Quote:

Originally Posted by Brandon Sheley (Post 2370955)
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

Brandon Sheley 10-05-2012 02:34 PM

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

Nelson58 10-05-2012 10:30 PM

Anyone else have any ideas of HOW to do this?

Thanks!


Nelson
www.Hobby-Machinist.com

Nelson58 01-02-2013 02:57 PM

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.


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