Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2015, 12:58 PM
faisalb6 faisalb6 is offline
 
Join Date: Jan 2015
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Ldap vBulletin 5.*.*

I am trying to develop a code to allow connect with Active directory database. I managed to integrate in version 4.2.2 but with the new MVC mode and API in version 5 of vbulletin I can not find my way. who can help me?

And thanks for help
Reply With Quote
  #2  
Old 04-23-2015, 07:08 AM
faisalb6 faisalb6 is offline
 
Join Date: Jan 2015
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I come back after several research the connection vBulletin 5 and AD (Active Directory) and I found a solution inspired by the old solutions. I would give it to avoid loss of time for people who have this problem.

I test the connection ldap vBulletin 5.1.5 and 5.1.6 and it worked.
My lack of knowledge vbulletin I am not come to an interface in the admincp. All I've managed to do is direct changes to the source code and that is not always advisable.
I am open for all aids to improve my solution.

The operating principle:
+
I made changes on vbulletin style to avoid problems change password and email.
Also, the procedure of actionLogin () that will enable ldap and local connection.


Download the file.zip and you find all the steps to run the ldap connection. I said that I have tested this method with vBulletin 5.1.5 and 5.1.6.

If you have problems I remain available to help you.

Good luck
Attached Files
File Type: zip files.zip (10.2 KB, 48 views)
Reply With Quote
Благодарность от:
Brandon Sheley
  #3  
Old 05-08-2015, 02:03 PM
Soidberg Soidberg is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisalb6 View Post
...I managed to integrate in version 4.2.2 ...
Can you help me to get this feature up and running in 4.2?
Reply With Quote
  #4  
Old 05-08-2015, 05:57 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this is a plugin/mod to be added to this category ?
I love the solution provided but OP has a question..
Reply With Quote
  #5  
Old 05-11-2015, 12:37 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisalb6 View Post
I am trying to develop a code to allow connect with Active directory database. I managed to integrate in version 4.2.2 but with the new MVC mode and API in version 5 of vbulletin I can not find my way. who can help me?

And thanks for help
There is some documentation of the VB5 API here- [s]http://vbulletin.wayneluke.com/api/[/s] - it may not be complete or up to date but it is a start.

Edit 2016 - API documentation moved to http://vb5support.com/resources/api/
Reply With Quote
  #6  
Old 05-13-2015, 11:22 AM
faisalb6 faisalb6 is offline
 
Join Date: Jan 2015
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Soidberg,

Right now I'm at exam time and I did not have much time to redo the changes for version 4.2 but I promise you that from the beginning of June I'll post the solution.

Thank you for your understanding

--------------- Added [DATE]1431523485[/DATE] at [TIME]1431523485[/TIME] ---------------

Quote:
Originally Posted by SaN-DeeP View Post
Is this is a plugin/mod to be added to this category ?
I love the solution provided but OP has a question..
Hi,

I didn't the question. This is not a mod or plugin but a method to use the ldap connexion.

--------------- Added [DATE]1431523526[/DATE] at [TIME]1431523526[/TIME] ---------------

Quote:
Originally Posted by BirdOPrey5 View Post
There is some documentation of the VB5 API here- http://vbulletin.wayneluke.com/api/ - it may not be complete or up to date but it is a start.
Thank you very much i'll take a look
Reply With Quote
  #7  
Old 09-28-2016, 02:32 PM
SixAxis SixAxis is offline
 
Join Date: Sep 2016
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone actively working this mod? Unable to import the template in to VB5 5.2.3 or 5.2.4 says XML is not in the proper format. Would really like to get VB5 working with AD.
Reply With Quote
  #8  
Old 10-01-2016, 08:01 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The VP5 API Documentation I posted about earlier was moved some time ago to: http://vb5support.com/resources/api/
Reply With Quote
  #9  
Old 10-01-2016, 01:05 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
The VP5 API Documentation I posted about earlier was moved some time ago to: http://vb5support.com/resources/api/
Returns 404 error.
Reply With Quote
  #10  
Old 10-02-2016, 06:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, it sure does. It was working last time I tried. I'll see if I can get an updated address.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04538 seconds
  • Memory Usage 2,284KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete