View Full Version : https versus http - messes up thread framing. Help?
K-fab
09-18-2015, 02:27 PM
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?
Brandon Sheley
09-18-2015, 10:17 PM
A live example would help for sure. The screenshots just look like one is centered, one isn't.
Zachery
09-19-2015, 03:14 PM
One looks like AME and the other looks like a normal embed.
K-fab
09-20-2015, 01:30 PM
Okay, here are two examples. The top entry is with https, the bottom is with http
https versus http issues (http://www.minibuggy.net/forum/glocks-corner/21550-ignore-im-trying-get-help-https-issue.html)
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.
PinkMilk
09-20-2015, 02:19 PM
Quick fix
Admincp > Styles & Templates > Replacement Variable Manager
Search for Text: https://www.youtube
Replace with Text: http://www.youtube
K-fab
09-21-2015, 01:28 PM
Okay, went in, put that in place and nothing...
I'm guessing that this string looks for https and replaces it with http?
Lynne
09-21-2015, 03:25 PM
This is what is wrong in the page source for the first one...
<div id="post_message_308606"><!-- google_ad_section_start --><a href="https://<div style='text-align: center; margin: 20px;'>
I don't know why it's putting the "<a href="https://" in front of the <div> tag, but that is what is causing the issue.
K-fab
09-21-2015, 10:53 PM
Thank you Lynne! Now... how do I go about fixing this? (very novice user here...)
Gio~Logist
09-22-2015, 12:12 AM
You can always use the replacement manager for Lynne's suggestion and replace
<a href="https://<div
with
[code]<div [/div]
This is assuming that the <a href tag is completely unnecessary
Lynne
09-22-2015, 12:33 AM
Thank you Lynne! Now... how do I go about fixing this? (very novice user here...)
Disable all mods and see if it still happens. If you have post caching enabled, you may have to turn that off for testing.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.