The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB API question
First of all I'd like to know if I am using the API for something that it is intended for (or possible nonetheless).
I am trying to utilize the API to log users into my vB installation when they log into another part of the site. That is, I want them to seamlessly be able to navigate an existing wordpress installation (with 15k existing accounts) and the newly installed vB forums. I have ported the accounts over already. That is not much of a problem (except for the passwords....) Now I am trying to set it so that when they log into the WP, the API logs them into the vB. Will this work? Is there a better way to get the desired result? |
#2
|
||||
|
||||
If you include the global.php file, then a session gets started for the user in vbulletin. Are you using the same username/password for both wordpress and vB?
|
#3
|
|||
|
|||
That seems to be something that will need to be done. I can't decrypt the existing passwords, I was thinking about overwriting the password when they log into wordpress. This way the password will be the same even if they change it in wordpress.
So if I include the global.php, I still need to pass their credentials to vB to get the session to be of a logged in status. Also, I have vB running inside of WP. So if I call vB in WP, it will essentially call WP twice and cause issues. I guess I just need to know what the best way to log into vB from outside of vB is. Is the API the way to do that? |
#4
|
||||
|
||||
I have seen wordpress to vB bridges before. Have you done any sort of search to find one?
|
#5
|
|||
|
|||
extensive research. Everything that is out there is not compatible with vB 4x
I've got 90% of it done. I just need to know why the API isn't working or another way to set the session. |
#6
|
||||
|
||||
Most of the php code for a bridge should be compatible with vb4. Any template code would definitely not be, but the basic php should be fine whether it is vb4 or vb3.
|
#7
|
|||
|
|||
I will look into it. Thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|