vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Expire Users Account (https://vborg.vbsupport.ru/showthread.php?t=222227)

JulianPerry 09-01-2009 01:00 PM

Expire Users Account
 
Not sure if this is the best place, feel free to move or point me in the right place if not.

I have integrated vBulletin with another system, the users sign up to an account which then programmatically creates the relevant user account in vBulletin, creates the cookies whenever they sign in to the other system and all log outs reroute back to the site. This all works fine.

What I am having an issue with is expiring accounts, when the user signs up for an account on the other system it is valid for 1 year only, after that time the account becomes invalid and is no longer usable. I need to do the same thing in vBulletin and from what I can tell there is no concept of an account being valid or invalid based on a date.

Any advice on how to do that, ideally when the account is created (set a date in the future to expire), or worst case in bulk once a day, i.e. a bulk extract of expired users which I then feed in to vBulletin. Also ideally this needs to be an automatic process rather than manual.

snakes1100 09-01-2009 07:38 PM

You should post in the coding forum here and ask, or you can post for a paid job in the appropriate forum.


All times are GMT. The time now is 11:26 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.01932 seconds
  • Memory Usage 1,703KB
  • 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