Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Affiliate Program
Hosting Plans
UBBDev.com
UBBSkins.com
Who's Online
6 registered (GregK, Sirdude, Pink Jazz, KuKuKaChu, 2 invisible), 47 Guests and 53 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/01/06
Posts: 153
Top Posters (30 Days)
Rick 104
Ruben 94
Sirdude 81
Gizmo 67
Iann128 30
GregK 22
driv 20
teamzr1 20
Chevy454 19
David Dreezer 18
Latest Photos
Something You might Light
becky as tiger bait
rss creator
surfing dogs
Secret Falls, Belize
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: 13949
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: 13949
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: 13949
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: 13949
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: 13949
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
Mass Mail all Forum Moderators?
by sb
Today at 08:00 AM
How do I remove the remove the "re: blah, blah, blah" in reply?
by jules
Yesterday at 03:30 PM
Is there a way to not have the OP repeated in reply?
by jules
Yesterday at 03:03 PM
placing logos/pictures
by VaGunTrader
Yesterday at 01:27 PM
Group Management
by Matthias1976
Yesterday at 04:41 AM
Forum Stats
7925 Members
37 Forums
32946 Topics
173769 Posts

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