![]() |
https versus http - messes up thread framing. Help?
My forum has an issue with framing and display.
When people link a YouTube video on my forum, if they have "https" it tends to completely screw up the framing. If the post links with https - https://www.youtube.com/watch?v=yQExHNrucho - the forum displays this way: https://vborg.vbsupport.ru/external/2015/09/15.png If I remove the s out of https - http://www.youtube.com/watch?v=yQExHNrucho - my forum displays correctly: https://vborg.vbsupport.ru/external/2015/09/16.png Notice the change in framing? Anyone have any thoughts? |
Got a live example on your forum so we can look into it?
|
A live example would help for sure. The screenshots just look like one is centered, one isn't.
|
One looks like AME and the other looks like a normal embed.
|
Okay, here are two examples. The top entry is with https, the bottom is with http
https versus http issues Coding is as follows (obviously w/o the spaces) - and this is the only line in each entry. Top entry, that has the messed up framing: [URL = "https://www.youtube.com/watch?v=M2NKa48M-p0"]To the Moon![/ URL] Bottom entry, w/o the s: [URL = "http://www.youtube.com/watch?v=M2NKa48M-p0"]To the Moon![/ URL] The s seems to be the culprit, but why? You can see that it splits the post above the signature line with the s in https, while w/o the s all is correct. |
Quick fix
Admincp > Styles & Templates > Replacement Variable Manager Search for Text: https://www.youtube Replace with Text: http://www.youtube |
Okay, went in, put that in place and nothing...
I'm guessing that this string looks for https and replaces it with http? |
This is what is wrong in the page source for the first one...
HTML Code:
<div id="post_message_308606"><!-- google_ad_section_start --><a href="https://<div style='text-align: center; margin: 20px;'> |
Thank you Lynne! Now... how do I go about fixing this? (very novice user here...)
|
You can always use the replacement manager for Lynne's suggestion and replace
Code:
<a href="https://<div [code]<div [/div] This is assuming that the <a href tag is completely unnecessary |
All times are GMT. The time now is 10:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|