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

msworld 01-23-2008 05:54 AM

how can you use this to be able to use an login.aspx page and then have it integrate the login with vbulletin software without having to edit a ba:Dzillion pages.

oxylus 01-23-2008 11:28 AM

Quote:

Originally Posted by msworld (Post 1427142)
how can you use this to be able to use an login.aspx page and then have it integrate the login with vbulletin software without having to edit a ba:Dzillion pages.

You need to rewrite this in aspx. Shoudnt be so hard if you look to this library and only "translate" :)

I can help you becouse i have noone knowing asp.

Emanuel

dinodonk 01-23-2008 10:48 PM

Quote:

Originally Posted by oxylus (Post 1426961)
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

I would like to use your hack for gmail hosted service, but i am not a php expert. could you please help me?

Marco van Herwaarden 01-24-2008 10:35 AM

I strongly suggest you have a read at our Articles forum on how to write scripts using the vBulletin backbone.

To ensure data integrety and that future vB changes will continue to work, i also suggest to use the DataManagers where possible (for example to create a user).


All times are GMT. The time now is 02:03 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.01099 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete