vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing a vBulletin user account from external? (https://vborg.vbsupport.ru/showthread.php?t=189660)

vBFreak 08-31-2008 06:52 PM

Removing a vBulletin user account from external?
 
I'm currently trying to integrate my login system and the vBulletin login system together. It already works fine for adding new users from my system to vBulletin by adding the user directly to the database and the login works aswell too.

The problem is the removal of a user, since I'm not sure where in the database I have to delete some stuff for that user or where on the file system I have to remove certain files matching to the user that should be removed. But I want to have a clean solution to do that, without having a risk of leaving some old stuff in my database from a user I have removed from external.

The problem is, if I try to include vBulletin files and try to use internal routines for removing the user it doesn't work correctly, and I can't use a plugin for this since a hook needs to be triggered first to execute it.

Is there any smart way to do that by using the vBulletin routines? I would even modify files if necessary, but I want to avoid that as much as I can, to be able to update my vB to future versions.

And, if we're on the topic, does any routine exist for adding users too I could use instead of just adding the user to the database by myself?

I hope somebody is able to help me, thanks :)

Marco van Herwaarden 09-01-2008 06:32 AM

You should not manually add/delete users from the database, use the DataManagers for this. See our articles section for articles on using the datamanagers.


All times are GMT. The time now is 07:39 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.00943 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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