vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is it possible to search for posts made by 'deleted users'? (https://vborg.vbsupport.ru/showthread.php?t=177523)

Megatr0n 04-29-2008 05:55 PM

Is it possible to search for posts made by 'deleted users'?
 
There's users who I deleted who contributed thousands of posts but forgot to Prune all their posts/threads. They appear as guest now. Anyway you can search for them and delete them? A friend of mine I might be able to execute an SQL command?

Maybe a hack?

Jase2 04-29-2008 06:04 PM

Try:

DELETE FROM post WHERE username='name' AND userid='0';

Run the following after running that query:

Admin CP -> Import & Maintenance -> Update Counters -> Remove Orphan Posts & Rebuild Thread Information


Remember to backup your database before even running the query ;)

Megatr0n 04-29-2008 06:22 PM

Awesome, thanks man. :D

One more thing. How do I turn on the option where you can see which, thread a user is viewing when you click on their profiles? Just like here on vb.org.

Jase2 04-29-2008 06:47 PM

It should do that automatically.

If you're on about the Currently Active Users Viewing This Thread: at the bottom of a thread, then you need enable it be doing the following :

ACP --> vBulletin Options --> Thread Display Options (showthread) --> Show Users Browsing Threads

Megatr0n 04-29-2008 07:02 PM

Jason,

No, when you access someone's profile it tells you what thread they're viewing. For example, when I access your profile (whilst typing this post) it says Viewing Thread Request: Mod Upgrade for 3.7.0 @ 20:55

On my forum when accessing someone's profile it just gives us the time of his/her last activity.

Jase2 04-29-2008 07:39 PM

That is in by default. If it says Last Activity, then that means that haven't been active for a certain period of time.


All times are GMT. The time now is 11:33 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.01045 seconds
  • Memory Usage 1,715KB
  • 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
  • (6)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