Page 1 of 1

How do you...

Posted: Wed Jun 15, 2011 12:50 pm
by Jackie
I think I'm going to use this thread in the future for asking all questions about the site's technology and functionality, so we've got it all in one place.


First question: can we embed youtube videos? I've tried the default BBcode markup, but it didn't work. This forum uses its own unique code and scripts, right? I hope you didn't remove this feature.

Posted: Thu Jun 16, 2011 7:07 am
by Venomous
I see no reason why you couldn't embed YouTube videos. The forum uses BBCode and basic HTML. I haven't removed anything except smiley emoticons, because they're shit.

Try and post a YouTube clip here in this thread and we'll see if we can work out what's going wrong.

Posted: Thu Jun 16, 2011 1:15 pm
by Jackie
Alright, let me give it a shot. This site has a nice explanation on how to embed youtube videos with BBcode:

http://www.bbcode.org/examples/?id=11

Using those instructions, we should get an embedded video below:

[youtube]qRuNxHqwazs[/youtube]


Now for HTML. More than few websites showed that embedding YT videos with HTML uses the same code. But there's another way, elaborated here:

http://www.htmlgoodies.com/tutorials/we ... b-Site.htm

Testing below, the same video should appear embedded again:

<iframe width="480" height="390" src="http://www.youtube.com/embed/qRuNxHqwazs" frameborder="0" allowfullscreen></iframe>

Posted: Thu Jun 16, 2011 1:19 pm
by Jackie
Ahaha... something went wrong, and I don't have a clue what.

I was trying to embed this particular video:

http://www.youtube.com/watch?v=qRuNxHqwazs

Posted: Thu Jun 16, 2011 4:10 pm
by Venomous
My bad Jackie... neither the youtube BBCode tag nor the iframes HTML tag were enabled on the forum... all fixed now, so pick your favorite method and embed away! =)

Posted: Thu Jun 16, 2011 4:32 pm
by Venomous
BTW, there's a sticky thread here for the posting of any entertaining YouTube (or other) videos you might want to post, rather than starting a new thread for each one.

Also, on the topic of site functionality and BBCode, while we were looking into the youtube tag, we also added a wiki tag... ie. [wiki]Poutine[/wiki]. Looks tasty, doesn't it? ;)

Posted: Sat Jun 18, 2011 9:19 pm
by Jackie
Alright! Slowly but certainly things are improving. Although I don't quite get the shittipedia addition. I mean, we can already link to other sites just fine, right?

Posted: Mon Jun 20, 2011 12:04 pm
by Venomous
It's just easier to write {wiki}Whatever{/wiki} than it is to write {url=http://en.wikipedia.org/wiki/Whatever}Whatever{/url}... mainly for my own use, don't care if anybody else finds it useful, took 30 seconds to add.

Posted: Mon Jul 04, 2011 2:38 pm
by Jackie
I need to know how we can resize and align pictures. Default BBcode doesn't seem to work.

Posted: Mon Jul 04, 2011 5:50 pm
by Jackie
Never mind, I already figured it out. You have to use HTML, that works fine.

Posted: Fri Aug 05, 2011 6:29 pm
by Jackie
I mentioned this in the other thread, but I'm having a hard time with text and picture alignment, and I was wondering if we can try to work it out here.

The following tutorial describes exactly what I want to do:

http://www.angelfire.com/nm/thehtmlsour ... twrap.html

And this tutorial describes the same problem(among others), and shows the same code being used to solve the issue:

http://www.htmlcodetutorial.com/images/_IMG_ALIGN.html


So, I want to be able to stop text from aligning or wrapping around an image on either left or right side with a line of code, so that the next block of text stays neatly below the image. Both tutorials say that <br clear="all"> or <br clear=all> does exactly that. But it's not working. I've tried using <br clear="left"> when the picture was aligned to the left and <br clear="right"> for pictures aligned to the right, and vice versa. But it just won't do anything.

Other solutions I've seen didn't work either. Some people suggest to use CCS, but this is rather difficult.

Any suggestions?

Posted: Fri Aug 12, 2011 1:36 pm
by Venomous
No clue man. Both those tutorials seem pretty straight-forward to me... I don't know why they wouldn't be working for you... as you can see from the Articles I've posted so far, I don't use the code myself, I just write until the line wraps naturally around the graphic.... I honestly couldn't tell you why such a simple HTML tag is giving you trouble. Seems pretty basic to me from here.

Posted: Mon Aug 15, 2011 1:34 pm
by Jackie
I was afraid so. I'll have to figure out a solution for myself.