vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   using gigya with vbulletin (https://vborg.vbsupport.ru/showthread.php?t=315711)

itayKinnrot 11-29-2014 07:49 PM

using gigya with vbulletin
 
Hi,

currently im using gigya user management for my blog (wordpress) and want to use it also for my vbulletin forum.
i consider using vbsso to connect wordpress with vbulletin. anyone tried it? any suggestions?

gigya has the ability to connect any PHP platform with include_once "./GSSDK.php";
http://developers.gigya.com/030_Serv...ding_a_Request
where should i put this code to load gigya in vbulletin?

thanks,
Dooby

ozzy47 11-29-2014 07:55 PM

I have not seen anything like that. Someone asked about this almost four years ago and no one had a solution then either, https://vborg.vbsupport.ru/showthrea...ighlight=gigya

itayKinnrot 11-30-2014 05:10 AM

Hi,

Gigya, is the biggest SAAS company for site and social identity management.
i will deal with it. just need to know where and how should i add this:
include_once "./GSSDK.php";

this allow me to add gigya js to vbulletin and call API calls.

thanks,
Dooby

kh99 11-30-2014 08:10 AM

You could use a plugin, and use hook location global_start or init_startup. The right hook might depend on exactly what you need to do, but you could try those to start. If you do that, that script will be included on every vbulletin request. That might add a lot of overhead depending on what happens in that script. You might instead want to just use an "include_once" wherever you need to use the api.

ozzy47 11-30-2014 09:18 AM

You shouldn't be using the global_start hook, but use the global_bootstrap_init_start hook instead, as the global_start hook is depreciated.

kh99 11-30-2014 09:28 AM

While it's true that the use of global_start was deprecated, development of vb4 is done except for minor fixes and php version upgrades, so I think it's pretty clear at this point that it will never be removed. It would be ridiculous at this point to release a new version of vb4 with that hook removed.

Also, hook global_bootstrap_init_start is called inside a function, and that could have an effect on how the script works, depending on what it does.

ozzy47 11-30-2014 09:38 AM

I think that is true Kevin, as I still use that hook. :) But I just wanted to point it out just in case.

itayKinnrot 11-30-2014 04:32 PM

thanks,
i need a little bit more explanation on how using the hook global_bootstrap_init_start hook.
the main use for this plugin is to login with social network to vbulletin.

Dooby

ozzy47 11-30-2014 04:46 PM

You asked how to include, include_once "./GSSDK.php";

Kevin told you what hook to use. To do that you need to go to Plugins & Products --> Plugin Manager and add a new plugin.

As far as incorporating it into vBulletin beyond that, read the documentation. If you do not understand what to do, you will probably have to pay someone to integrate it into vBulletin for you.

kh99 11-30-2014 04:53 PM

Quote:

Originally Posted by itayKinnrot (Post 2524995)
thanks,
i need a little bit more explanation on how using the hook global_bootstrap_init_start hook.
the main use for this plugin is to login with social network to vbulletin.

Dooby

How do you intend to use it? You're going to write some php code, right? I think I would just start that code with the include_once statement. Or are you asking where you can put your php code to use that api for login? That would be a little more complicated.


All times are GMT. The time now is 03:50 PM.

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.01559 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)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