The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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: ![]() If I remove the s out of https - http://www.youtube.com/watch?v=yQExHNrucho - my forum displays correctly: ![]() Notice the change in framing? Anyone have any thoughts? |
#2
|
|||
|
|||
![]()
Got a live example on your forum so we can look into it?
|
#3
|
||||
|
||||
![]()
A live example would help for sure. The screenshots just look like one is centered, one isn't.
|
#4
|
||||
|
||||
![]()
One looks like AME and the other looks like a normal embed.
|
#5
|
||||
|
||||
![]()
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. |
#6
|
|||
|
|||
![]()
Quick fix
Admincp > Styles & Templates > Replacement Variable Manager Search for Text: https://www.youtube Replace with Text: http://www.youtube |
#7
|
||||
|
||||
![]()
Okay, went in, put that in place and nothing...
I'm guessing that this string looks for https and replaces it with http? |
#8
|
||||
|
||||
![]()
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;'> |
#9
|
||||
|
||||
![]()
Thank you Lynne! Now... how do I go about fixing this? (very novice user here...)
|
#10
|
||||
|
||||
![]()
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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|