vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   login hook (https://vborg.vbsupport.ru/showthread.php?t=99994)

tema 11-03-2005 01:23 PM

login hook
 
Hi!
is there some hook witch provide me to check another user base before it check it in vbulletin base? (i need it to synk vbulletin with ldap).

Andreas 11-03-2005 01:34 PM

There are several Hooks, checkout functions_login.php

tema 11-07-2005 07:49 AM

Quote:

Originally Posted by Andreas
There are several Hooks, checkout functions_login.php

Ok, im using login_verify_failure_username hook. But i need not hashed password to check some info. But vb_login_password is allways empty, only md5hash... :(

vBintense 11-07-2005 08:01 AM

It is hashed before it even makes it to the php. You have to alter the login template

tema 11-07-2005 08:12 AM

Quote:

Originally Posted by insane-topics
It is hashed before it even makes it to the php. You have to alter the login template

Ok, im made it by defining DISABLE_PASSWORD_CLEARING constant in global_start plugin
Finaly im made ldap auth :)

fyjpm 02-13-2006 08:04 PM

Quote:

Originally Posted by tema
Ok, im made it by defining DISABLE_PASSWORD_CLEARING constant in global_start plugin
Finaly im made ldap auth :)

I'm trying to do something similar in global_start hook...how did you define it to work? like this?

$DISABLE_PASSWORD_CLEARING = 1;

or is there a need to make it a "global variable"? Many thanks...


All times are GMT. The time now is 07:50 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.01938 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
  • (3)bbcode_quote_printable
  • (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