vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328315

Load VBulletin forum in an IFrame and Share Login user Cookies
by richieferns
30 Oct 2020 12:24

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 30 Oct 2020 13:22

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 31 Oct 2020 03:58

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 03:23.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.