Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 46 guests, and 255 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Ruben
Ruben
Lutz,FL
Posts: 5,898
Joined: December 2003
Show All Member Profiles 
Top Posters(30 Days)
isaac 20
Gizmo 13
Ruben 11
Morgan 3
Abbott 2
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
7.6.1.1 Custom Tag Editor (YouTube) #260923
01/15/18 03:58 PM
01/15/18 03:58 PM
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
Mark S Offline OP
Mark S  Offline OP

Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
version 7.6.1.1

Everything was going so well and then members reported back that the YouTube Tag is no longer working ?

With the new install I also updated the YouTube Custom Tag.
It would not let me import the file from the custom directory in the installer package (white screen) and the only way to escape was to go back.

Ive edited the file so i can take its contents and add them as my own tag, but that does not seem to work ?

Code

broken code removed see down the page




since solution this is not required in the style sheet.

Code
/* video embeds */
.video-container {height:0;overflow:hidden;position:relative;padding-bottom:56.25%;padding-top:30px;}
.video-container iframe,.video-container object,.video-container embed {height:100%;left:0;position:absolute;top:0;width:100%;}


So when we add the tags we just get the text its not being parsed at all.



I wonder what i'm missing as its working as expected on this forum ?

Code
https://www.youtube.com/watch?v=24bS7a6rPoQ


Any Ideas things I can check and do ?
Posts prior to the update are working (playing and showing a video screen).

Thanks in advance.

Last edited by Mark S; 01/15/18 04:31 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: 7.6.1.1 Custom Tag Editor (YouTube) [Re: Mark S] #260924
01/15/18 04:01 PM
01/15/18 04:01 PM
Joined: Apr 2004
Posts: 1,171
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,171
California
do not copy/paste. import the text file exactly as it is from the main installer


isaac @ id242.com // forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.6.2 Changelog
Re: 7.6.1.1 Custom Tag Editor (YouTube) [Re: Mark S] #260925
01/15/18 04:04 PM
01/15/18 04:04 PM
Joined: Jun 2006
Posts: 16,930
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,930
Portland, OR; USA
Copy and paste from the import file will not work as it'll copy too many escape characters; try:

Regex:
Code
((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)([a-zA-Z0-9_-]{8,12})(\S+)


Markup:
Code
<div class="video-container"><iframe frameborder="0" width="500" height="300" src="https://www.youtube.com/embed/\\5\\6\\7?wmode=opaque" allowfullscreen></iframe></div>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 7.6.1.1 Custom Tag Editor (YouTube) [Re: Mark S] #260926
01/15/18 04:14 PM
01/15/18 04:14 PM
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
Mark S Offline OP
Mark S  Offline OP

Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
BOOM the guys are on watch tonight..

FIXED smile

Strange why it does not allow the import to work ?

I did try coping raw as you say that wont work..

When i try the importer for the custom tags it shows a white screen, I know we have come across this previously.

But the edits you supplied Gizmo worked a treat wink smile

Thank you Guys

Last edited by Mark S; 01/15/18 04:14 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: 7.6.1.1 Custom Tag Editor (YouTube) [Re: Mark S] #260927
01/15/18 04:14 PM
01/15/18 04:14 PM
Joined: Jun 2006
Posts: 16,930
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,930
Portland, OR; USA
The reason for the white screen is likely in your logs; I'm guessing some security module that sees code being updated.

The reason you can't copy and paste is because of all of the \'s in the files, they comment out markup/code so it can be managed through the editor.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 7.6.1.1 Custom Tag Editor (YouTube) [Re: Mark S] #260928
01/15/18 04:19 PM
01/15/18 04:19 PM
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
Mark S Offline OP
Mark S  Offline OP

Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
Thanks G.

Its not so important now its fixed smile

Enjoy ..



LOL

You need a new prefix on these topics ?

[Bug]
[Not a Bug]
[Just Mark Again]

lol

Last edited by Mark S; 01/15/18 04:21 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Custom Insert won't save
by Baldeagle. 06/18/18 07:44 PM
New Image capabilities ver 7.6.1
by Abbott. 06/14/18 02:28 PM
Thread deleted?
by Lisanne. 06/05/18 11:13 AM
random 500 server errors on post
by Bad Frog. 05/31/18 09:34 AM
Upgraded from 7.6.0 to 7.6.1.1
by BB. 05/30/18 12:33 PM
Forum Statistics
Forums36
Topics35,121
Posts191,324
Members12,085
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)