Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #32  
Old 06-17-2006, 08:57 PM
K1ng0e K1ng0e is offline
 
Join Date: May 2006
Location: Fr
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

List product add product del product and all same for templates !
Reply With Quote
  #33  
Old 09-14-2006, 11:54 PM
dvanwijk dvanwijk is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this on vb3.5.4 and it works great.

Is there an update for 3.6.1?

Thanks,
Dan
Reply With Quote
  #34  
Old 10-04-2006, 01:51 AM
Noodles24 Noodles24 is offline
 
Join Date: Jul 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on an update at the moment

Will also be looking at a way to seperate the code from vbulletin as much as possible
Reply With Quote
  #35  
Old 11-02-2006, 11:14 AM
EdKohlwey EdKohlwey is offline
 
Join Date: Oct 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been pretty disappointed by vB's lack of an API, and otherwise sometimes sloppy and poorly documented codebase (I know I may get some major boo-hiss on that comment, but I'm a Java and .Net programmer).

That having been said though, major props on this! It would be good to see the addition of methods for all major vBulletin functions, like subscribe to thread(s), post/reply (actually submitting a post/reply), account maintainence, etc. Lots of people already have sites/CMS'es that do a pretty darn good job of profile management, and it doesn't make sense for a user to maintain two profiles.
Reply With Quote
  #36  
Old 12-10-2006, 08:26 PM
tassoman tassoman is offline
 
Join Date: Sep 2005
Location: Bologna, Italy
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, after I've updated to 3.5.7 I still recieve a fatal error:

Code:
Fatal error: Call to a member function unlock_tables() on a non-object in /var/www/virtual/domain.tld/forum/htdocs/includes/functions.php on line 4488
Seems an object isn't initiated.
Reply With Quote
  #37  
Old 12-12-2006, 02:18 PM
tassoman tassoman is offline
 
Join Date: Sep 2005
Location: Bologna, Italy
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have also encountered errors evalutating usernames with special chars.

Into my DB i have registered an user called <~^_ Th? T?s7 _^~> so if i try a
Code:
$obj->doLogin('<~^_ Th? T?s7 _^>', 'hispasswd');
i can't get the user logged.

Is there some VB API class/method who correctly converts special chars ?
Reply With Quote
  #38  
Old 02-21-2007, 09:06 PM
licinio licinio is offline
 
Join Date: Feb 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I´m using vbulletin 3.6.4

login works correctly for me,
but checkloggedin doesn´t work

any idea? I´m desperated

thanks
Reply With Quote
  #39  
Old 03-13-2007, 11:59 PM
chubba chubba is offline
 
Join Date: Oct 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine on 3.6.4, however i had to make one change to class_core.php

line 2381 from

define('TABLE_PREFIX', trim($this->config['Database']['tableprefix']));

to

define('TABLE_PREFIX', trim($config['Database']['dbname'].".".$this->config['Database']['tableprefix']));

i think its probably to do with my code, not yours, but it may help some one else out ;-0)
Reply With Quote
  #40  
Old 04-08-2007, 05:24 PM
axe70's Avatar
axe70 axe70 is offline
 
Join Date: Apr 2002
Location: Perugia, Italy
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Thank to you boy!
Please, take your work always updated. Big thank to you!
Reply With Quote
  #41  
Old 04-25-2007, 02:24 AM
toneill2000 toneill2000 is offline
 
Join Date: Apr 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Noodles,
I've installed the API and I have a few questions. Is there any documentation on the classes? For example, what does the third parameter on the doLogin mean? It's called "$cookiesend" but I don't really know what it does.

Have said that, there are other simple questions I have which could be easily answered with some documentation. Is there any documentation? thanks.
Todd
Reply With Quote
Reply

Thread Tools

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 06:44 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.05087 seconds
  • Memory Usage 2,300KB
  • 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
  • (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