FeverGyorn
10-30-2016, 07:20 PM
Hey together,
I would like to include a new custom BBCode in our forum that allows us to embed OneDrive documents, such as Excel Online sheets.
The thing is, Vbulletin seeems to insert blank spaces into the (considerably) long src parameter.
Somehow a input like this
cid=9089E10943B15FEB&resid=9089E10943B15FEB%21390&authkey=AF4O_GY9CmodpjQ&em=2&A llowTyping=True&ActiveCell='Summary'!M2&wdHideGridlines=True
gets
cid=9089E10943B15FEB&resid=9089E10943B15FEB%21390&authkey=AF4O_GY9CmodpjQ&em=2&AllowTyping=True&ActiveCell='Summary'!M2&wdHideGridlines=True
When I'm removing the spaces from the compiled URL, it seemingly works.
Ofc the embedded view doesn't work this way.
Is there a way to circumvent that behavior?
The replacement looks like this:
<iframe width="1000" height={option} frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?{param}"></iframe>
EDIT: Uhm, even here the forum inserts a blank space at some point, look above?
I would like to include a new custom BBCode in our forum that allows us to embed OneDrive documents, such as Excel Online sheets.
The thing is, Vbulletin seeems to insert blank spaces into the (considerably) long src parameter.
Somehow a input like this
cid=9089E10943B15FEB&resid=9089E10943B15FEB%21390&authkey=AF4O_GY9CmodpjQ&em=2&A llowTyping=True&ActiveCell='Summary'!M2&wdHideGridlines=True
gets
cid=9089E10943B15FEB&resid=9089E10943B15FEB%21390&authkey=AF4O_GY9CmodpjQ&em=2&AllowTyping=True&ActiveCell='Summary'!M2&wdHideGridlines=True
When I'm removing the spaces from the compiled URL, it seemingly works.
Ofc the embedded view doesn't work this way.
Is there a way to circumvent that behavior?
The replacement looks like this:
<iframe width="1000" height={option} frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?{param}"></iframe>
EDIT: Uhm, even here the forum inserts a blank space at some point, look above?