vBulletin Mods

The Official vBulletin Modifications Site

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


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


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 14:10.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, 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.