Football Home Game
Sat, August 30, 2025
Sat, August 30, 2025
Basketball Home Game (FS1)
Tue, February 11, 2025 @ 9:00 pm
Tue, February 11, 2025 @ 9:00 pm
Posting HTML
- GeoAg
- Moderator
- Posts: 8899
- Joined: November 3rd, 2010, 1:09 am
- Has thanked: 398 times
- Been thanked: 2128 times
Posting HTML
I'm trying to post the 2011 verbals list, but I'm unable to get the html to work in the preview. Is there a trick I am missing? If I don't have rights to post html, can I send the stuff to someone to post?
Is there a better way to create a table in phpbb?
BTW, this site is awesome!!! Thanks for putting this together.
Is there a better way to create a table in phpbb?
BTW, this site is awesome!!! Thanks for putting this together.
"You guys have sacrificed in ways you've never sacrificed before. You've given more. You expect more...Tonight is our opportunity to write the story of who this family, who this program, who this team will be" -Coach Blake Anderson
- ProvoAggie
- Site Admin
- Posts: 15451
- Joined: June 14th, 2010, 1:00 am
- Location: Provo, Utah
- Has thanked: 1662 times
- Been thanked: 3625 times
- Contact:
Re: Posting HTML
As of right now, phpBB doesn't support either Tables or HTML (for security reasons). I will look for some solutions today and report back later.
- ProvoAggie
- Site Admin
- Posts: 15451
- Joined: June 14th, 2010, 1:00 am
- Location: Provo, Utah
- Has thanked: 1662 times
- Been thanked: 3625 times
- Contact:
Re: Posting HTML
HTML can't be enabled because of security reasons but I have implemented some new BBCodes that should allow you to do everything that you need to do. There are buttons on the toolbar above the posting box or you can type them manually. You should be able to create your HTML table as normal but replace <> with []. Cellpadding is automatically set to 2 with a border of 2 and 0 cellspacing. If you want to add css styles to a table element, you can just add them in like normal without the style tag and the tag will be created.
Sample:
[table][trbackground:#002356;color:#FFF;][td]Test Column[/td][/tr]
[tr][td]Test Data[/td][/tr][/table]
BBCode (Remove * to make it work):
[*table][*tr background:#002356;color:#FFF;][*td]Test Column[/td][/tr][*tr][*td]Test Data[/td][/tr][/table]
Just a note with this. If you create a table, put all of the BB Codes on 1 line. Otherwise it will push the table a ways down the page. We are looking for a solution to this problem but until one is found, this is what we'll have to do.
Sample:
[table][trbackground:#002356;color:#FFF;][td]Test Column[/td][/tr]
[tr][td]Test Data[/td][/tr][/table]
BBCode (Remove * to make it work):
[*table][*tr background:#002356;color:#FFF;][*td]Test Column[/td][/tr][*tr][*td]Test Data[/td][/tr][/table]
Just a note with this. If you create a table, put all of the BB Codes on 1 line. Otherwise it will push the table a ways down the page. We are looking for a solution to this problem but until one is found, this is what we'll have to do.
- ProvoAggie
- Site Admin
- Posts: 15451
- Joined: June 14th, 2010, 1:00 am
- Location: Provo, Utah
- Has thanked: 1662 times
- Been thanked: 3625 times
- Contact:
Re: Posting HTML
I found a way to enable html in posts that should be secure. You should be able to use it now. If we run into any problems then I will have to disable it. You don't have to do anything special to use this functionality...just add it to your post. The only tags that are allowed are table, tr, td, th
<table border="2" cellpadding="4" cellspacing="0">
<tr style="background:#002356;color:#FFF;">
<td>Hello</td>
</tr>
<tr>
<td>World</td>
</tr>
</table>
You will still want to keep your html on 1 line unfortunately.
<table border="2" cellpadding="4" cellspacing="0">
<tr style="background:#002356;color:#FFF;">
<td>Hello</td>
</tr>
<tr>
<td>World</td>
</tr>
</table>
You will still want to keep your html on 1 line unfortunately.
- BigBlueDart
- Pick'em Champ - '17 FB Predict the Score
- Posts: 9236
- Joined: November 3rd, 2010, 7:57 am
- Location: Syracuse, UT
- Has thanked: 319 times
- Been thanked: 1172 times
Re: Posting HTML
One thing that I'm finding is that I can't get any cell padding using either BBCode or HTML. I may be doing it wrong, but I've searched extensively on it and tried several different ways of doing it. If this is something that is supposed to work, perhaps you could give me an example?
- ProvoAggie
- Site Admin
- Posts: 15451
- Joined: June 14th, 2010, 1:00 am
- Location: Provo, Utah
- Has thanked: 1662 times
- Been thanked: 3625 times
- Contact:
Re: Posting HTML
I'm not aware of any reason that it wouldn't work. I will have to dissect the CSS and see if there is something in there that could be messing it up.
- ProvoAggie
- Site Admin
- Posts: 15451
- Joined: June 14th, 2010, 1:00 am
- Location: Provo, Utah
- Has thanked: 1662 times
- Been thanked: 3625 times
- Contact:
Re: Posting HTML
I believe we have a solution here. Cellpadding, Cellspacing, Border, and Style should all work with HTML tables. Also, they don't have to be condensed to 1 row anymore.