Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 67 guests, and 229 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
guod
guod
USA
Posts: 38
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 22
Ruben 10
Gizmo 8
Morgan 3
Geoff 3
Slaz 2
FREAK 2
DennyP 1
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
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
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,205
California
do not copy/paste. import the text file exactly as it is from the main installer


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.6.2 Released
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
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,956
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
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
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,956
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
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
UBB.threads 7.6.2 - Released
by isaac. 09/17/18 08:08 AM
7.6.2 Changelog Discussion
by isaac. 09/17/18 06:35 AM
Upgrade Documentation
by DennyP. 09/15/18 03:55 PM
PHP 7.2
by Geoff. 09/12/18 10:22 PM
Email Cleanup-Is it possible?
by Ruben. 09/06/18 11:25 AM
Forum Statistics
Forums36
Topics35,139
Posts191,443
Members12,106
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2