vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Connector API for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=114338)

Alan @ CIT 05-14-2006 10:52 AM

Good job Noodles, looks like it could be handy.

Thanks,
Alan.

cristianmerz 05-15-2006 05:07 PM

The checkloggedin.php don?t work....the login.php is success but the checkloggedin.php sais "you are not logged in" :(

With the login.php and logout.php i can login correctly...i check it in the forum home and is fine..but i can?t check the login status with the checkloggedin.php. My VB is 3.5.4...Any idea?

Noodles24 05-16-2006 12:47 AM

If you do:

PHP Code:

print_r($_COOKIE); 

Does it return values for bbsessionhash, bblastvisit, bblastactivity etc?

Cheertobi 05-16-2006 08:24 AM

What is the best way to use this with another app?

Create a new user in the other app right after the registration user addUser?!

Tobi

cristianmerz 05-16-2006 11:27 AM

Quote:

Originally Posted by Noodles24
If you do:

PHP Code:

print_r($_COOKIE); 

Does it return values for bbsessionhash, bblastvisit, bblastactivity etc?

Yes...

In the checkloggedin.php file...

Array ( [panel] => a6f27d70e8e57c021cdae26984d7f232 [PHPSESSID] => 0a2fd7dc2169e9cd63065e4d31f4xxxx [bblastvisit] => 1147717890 [bblastactivity] => 0 [bbuserid] => 348 [bbpassword] => 2eb747ede87107257bac080bxxxxxxxx [bbsessionhash] => d3cf58a53dd98e657028aa9fb05594be [bbthread_lastview] => 54355fc31b0b2eb1e1f86bd672764313a-1-{i-12114_i-1147718592_} [vbulletin_collapse] => [bbreferrerid] => 0 [bbthreadedmode] => [bbstyleid] => 0 [bblanguageid] => 0 )

GrendelKhan{TSU 05-17-2006 10:48 AM

does the site need to be on the same host provider? or would this work with ANY site, so to speak?

cristianmerz 05-17-2006 11:05 AM

Yes. My webhosting is www.xmundo.net

Noodles24 05-19-2006 03:36 AM

Quote:

Originally Posted by GrendelKhan{TSU
does the site need to be on the same host provider? or would this work with ANY site, so to speak?

At the moment, yes. It needs to be included directly into the file you want to use the API with.

I may include some SOAP interaction later on.

Noodles24 05-19-2006 03:44 AM

Quote:

Originally Posted by cristianmerz
Yes...

In the checkloggedin.php file...

Array ( [panel] => a6f27d70e8e57c021cdae26984d7f232 [PHPSESSID] => 0a2fd7dc2169e9cd63065e4d31f4xxxx [bblastvisit] => 1147717890 [bblastactivity] => 0 [bbuserid] => 348 [bbpassword] => 2eb747ede87107257bac080bxxxxxxxx [bbsessionhash] => d3cf58a53dd98e657028aa9fb05594be [bbthread_lastview] => 54355fc31b0b2eb1e1f86bd672764313a-1-{i-12114_i-1147718592_} [vbulletin_collapse] => [bbreferrerid] => 0 [bbthreadedmode] => [bbstyleid] => 0 [bblanguageid] => 0 )

I'm unsure why it's not working. It uses the same code as vbulletin to intialize.

Try clearing your cookies and try logging in again

Noodles24 05-19-2006 03:48 AM

Quote:

Originally Posted by Cheertobi
What is the best way to use this with another app?

Create a new user in the other app right after the registration user addUser?!

Tobi

You can maintain two user tables if you want. The application I'm building at the moment is just going to use vbulletin as it's user base, then any extra information i need for a user will be stored in a seperate table against their userid


All times are GMT. The time now is 06:55 PM.

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.01042 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete