vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Login to external website (https://vborg.vbsupport.ru/showthread.php?t=237546)

Snakehill 03-05-2010 09:11 AM

Login to external website
 
I got a vBulletin forum on let's say aaa.com/forum and a chatroom on bbb.com. Would it be possible to add a login check to bbb.com so that only people who are logged in to the forum (aaa.com/forum) would be able to enter?

I guess some sort of external "if condition="$show['member']"-coding should make that possible but I'm a total noob in that case.

Any help would be much appreciated!

Hell Bomb 03-05-2010 03:20 PM

Well i have recently started to get a hold on php and this would not be easy it can be done using php you would need to have it hook onto the mysql database it will take alot of playing around with to make it work with vBulletin but start looking at php.

Snakehill 03-05-2010 04:24 PM

Well, I don't think this would work with the database/MySQL as that one isn't shared between the two of them.

All it needs to check for is if the person is a member of the forums, if he's registered, if there is a username available, anything along those lines (so the example of 'show' I used in the first post wouldn't work but something along these lines should).

If the user indeed is logged in, it should bounce back to the site. If not, the forum homepage should show.

As the most important part of it is the user check in vBulletin and I have absolutely no idea how to do that, or what the path would be in vBulletin, I would need some help with that.

Much appreciated.


All times are GMT. The time now is 06:41 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.01014 seconds
  • Memory Usage 1,708KB
  • 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
  • (3)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