This topic was locked 8th Jul 08 at 9:47pm by Michael |
dog199200 Guest | [F] VB Board Mod to template conversion (3rd Jun 08 at 1:50pm UTC) Resolved | | 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>
| |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: VB Board Mod to template conversion (3rd Jun 08 at 2:47pm UTC) | | I'm a little confused over what you want the boards to look like? | |
|
|
dog199200 Guest | |
dog199200 Guest | Re: VB Board Mod to template conversion (12th Jun 08 at 7:08am UTC) | | bump | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: VB Board Mod to template conversion (15th Jun 08 at 5:49pm UTC) | | 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>
| |
|
|
dog199200 Guest | Re: VB Board Mod to template conversion (16th Jun 08 at 5:18pm UTC) | | ...umm there is mods in it to add two extra column, one for posts and one for threads. | |
|
dog199200 Guest | Re: VB Board Mod to template conversion (3rd Jul 08 at 11:20am UTC) | | still hasn't been done? | |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: VB Board Mod to template conversion (3rd Jul 08 at 11:32am UTC) | | Looking at your forum, it seems to have those columns OK now? | |
|
|
dog199200 Guest | Re: VB Board Mod to template conversion (6th Jul 08 at 5:15pm UTC) | | 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. | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: VB Board Mod to template conversion (7th Jul 08 at 10:44pm UTC) | | 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! | |
|
dog199200 Guest | Re: VB Board Mod to template conversion (7th Jul 08 at 11:35pm UTC) | | 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/ | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: VB Board Mod to template conversion (7th Jul 08 at 11:39pm UTC) | | I have widened it on your forum a bit, but what it's at now, is as wide as it goes! | |
|
dog199200 Guest | Re: VB Board Mod to template conversion (8th Jul 08 at 8:49pm UTC) | | ty it works | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: VB Board Mod to template conversion (8th Jul 08 at 9:47pm UTC) | | | |
|