Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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/2019 6: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
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
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


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
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


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
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/2019 2:28 AM.

current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
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.


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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/2019 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
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
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
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
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.....?

Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
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.
Do you need Forum Install or Upgrade Services?
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, SenecaFlyer), 929 guests, and 67 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)