Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Connector API for vBulletin Details »»
Connector API for vBulletin
Version: 0.02, by Noodles24 Noodles24 is offline
Developer Last Online: Apr 2018 Show Printable Version Email this Page

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.

Comments
  #52  
Old 01-15-2008, 03:10 PM
korbn korbn is offline
 
Join Date: Jan 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #53  
Old 03-03-2008, 08:31 PM
gdll gdll is offline
 
Join Date: Mar 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi !

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 ?

cheers

hmm it was an issue with IE... works!
Reply With Quote
  #54  
Old 04-06-2008, 07:47 PM
papaschloss papaschloss is offline
 
Join Date: Mar 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Thanks.
Reply With Quote
  #55  
Old 04-07-2008, 04:08 PM
papaschloss papaschloss is offline
 
Join Date: Mar 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #56  
Old 11-06-2008, 12:20 AM
fredang85 fredang85 is offline
 
Join Date: Sep 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anything similiar for 3.7?
Reply With Quote
  #57  
Old 11-22-2008, 10:26 PM
CGhostGroup CGhostGroup is offline
 
Join Date: Oct 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should it be possible to get Data like:
Read/Unread PM's, Unread (new) Postings?
Reply With Quote
  #58  
Old 11-25-2008, 01:23 PM
sknight sknight is offline
 
Join Date: Nov 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imizz View Post
Hi!
i've installed API and i've this error:
Code:
Fatal error: Call to a member function unlock_tables() on a non-object in /usr/local/apache2php/htdocs/forum/includes/functions.php on line 5189
could someone help me?
..and great API!!of course
Same problem here, that's 3 of use using 3.7
Reply With Quote
  #59  
Old 02-13-2009, 07:35 PM
CGhostGroup CGhostGroup is offline
 
Join Date: Oct 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add an
PHP Code:
error_reporting(0); 
Reply With Quote
  #60  
Old 04-02-2009, 12:30 AM
dcolumbus dcolumbus is offline
 
Join Date: Mar 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Am I missing something?
Reply With Quote
  #61  
Old 04-14-2009, 10:19 AM
Burgy Burgy is offline
 
Join Date: Aug 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 01:21 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.07649 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete