Can someone finish converting this code for me. Its a board template based off the vb board mod, and for some reason when i added a catory title section it repeats every time as seen here, so can someone take out this part of the code:
Code:
- <tr id="board_{board_id}">
- <td class="window1 boardstatus" width="0%" align="center">
- </td>
- <td class="window2 boardlisting" width="62%" valign="top">
- <center> Boards</center>
- </td>
- <td class="window2 lastpost" width="30%">
- <center>Last Post</center>
- </td>
- <td class="window2" width="4%">
- <center>Topics</center>
- </td>
- <td class="window2" width="4%">
- <center>Posts</center>
- </td>
- </tr>
and and make me something tahgt will work with my current code:
Code:
- <tr id="board_{board_id}">
- <td class="window1 boardstatus" width="0%" align="center">
- {new_posts}
- </td>
- <td class="window2 boardlisting" width="0%" valign="top">
- <span style="position: relative;">
- <span style="float: left; position: relative; height: 14px; font-size: 12px;" class="boardtitle">
- {board_name}
- </span>
- <span style="float: right; position: relative;" class="boardtotals">
- </span>
- <br style="clear: both;" />
- <span style="float: left; position: relative; width: 62%;" class="boarddescription">
- {board_description}
- {if:sub_boards}
- <br /><font size="1">Sub-Boards: {sub_boards}</font>
- {/if:sub_boards}
- </span>
- <span style="float: right; position: relative;" class="boardtotals">
- <font size="1">
- {if:moderators}
- Led By: {moderators}
- {/if:moderators}
- </font>
- </span>
- </span>
- </td>
- <td class="window2 lastpost" width="30%"{tip}>
- <font size="2">
- {ifnot:access}
- {if:member}
- You do not have permission to view this board
- {/if:member}
- {if:guest}
- Please <a href="/action/login/">Login</a> to view this board
- {/if:guest}
- {/ifnot:access}
- {if:access}
- {if:last_post}
- {last_post_time}
- by {last_post_user}<br />
- in {last_post_topic}
- {/if:last_post}
- {ifnot:last_post}
- <center>No recent Posts</center>
- {/ifnot:last_post}
- {/if:access}
- </font>
- </td>
- <td class="window2 topic" width="4%"{tip}>
- <center>{total_topics}</center>
- </td>
- <td class="window2 post" width="4%"{tip}>
- <center>{total_posts}</center>
- </td>
- </tr>
I'm a little confused over what you want the boards to look like?![]()
well it looks like this now from what i have done:
http://overobvious.vforums.co.uk/
and i wnat it to look like this:
http://fmaadvanced.vforums.co.uk
bump
The one used on FMA Advanced is, as far as I can see, the vForums default one:
Code: HTML
- <tr id="board_{board_id}">
- <td class="window1 boardstatus" width="6%" align="center">
- {new_posts}
- </td>
- <td class="window2 boardlisting" width="69%" valign="top">
- <span style="position: relative;">
- <span style="float: left; position: relative; height: 14px; font-size: 12px;" class="boardtitle">
- {board_name}
- </span>
- <span style="float: right; position: relative;" class="boardtotals">
- <font size="1">
- {total_topics} Topics - {total_posts} Posts
- </font>
- </span>
- <br style="clear: both;" />
- <span style="float: left; position: relative; width: 75%;" class="boarddescription">
- {board_description}
- {if:sub_boards}
- <br /><font size="1">Sub-Boards: {sub_boards}</font>
- {/if:sub_boards}
- </span>
- <span style="float: right; position: relative;" class="boardmoderators">
- <font size="1">
- {if:moderators}
- Led By: {moderators}
- {/if:moderators}
- </font>
- </span>
- </span>
- </td>
- <td class="window2 lastpost" width="25%"{tip}>
- <font size="2">
- {ifnot:access}
- {if:member}
- You do not have permission to view this board
- {/if:member}
- {if:guest}
- Please <a href="/action/login/">Login</a> to view this board
- {/if:guest}
- {/ifnot:access}
- {if:access}
- {if:last_post}
- {last_post_time}
- by {last_post_user}<br />
- in {last_post_topic}
- {/if:last_post}
- {ifnot:last_post}
- No recent Posts
- {/ifnot:last_post}
- {/if:access}
- </font>
- </td>
- </tr>
...umm there is mods in it to add two extra column, one for posts and one for threads.
still hasn't been done?
Looking at your forum, it seems to have those columns OK now?
if your looking at the Overobvious then yes it has the colums but thats not what i'm wnating, i'm wanting the part that says Boards, Last Post, Post, Topics to only how at the top and not repeat ove rand over and in the Full metal Alchemist one its like that because I am using the old code with a mod to the original table, that is why the Posts, Topics colums show up twice.... thats why i need to the code, so that there will be the right amount of columns and at teh same time the board names and stuff is at the top and does not repeat after every board. I know i could stick with the old code, but if i integrate everything into the system as much as possible things are less likely to class with each other.
ok here goes:
Use THIS in the board mod section of the templating system.
Then use THIS in the GLOBAL footer to insert that row ABOVE the board!![]()
If you need anything changing, let me know!![]()
ok that worked perfectly, but one more thing, can you get it so taht the definition will expand over more because it is squished together and is expanding the cell downward when it doesnt need too..
http://fmaadvanced.virtualforums.co.uk/
I have widened it on your forum a bit, but what it's at now, is as wide as it goes!![]()
ty it works