MyBB Source

everyBB - The forum owners community

AdvancedProfile 3.0 - Express your style! | MyBBSource Tutorials: Read, Learn, Enjoy!

Latest Releases: Mark Thread Read - Password Change - Mark Unread

 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I create a table?
Author Message
mephistox
Junior Member


Posts: 20
Joined: Jun 2010
Reputation: 0
MyBux: 4
Post: #1
How can I create a table?
Hi:

Well, i like how awards plugin looks, and i'm trying to make a Rpg forum. I think the way to create a table displaying some enemies parameters (Like life, attack power...blah).

Then, i install the CustomPages plugin, but i don't know how to make tables. (No sql tables, i mean, tables, like the awards description pages).

To get something like:

Enemy Name | Attack | Life | Graphic

Something |34 | 34 | Graphic


Well, that's my question, how to put tables in the custom pages plugin, or the html code. (i searched but i don't understand how).

Thanks for read and answer!
07-01-2010 02:56 PM


Svizy
Support Team

Support

Posts: 1,830
Joined: Aug 2009
Reputation: 8
MyBux: 1111
Post: #2
RE: How can I create a table?
This should do it, but you can't use PHP in Custom Pages plugin
Code:
<table class="tborder" border="0" cellpadding="4" cellspacing="1">
<thead>
<tr>
<td class="thead" colspan="4">
<div><strong><a href="somelinkmaybe">Name of the page/table</a></strong><br><div class="smalltext"></div></div>
</td>
</tr>
</thead>
<tbody style="">
<tr>
<td class="tcat">Enemy Name</td>
<td class="tcat">Attack</td>
<td class="tcat">Life</td>
<td class="tcat">Graphic</td>
</tr>
<tr>
<td class="trow1">Something</td>
<td class="trow2">34</td>
<td class="trow1">34</td>
<td class="trow2">Graphic</td>
</tr>
</tbody>
</table>

Svizy - MyBBSource Support Team
07-01-2010 09:08 PM
kiddi92
Premium User


Posts: 10
Joined: Jun 2010
Reputation: 0
MyBux: 64
Post: #3
RE: How can I create a table?
im not sure i made my coder do it for me lol, but it seemed easy xD
07-02-2010 04:42 AM
mephistox
Junior Member


Posts: 20
Joined: Jun 2010
Reputation: 0
MyBux: 4
Post: #4
RE: How can I create a table?
It works but there is a lot of blank space between the page and the table:


How can i fix it?
(This post was last modified: Today 05:20 PM by mephistox.)
07-02-2010 09:15 AM
Svizy
Support Team

Support

Posts: 1,830
Joined: Aug 2009
Reputation: 8
MyBux: 1111
Post: #5
RE: How can I create a table?
(07-02-2010 09:15 AM)mephistox Wrote:  It works but there is a lot of blank space between the page and the table:

http://codexsolis.freeoda.com/castrum/pa...ge=enemies

How can i fix it?
If you mean in the bottom, that cannot be fixed, it depends on the users resolution which depends on the monitor.
If you mean anything but that, I don't see any problems in FF3.6.x

Svizy - MyBBSource Support Team
07-03-2010 06:43 PM
mephistox
Junior Member


Posts: 20
Joined: Jun 2010
Reputation: 0
MyBux: 4
Post: #6
RE: How can I create a table?
Was in the top, between the page title and the contents, but I noted that the bug occurs only when you use the visual mode, no problems occurs in the normal mode (the html).
07-04-2010 04:25 AM
haynes11
Junior Member


Posts: 10
Joined: Mar 2009
Reputation: 0
MyBux: 4
Post: #7
RE: How can I create a table?
cant you call a php fille withing the awards plugin though? so essentialy it would be the same thing, or would that break something/not work?
Yesterday 06:56 PM
Svizy
Support Team

Support

Posts: 1,830
Joined: Aug 2009
Reputation: 8
MyBux: 1111
Post: #8
RE: How can I create a table?
(Yesterday 06:56 PM)haynes11 Wrote:  cant you call a php fille withing the awards plugin though? so essentialy it would be the same thing, or would that break something/not work?
Don't really know, probably depends on the awards plugin you're using and the way the plugin is coded. I wouldn't suggest to edit plugin files unless you know what you're doing

Svizy - MyBBSource Support Team
Yesterday 09:42 PM
 





Web Design | Web Design Jobs