World of Harry Potter Forums
http://forums.wohp.net/

HTML and Embedded Flash
http://forums.wohp.net/viewtopic.php?f=4&t=2568
Page 1 of 1

Author:  Calan [ Sat Feb 14, 2009 1:58 am ]
Post subject:  HTML and Embedded Flash

We are still looking into adding HTML back onto the forums. We understand that there are a lot of posts affected by the html going away. In patricular bios and such. While we work to get HTML back up (hopefully), there are some ways you can correct your HTML posts. UPDATE: HTML probably will not get added back in. -Calan

I have added a "center" BBCode for centering text on a page, as well as left and right:

Code:
[Center]TEXT[/Center]
[Left]TEXT[/Left]
[Right]TEXT[/Right]


I have added an "extimg" BBCode for more options on displaying images:
(Note: Use the standard "img" BBCode unless you need the additional options)

Code:
[extimg=height,width,align]URL[/extimg]

examples:
[extimg=default,deafult,left]http://www.photobucket.com/mypic.jpg[/extimg]
[extimg=120,120,default]http://www.photobucket.com/mypic.jpg[/extimg]

Note: using "default" for height and width as in the example above will not display properly in some browsers. When possible, use actual values for everything or some people may not see your image


The "flash" BBCode can actually be used to add YouTube and imeem to your posts. I am providing an example below on how to embed a YouTube video, but imeem works exactly the same way.

This is the html you get from YouTube when you want to embed, with the important parts highlighted:
Quote:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GuigcXvcy1A&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GuigcXvcy1A&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>


In the above example,
width=425
height=344
URL=http://www.youtube.com/v/GuigcXvcy1A&hl=en&fs=1
(NOTE: Change the height to 25 on YouTube videos if you want audio only)

This is the BBcode:
[flash=width,height]URL[/flash]

Simply fill in the width, height, and URL and you get:

Code:
[flash=425,344]http://www.youtube.com/v/GuigcXvcy1A&hl=en&fs=1[/flash]


And the end result:


Author:  Werekitty39501 [ Sat Feb 14, 2009 2:22 pm ]
Post subject:  Re: HTML

Whee! Thank you! This helps so much.

Author:  Calan [ Sat Feb 14, 2009 5:40 pm ]
Post subject:  Re: HTML

I edited the first post of this thread to explain the new "extimg" BBCode.

Author:  Insanity [ Sat Feb 14, 2009 5:43 pm ]
Post subject:  Re: HTML

Calan wrote:
I edited the first post of this thread to explain the new "extimg" BBCode.

Can't we still just use img?

Author:  Calan [ Sat Feb 14, 2009 5:52 pm ]
Post subject:  Re: HTML

Yes, the standard "img" BBCode is still available, the "extimg" is an extended "img" BBCode that allows the alignment, height and width settings. Don't use "extimg" unless you really need to use these settings, as "extimg" is a custom BBCode. Best to use the standard ones when possible, but it's available.

Author:  Calan [ Fri May 29, 2009 9:35 am ]
Post subject:  Re: HTML and Embedded Flash

I'm bumping this, as a lot of people seem to be having trouble with posting flash. See the first post in this thread.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/