vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Load VBulletin forum in an IFrame and Share Login user Cookies (https://vborg.vbsupport.ru/showthread.php?t=328315)

richieferns 10-30-2020 11:24 AM

Load VBulletin forum in an IFrame and Share Login user Cookies
 
Hi,

Is it Possible to share the logged in user cookies in external website where VB5 is loaded using iframe?

I am able to load the VB5 in my external website in a iframe tag using my forum url as source but only issue is the logged in user is not reflected in the iframe.

So the overall issue is cannot login a user in Forum using iframe

Thanks.

Dave 10-30-2020 12:22 PM

Not easily possible. iframes are specifically configured that way with a same-origin policy because otherwise it'd be a huge security risk. https://developer.mozilla.org/en-US/...-origin_policy

What exactly are you trying to do though? Maybe there's a better way instead of using iframes.

richieferns 10-31-2020 02:58 AM

So we have an website https://events.zenevent.org/
i need to open Vbulletin Forum hosted on https://forum.zenevent.com/ on click of menu item of that external website.
so basically forum.zenevent.com should load under event.zenevent.org in a iframe so that i would have access to my external website layout design.


All times are GMT. The time now is 12:34 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.00938 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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