Version: 0.02, by Noodles24
Developer Last Online: Apr 2018
Version: 3.5.4
Rating:
Released: 04-28-2006
Last Update: 05-10-2006
Installs: 50
Additional Files Is in Beta Stage
No support by the author.
What it does
Allows you to access vBulletin functions and data through an API. This is useful if you want to tie vBulletin into a larger site and allow the users to only have 1 login for site/forum.
Allows other applications to edit data in vBulletin
Warning
This API opens up a lot of the internal functions of vBulletin, use it carefully and do not trust any input from the browser. Clean and validate your inputs!
Installation
Unzip the files into your the root of your forum
You may need to change
PHP Code:
/* User changable options */
// change this to your forum path.
$forumroot = $_SERVER['DOCUMENT_ROOT']."forum";
/* end of User changable options */
in the connector.class.php if your forum doesn't sit in /forum/ on your site.
[0.02]
Added addUser function
Added delUser function
Added getUser function
Added editUser function
Cleaned up code
Added comments
Fixed warnings in 3.5.4
Fixed PHP4 incompatability
[0.01]
Initial quick dirty release.
Includes basic API
Allows login/logout through API
TODO:
Error checking function(s)
Forum listings
Topic/Post listings
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I don't if this nice Mod still updated but, I have the error of lock_tables.
<b>Fatal error</b>: Call to a member function unlock_tables() on a non-object in <b>/var/www/dev.jardipedia.com/forum/includes/functions.php</b> on line <b>5218</b>
I also want to ask about the cookiesend. I installed on latest vbulletin ( 3.6.8) and the doLogin function appears to be working: I see a session created in the session table in the database, but the client browser does not receive any cookie from the forum....
Could anyone tell me where is the code that should send the cookie to the client browser ?
My problem is that no changes are made to the session table in the database when a user logs in *and* no cookies get sent. I think I'm close to getting this to work but I need some help.
I can get session info to be written to the database now in the goLogin function. After the call to processNewLogin(), I had to insert the code:
Code:
$vbulletin->session->save()
I'm still having problems with cookies though. In my browser, when I print out $_SERVER I see the expected cookies; however, when I inspect cookies using my browser, they are not there. Still working on it.
So far all I seem to be able to get is connector.class.php printed out to the page...
This is what I've done:
1) uploaded to the server
2) changed the forum root path
3) uploaded the createuser.php sample script
3) run the script directly
First of all, I don´t need the functions with the user integration, because I use already Mediwiki Bridge to vBulletin and facebook login. In combination very powerfull and works great.
BUT: The API is the only way to make our little aplications in the net work together, and that apreache - clearly it comes from a c develloper - is absolutly great.
What nearly everbody could need in this api.
Use vBulletin an comment engine for any given page, meaning to syndicate and to write from some content and have the vbulletin discussion be syndicated below or beside the outside content. Let it be comments, or let it be advice or what ever is semantic and interaction data of human conversation could be syndicated in any given content on the same or with securety mesures on any given page. That would make vBulletin to much more, than it is.
Thank you very much for this project, and I hope development is not to difficult considering the vB Code.
=> Every function is apreaciated
Sincerely yours
Burgy