Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 47 guests, and 221 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
JPG
JPG
Posts: 64
Joined: February 2004
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 60
isaac 47
mmem700 43
Zarzal 27
Jake 25
Morgan 24
Ruben 14
Philipp 13
Kayjey 8
M4TT 5
Latest Photos
Big stuff
Test
Testing to drag photos
Comfortable Cats
Test
Previous Thread
Next Thread
Print Thread
youtube code dont work anymore #262273
02/06/19 05:58 PM
02/06/19 05:58 PM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
I read this thread:
https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/260088

I go to my admin panel, kill the old entrys for youtube code and import the tags.php from V7.7.1 install directory. I edit the name and order, activate each entry. After this I went to the rebuilder and start rebuilding of my 110.000 postings. After this I end not executed code in a posting and just see
Code
[video:youtube]s6-DBHXJ_ho[/video]
. This happen to all 5 video codes. I clear the cache and try new test postings but still no success. The code is not executed. I see a new custom_tag_cache.php after clearing the cache, this contains all 5 codes.

Now, what else I can do? I like to have back my Youtbe Videos smile

/update:
If I take a look to my old mysql backups I see in table ubbt_BBCODE the BBCODE_ID 12 and 10 for my two old entrys.
Now, after importing the new tags is 20, 21, 22, 23, 24 ... starting with 2 not with 1. Is this correct?

/update 2
ahhhh, the new youtube tag need the full url, the old tag only the ID .... so I have to create a old and new youtube tag to bring back the old ID only videos ... I will try

/update 3
Fixed smile

Last edited by Zarzal; 02/06/19 06:25 PM. Reason: more infos

my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Express Hosting
Re: youtube code dont work anymore [Re: Zarzal] #262275
02/06/19 06:33 PM
02/06/19 06:33 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,791
Portland, OR; USA
As a part of the UBB.threads v7.6.0 mobile update (See the Progress Report from 2016.12.04) the regex coding on all of the default tags were cleaned up and enhanced; in the YouTube tag for example we can now match URLs vs URLs in previous editions of the tag; the caveat however is that the tag no longer allows one to just quote the id, it must be a full URL.

Surmising; this:
Code
[video:youtube]s6-DBHXJ_ho[/video]

Should now be
Code
[video:youtube]https://www.youtube.com/watch?v=s6-DBHXJ_ho[/video]


Like:


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.
Need to Upgrade?
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: youtube code dont work anymore [Re: Zarzal] #262276
02/06/19 06:36 PM
02/06/19 06:36 PM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
Gizmo, thankls, I found It right now. I don't read the text that show up while enter the ID/Url smile After I read my own text hints I found the same solution and create an entry for the old style code too. Works.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: youtube code dont work anymore [Re: Zarzal] #262277
02/06/19 08:40 PM
02/06/19 08:40 PM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,299
California
From my UBB.threads 7.6.0 developer notes:

Prior to updating the YouTube REGEX, the old string (UBBT759 and older) could only detect 17 of the top 32 most common different YouTube URL variations:
WITH OLD CODE:
GROUP 1
https://www.youtube.com/watch?v=GbPxZ2biOQU
http://www.youtube.com/watch?v=GbPxZ2biOQU
//www.youtube.com/watch?v=GbPxZ2biOQU
www.youtube.com/watch?v=GbPxZ2biOQU
https://youtube.com/watch?v=GbPxZ2biOQU
http://youtube.com/watch?v=GbPxZ2biOQU
//youtube.com/watch?v=GbPxZ2biOQU
youtube.com/watch?v=GbPxZ2biOQU

GROUP 2
https://m.youtube.com/watch?v=GbPxZ2biOQU
http://m.youtube.com/watch?v=GbPxZ2biOQU
//m.youtube.com/watch?v=GbPxZ2biOQU
m.youtube.com/watch?v=GbPxZ2biOQU

GROUP 3
https://www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
http://www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
//www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US

GROUP 4
https://www.youtube.com/embed/GbPxZ2biOQU?autoplay=1
https://www.youtube.com/embed/GbPxZ2biOQU
http://www.youtube.com/embed/GbPxZ2biOQU
//www.youtube.com/embed/GbPxZ2biOQU
www.youtube.com/embed/GbPxZ2biOQU
https://youtube.com/embed/GbPxZ2biOQU
http://youtube.com/embed/GbPxZ2biOQU
//youtube.com/embed/GbPxZ2biOQU
youtube.com/embed/GbPxZ2biOQU

GROUP 5
https://youtu.be/GbPxZ2biOQU?t=120
https://youtu.be/GbPxZ2biOQU
http://youtu.be/GbPxZ2biOQU
//youtu.be/GbPxZ2biOQU
youtu.be/GbPxZ2biOQU

GROUP 6
https://www.youtube.com/InvisibleAdvertising?v=GbPxZ2biOQU



After updating the YouTube REGEX, the new string (UBBT760 and newer) can detect more than 32 of the most common YouTube variations:
WITH NEW CODE:
GROUP 1
https://www.youtube.com/watch?v=GbPxZ2biOQU
http://www.youtube.com/watch?v=GbPxZ2biOQU
//www.youtube.com/watch?v=GbPxZ2biOQU
www.youtube.com/watch?v=GbPxZ2biOQU
https://youtube.com/watch?v=GbPxZ2biOQU
http://youtube.com/watch?v=GbPxZ2biOQU
//youtube.com/watch?v=GbPxZ2biOQU
youtube.com/watch?v=GbPxZ2biOQU

GROUP 2
https://m.youtube.com/watch?v=GbPxZ2biOQU
http://m.youtube.com/watch?v=GbPxZ2biOQU
//m.youtube.com/watch?v=GbPxZ2biOQU
m.youtube.com/watch?v=GbPxZ2biOQU

GROUP 3
https://www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
http://www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
//www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
www.youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US
youtube.com/v/GbPxZ2biOQU?fs=1&hl=en_US

GROUP 4
https://www.youtube.com/embed/GbPxZ2biOQU?autoplay=1
https://www.youtube.com/embed/GbPxZ2biOQU
http://www.youtube.com/embed/GbPxZ2biOQU
//www.youtube.com/embed/GbPxZ2biOQU
www.youtube.com/embed/GbPxZ2biOQU
https://youtube.com/embed/GbPxZ2biOQU
http://youtube.com/embed/GbPxZ2biOQU
//youtube.com/embed/GbPxZ2biOQU
youtube.com/embed/GbPxZ2biOQU

GROUP 5
https://youtu.be/GbPxZ2biOQU?t=120
https://youtu.be/GbPxZ2biOQU
http://youtu.be/GbPxZ2biOQU
//youtu.be/GbPxZ2biOQU
youtu.be/GbPxZ2biOQU

GROUP 6
https://www.youtube.com/InvisibleAdvertising?v=GbPxZ2biOQU


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.1 Released
Re: youtube code dont work anymore [Re: Zarzal] #262278
02/06/19 08:50 PM
02/06/19 08:50 PM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,299
California
My bad. I didnt notice that Giz had linked that changelog in his post above mine. lol

I also forgot that the details were posted to a changelog.
I snagged my copy/paste from the private developer snapshot discussion thread.


So I guess all of this really just means I'm bumping my post count here. go me! laugh


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.1 Released
Re: youtube code dont work anymore [Re: Zarzal] #262279
02/07/19 02:19 AM
02/07/19 02:19 AM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
It's good information in the right place, thanks.
For my forum I let the old code in too but uncheck the visibility so users only have the new code in the editor drop down. I change the ubb tag a litte bit so both codes work. Solved.

Do you ever try to bring videmo videos to work? It seems that the code is accepted (I dont see a printed code tag) but nothing happen. The viedeo dont come up.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: youtube code dont work anymore [Re: Zarzal] #262280
02/07/19 02:26 AM
02/07/19 02:26 AM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,299
California
YouTube
https://www.ubbdev.com/forums/ubbthreads.php/topics/321200/youtube-video-custom-tag.html

Vimeo
https://www.ubbdev.com/forums/ubbthreads.php/topics/321201/vimeo-video-custom-tag.html

Yahoo! (please no!)
https://www.ubbdev.com/forums/ubbthreads.php/topics/321203/yahoo-video-custom-tag.html

There are a few more, such as:
MySpace - which I dont think is around any more.
PhotoBucket - which is now a paid service if you want to share (???)

Last edited by isaac; 02/07/19 02:28 AM.

isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.1 Released
Re: youtube code dont work anymore [Re: Zarzal] #262281
02/07/19 02:46 AM
02/07/19 02:46 AM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
Isaac, thank you, the UBBDev code work. The code from tag.php provide in the ubb install doesn't work with the actual vimeo website/code.

Another problem fixed thumbsup


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: youtube code dont work anymore [Re: Zarzal] #262282
02/07/19 03:15 AM
02/07/19 03:15 AM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,299
California
Thanks thumbsup
We'll have to revisit/update the tag again.

The code in the UBBDev post also doesn't appear to have a .video-container tag on it. Meaning that its not mobile friendly.

Though to be honest, I havent had a single user embed (or request to embed) a Vemeo video on any of my sites. But there are a small few who link directly to the videos. I guess compared to YouTube, Vemeo provides a better entry experience for their visitors -- comments that contribute and are actually worth reading.


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.1 Released
Re: youtube code dont work anymore [Re: Zarzal] #262283
02/07/19 03:22 AM
02/07/19 03:22 AM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
Vimeo is a good choise here in germany if you use clips with music. Youtube sometime block them due missing rights or some copyright trouble.

For testing a tag out of my forum:

Code
[video:vimeo]https://vimeo.com/1654340[/video]

(dont try this on your own smile )

Last edited by Gizmo; 02/07/19 10:32 AM.

my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: youtube code dont work anymore [Re: Zarzal] #262285
02/07/19 10:33 AM
02/07/19 10:33 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,791
Portland, OR; USA
It looks like Vimeo changed how their embedding code works at some point; and our embed code could use a little cleaning...

Change the Resulting Markup on the Vimeo tag to:
Code
<div class="video-container"><iframe frameborder="0" width="500" height="300" src="https://player.vimeo.com/video/\\2" allowfullscreen></iframe></div>



And now its mobile too wink... The regex could probably use some love to account for the staffpicks url, but this should work fine.
Code
Vimeo URLs:
https://vimeo.com/1654340
https://vimeo.com/channels/staffpicks/315528770


It doesn't help that their site isn't the easiest to navigate, or every time I try to sign up for an account it stresses that it can't continue because for some reason I'm identified as a malicious user even though I don't even use their product...



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.
Need to Upgrade?
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: youtube code dont work anymore [Re: Zarzal] #262286
02/07/19 11:08 AM
02/07/19 11:08 AM
Zarzal  Offline OP
Old Hand
Joined: Jun 2006
Posts: 954
Berlin, Germany
works thumbsup


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: youtube code dont work anymore [Re: isaac] #262287
02/07/19 12:16 PM
02/07/19 12:16 PM
JAISP  Offline
Veteran
Joined: Feb 2007
Posts: 1,271
Pennsylvania
Originally Posted by isaac
So I guess all of this really just means I'm bumping my post count here. go me! laugh


LOL, Gizmo where is that like button.....?

Re: youtube code dont work anymore [Re: JAISP] #262288
02/07/19 04:14 PM
02/07/19 04:14 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,791
Portland, OR; USA
Originally Posted by isaac
So I guess all of this really just means I'm bumping my post count here. go me! laugh
You're me?


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.
Need to Upgrade?
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!

ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
Email authentication
by driv. 02/20/19 05:30 PM
ShoutChat Box
by M4TT. 02/20/19 04:15 PM
Custom island for donations
by Jim0421. 02/20/19 01:07 PM
NO AVATAR
by Jim0421. 02/20/19 10:51 AM
Forum Statistics
Forums35
Topics35,242
Posts192,151
Members12,141
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.1