HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Youtube tag for bbcode help.
Post new topic   Reply to topic    HTML Help Forum Index -> Multimedia
View previous topic :: View next topic  
Author Message
Natman3400



Joined: 10 Oct 2009
Posts: 7

PostPosted: Sat Oct 10, 2009 9:01 am     Youtube tag for bbcode help. Reply with quote

I am trying to make a youtube tag for my site-. But it keeps screwing up the post it's in. Is there any way i can fix this?
P.S. My site it www.team-vector.co.cc
P.P.S. An example is on the bottem of
http://team-vector.co.cc/./viewtopic.php?f=4&t=10&p=61#p61
P.P.P.S.
The html I am using is:

<div style="text-align: center; margin: auto"><object type="application/x-shockwave-flash" style="width:450px; height:366px;" data="http://www.youtube.com/v/{TEXT}">
<param name="movie" value="http://www.youtube.com/v/{TEXT}" />
</object><div style="font-size: 0.8em">

And the bbcode is:
[youtube]{TEXT}[/youtube]
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Sat Oct 10, 2009 9:31 am     Reply with quote

Since you are Admin and editing the HTML directly, you can not use bbCode on your pages. If you need to insert a YouTube video, copy/paste the media code they give you for the video. If they have it styled in its own container, you can position it using the inline style attributes.
Natman3400



Joined: 10 Oct 2009
Posts: 7

PostPosted: Sat Oct 10, 2009 9:37 am     Reply with quote

Oh I'm using phpbb3 so i cant put html into posts. I am making a bbcode for my members to embed you tube videos. How ever it screws with the post no matter what html i use as the base for th bbcode.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Sat Oct 10, 2009 4:34 pm     Reply with quote

Thought you were admin and was adding that to the page. You CAN do the HTML code, but not in a post unless you turn HTML on as admin. bbCode is very restrictive as to what it can do. I haven't checked, but don't think there are bbCode tags that would allow posting of a video in a post. You could post the media code for a copy/paste though.

Last edited by PayneLess Designs on Mon Oct 12, 2009 5:36 am; edited 1 time in total
Natman3400



Joined: 10 Oct 2009
Posts: 7

PostPosted: Sun Oct 11, 2009 9:37 am     Reply with quote

Phpbb3(Note: This forum uses PhpBB2) does not allow for use of html in posts period. BBcode is a way to make html easier to use by shortening it. When one makes a custom BBcode they provide the usage using tokens such as {TEXT} and than the html for the bbcode. For example the [img] tag would be [img}{URL}[/img] and the html input box would be:
<img src={URL}></img>
I fixed the bad formating problem by using:
[youtube]{URL}[/youtube]
=
<embed src="{TEXT}" height="344" width="425"></embed>



No i would like some help wit limiting the tag
First: i want the tag not to work if the url is a nn you tube url
Second: youtube urls are in the format (normal)www.youtube.com/watch?v={video code}
but the thing i need to embeed is at
youtube.com/v/{video code}
Is tere a way i can have my clients put in
[youtube]{Normal url}[/youtube]
and have the html take out the video code and embbed
youtube.com/v/{video code}
when they put in
www.youtube.com/watch?v={video code}?
Natman3400



Joined: 10 Oct 2009
Posts: 7

PostPosted: Sun Oct 11, 2009 9:52 am     Reply with quote

View at EasyCaptures.com
There is a screen shot of the custom bbcode screen
Natman3400



Joined: 10 Oct 2009
Posts: 7

PostPosted: Mon Oct 12, 2009 6:37 am     Reply with quote

never mind, i fixed it
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Mon Oct 12, 2009 11:29 am     Reply with quote

Terrific! Had your post pending to get back to, but that is good news. If you would, can you post the fix here for anyone else who may have been following this thread? Everyone is here to learn...even me. Razz
aristana



Joined: 24 Oct 2009
Posts: 1

PostPosted: Thu Oct 29, 2009 1:32 am     Reply with quote

Were do you get a bbcode cause that is obviously the only thing i can use for about me in gaia help me please!?
______________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite


Last edited by aristana on Fri Oct 30, 2009 2:39 am; edited 1 time in total
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Thu Oct 29, 2009 3:18 am     Reply with quote

BBCode Guide:

http://www.bbcode.org/
http://forum.cartographersguild.com/misc.php?do=bbcode
http://forums.fallenearth.com/fallenearth/misc.php?do=bbcode
http://www.phpbb.com/community/faq.php?mode=bbcode
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Multimedia All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial