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
  #42  
Old 06-15-2007, 11:09 AM
imizz imizz is offline
 
Join Date: May 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #43  
Old 08-19-2007, 03:43 AM
treelovinhippie treelovinhippie is offline
 
Join Date: Jul 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey mate

Does this work for v3.6.8?

I'm not getting anything when trying to add a new user
Reply With Quote
  #44  
Old 09-05-2007, 02:01 PM
suraev's Avatar
suraev suraev is offline
 
Join Date: May 2007
Location: Minsk, Belarus (Europe)
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this hack! It was very useful for me and I hope that its development will continue.
Reply With Quote
  #45  
Old 09-28-2007, 07:34 AM
prawn prawn is offline
 
Join Date: Mar 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same for me. Thank you very much as it is a good base for my needs.
Reply With Quote
  #46  
Old 11-06-2007, 08:33 AM
satjoe2003 satjoe2003 is offline
 
Join Date: Nov 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant add-on! Thanks a lot!
Reply With Quote
  #47  
Old 11-28-2007, 11:59 AM
columbusgeek's Avatar
columbusgeek columbusgeek is offline
 
Join Date: Sep 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Agreed, can anybody verify thsi working 3.6.8
Reply With Quote
  #48  
Old 12-29-2007, 02:47 AM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on 3.6.8 and login and adduser works great... I'll keep you posted!

One snag I did run across is that BIRTHDAY is required for adduser. You need to pass username, password, email, day, month, year (where day, month, year are birthday).
Reply With Quote
  #49  
Old 12-31-2007, 03:09 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using this on 3.6.8 and it's working really well! I appreciate this, as I needed to integrate my site login with the boards.

Thanks again!
~ Jennifer

:up:
Reply With Quote
  #50  
Old 01-04-2008, 01:01 PM
dionsis dionsis is offline
 
Join Date: Aug 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its appears PHP5 throws up a lock_tables error when trying to do a logout on this

Would love to see further development and updates on this as its a fantastic mod
Reply With Quote
  #51  
Old 01-04-2008, 05:23 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree (about updates). This script has been a lifesaver and couldn't find anything similar anywhere else.

I also sometimes get a redeclare error:

Fatal error: Cannot redeclare iif() (previously
declared in
.....functions.php:51) in
....functions.php on line 51

I'm using include_once instead of include.. hoping to alleviate that, but nothing seems to work.
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 07:18 PM.


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.10572 seconds
  • Memory Usage 2,305KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (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
  • (4)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