vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - 3rd Party Login/Register/Autologin API (https://vborg.vbsupport.ru/showthread.php?t=168418)

oxylus 01-20-2008 10:00 PM

3rd Party Login/Register/Autologin API
 
1 Attachment(s)
3rd party login / register integration. Becouse i coudnt find any elegant and small solution for integrating the vbulleting in my site I had to make one myself. The tricky part was to stay and understand the vbulletin code, and how you guys are handing all the security and encoding parts.

This is the first version of the library. It will be extended in the following days/weeks to support multiple operations likes "list of users, last topics, delete user, logout, etc".

For the momment it supports:
  • adduser
  • login user
  • logout user
  • count threads ( global or by forum )
  • count forums ( global or my parent )
  • count users ( global or by type registered|admins|moderators etc )
  • count posts ( global or by thread )

Emanuel Giurgea,
OXYLUS Development
http://www.oxylus-development.com

dreads 01-21-2008 09:52 PM

Very interesting

Let me see if i can use this

iogames 01-21-2008 11:28 PM

Congrats on your first hack... but can this be tweaked to integrate vBulletin + oSCommerce? ;)

oxylus 01-21-2008 11:32 PM

Quote:

Originally Posted by iogames (Post 1426267)
Congrats on your first hack... but can this be tweaked to integrate vBulletin + oSCommerce? ;)

Hello,

I'm not familiar with oscommerce, but considering all it does its to login to a database and set a couple of cookies there should be no problems with integrating in anything.

Emanuel

carubmun 01-22-2008 01:06 AM

If this could be integrated with Joomla it would be killer since thats such a huge installbase.

moon_spell 01-22-2008 02:26 PM

1 Attachment(s)
thanks nice hack !

the attachments are some nuke blocks ! what i need to do is that the locations like showing user avatar or onlines or forum infos to vbulltin ! and login also , can u do this for me please ?
every thing inside thease files is coded to nuke and phpbb fdirectory ! so all the same but vbulltin informations !
and how can i show the navbar code of vbulltin working on html file ?

oxylus 01-22-2008 04:59 PM

Quote:

Originally Posted by moon_spell (Post 1426669)
thanks nice hack !

the attachments are some nuke blocks ! what i need to do is that the locations like showing user avatar or onlines or forum infos to vbulltin ! and login also , can u do this for me please ?
every thing inside thease files is coded to nuke and phpbb fdirectory ! so all the same but vbulltin informations !
and how can i show the navbar code of vbulltin working on html file ?

Hi,

Un fortunately I cant help you at this point. I started to working with vbulleting only 2 days ago and i'm not familiar with its code and locations and so on.

Emanuel

ragtek 01-22-2008 08:52 PM

a little tip:
instead of "hardcoded tablenames why you not do it like in vbulletin:
" . TABLE_PREFIX . "users instead of "forum.users",

dinodonk 01-22-2008 11:21 PM

how to use this with gmail hosted service?

Thanks

oxylus 01-22-2008 11:24 PM

Hi,

THats not part of the acctualy library. You can set the tables array you send to the CForumVbulletin class as you want.

For example i'm using something like <database>.tablename becouse i dont have the forum and the main site in the same database.

I'll add an example for who might be interested when i put the next version online. :)

All the best,
Emanuel


All times are GMT. The time now is 03:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete