Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Affiliate Program
Hosting Plans
UBBDev.com
UBBSkins.com
Who's Online
4 registered (jamesbanse, GreenGel, MuddyD, Bjab), 33 Guests and 51 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/02/10
Posts: 70
Top Posters (30 Days)
Rick 103
Ruben 96
Sirdude 80
Gizmo 69
Iann128 26
GregK 25
teamzr1 20
driv 20
Chevy454 19
VaGunTrader 19
Latest Photos
Yachting off the West Coast of Scotland
Something You might Light
becky as tiger bait
rss creator
surfing dogs
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#179319 - 02/24/07 12:52 AM Youtube
willing Offline
addict
Registered: 02/12/07
Posts: 617
Can you embed Youtube videos in threads 7?

(Actually can it be done in classic 6.7.2 as well?)

Thanks
Top
Host With Us!
#179322 - 02/24/07 03:28 AM Re: Youtube [Re: willing]
Gizmo Offline

Registered: 06/05/06
Posts: 13955
Loc: Portland, OR; USA ***
You can with Threads 7.0 and 7.1 though the ubbcode addon at UBBDev.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic
UBB Modifications, Styling, Coding Services, and more!
Top
#179323 - 02/24/07 03:31 AM Re: Youtube [Re: Gizmo]
willing Offline
addict
Registered: 02/12/07
Posts: 617
Thanks. That wouldn't post a "security" problem or anything else possibly nasty would it? What would the user enter to embed something like that in a post?

Can you should me a page anywhere where this is in action?

Thanks
Top
#179325 - 02/24/07 05:14 AM Re: Youtube [Re: willing]
Gizmo Offline

Registered: 06/05/06
Posts: 13955
Loc: Portland, OR; USA ***
The embed bbcodes actually just read a string of text, so the user would simply enter:
[youtube]youtubeid[/youtube]

This is a GREAT security measure, as they can embed content to your site without being allowed to enter html. The bbcodes at UBBDev cannot allow a user to do anything mallicous, as it only allows text and numbers (well, mine does as it uses a regex to filter what is entered for increased security).

I have the bbcodes on my forum, a specific posting:
Video: North American Union Huge step in world government and your enslavement
_________________________
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic
UBB Modifications, Styling, Coding Services, and more!
Top
#179326 - 02/24/07 05:18 AM Re: Youtube [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 13955
Loc: Portland, OR; USA ***
I just posted my latest set of bbcodes here which have been severely tested and beaten for months lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic
UBB Modifications, Styling, Coding Services, and more!
Top
#179327 - 02/24/07 05:26 AM Re: Youtube [Re: Gizmo]
willing Offline
addict
Registered: 02/12/07
Posts: 617
Thank you.
Last question for now ;\)

Are these codes really easy to implement (for someone not particularly technical?)

Thanks
Top
#179368 - 02/24/07 03:51 PM Re: Youtube [Re: willing]
Gizmo Offline

Registered: 06/05/06
Posts: 13955
Loc: Portland, OR; USA ***
edit libs/ubbthreads.inc.php
Find:
 Code:
			// You don't see the next line


Then add them after that line; any you wish to use.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic
UBB Modifications, Styling, Coding Services, and more!
Top
#181736 - 03/29/07 11:50 AM Re: Youtube [Re: Gizmo]
ajwharton Offline
journeyman
Registered: 03/01/07
Posts: 50
YouTube IDs can contain underscores. The regex validation for youtube is ([a-zA-Z0-9-]+) and should be changed to ([_a-zA-Z0-9-]+).
Top
#181737 - 03/29/07 12:29 PM Re: Youtube [Re: ajwharton]
ajwharton Offline
journeyman
Registered: 03/01/07
Posts: 50
This'll do break.com

 Code:
array( "#\[break\]([_a-zA-Z0-9-]+)\[/break\]#i", '<center><object width="425" height="350"><param name="movie" value="http://embed.break.com/\1"></param><embed src="http://embed.break.com/\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),
Top
#181747 - 03/29/07 05:19 PM Re: Youtube [Re: ajwharton]
Gizmo Offline

Registered: 06/05/06
Posts: 13955
Loc: Portland, OR; USA ***
The latest version of my Embedding Code accounts for underlines and underscores in YouTube videos.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic
UBB Modifications, Styling, Coding Services, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Gizmo, Harold, Ian, Ron M, Sirdude 
Shout Box

Facebook Page
Today's Birthdays
No Birthdays
Recent Topics
Exporting a forum to a new board.
by Ruben
Yesterday at 03:27 PM
WowBB Importer Discussion
by Rick
Yesterday at 03:19 PM
WowBB Importer Now Available
by Rick
Yesterday at 03:18 PM
Is there a demonstration site anywhere?
by MuddyD
Yesterday at 12:24 PM
New topic icons
by GregK
Yesterday at 11:38 AM
Forum Stats
7938 Members
37 Forums
32960 Topics
173832 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image