Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2003, 06:29 PM
poi@nwdnb poi@nwdnb is offline
 
Join Date: Sep 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Embedding vBulletin into an ASP-based site.

Hi there.

I have been brought onto the development team for a website that we are building in ASP VBScript. My preference is of course PHP but this is not to everyone's taste so ASP is the way things are going. We have been running VBulletin (on a seperate linux server) for some time now, and are very pleased with it.

The main ASP site will have support for members to log in and modify certain sections we allow them to (a la vBulletin user groups), and I am looking for a solution, so that users can use the same login name / password for the main site, and the forum, and when logged into one or the other, they are logged into both.

I suspect we can make the ASP login scripts act as a "wrapper" for the vbulletin login sequence, and then it would just be a case of utilising the cookies generated by the forum in the ASP scripts.

Does anyone have any experience with this, or any pointers as to how we might move forwards?

I appreciate this isnt really a vbulletin question as such, but any input would be greatly appreciated.
Reply With Quote
  #2  
Old 01-12-2003, 10:21 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use ODBC in ASP to connect to the mysql server for checking username / pass. So its not really that hard, the other people on the team should have no bother with that.
Reply With Quote
  #3  
Old 01-14-2003, 10:46 AM
poi@nwdnb poi@nwdnb is offline
 
Join Date: Sep 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, we have made some progress with this since i posted.

It appeares you cant connect to MySQL without installing MyODBC (an ODBC driver provided by the people who make MySQL), and as we dont have administrative rights on the server this isnt an option.

I have instead just put a login form on the ASP site that submits to member.php to log in users, and then the ASP site just checks for the presence of the bbuserid cookie. This works for us luckily, because both sites are on the same domain (different subdomains tho).

It means obviosuly i cant access the MySQL vbulletin database, but this is something that can be worked around for us.

We were going to do as you said PPN, and just use the one MySQL database for everything, but we hit up against this necessity of MyODBC problem.

Thanks for your input tho
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 10:41 AM.


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.04024 seconds
  • Memory Usage 2,168KB
  • Queries Executed 11 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete