It would be very helpful if someone coded this for me:
http://wimg.co.uk/KtQGBE.bmp
I would like the on/off icons to be merged with the General Talk and description. Thanks!
know this is something i know i can do I am the one the coded the template design for the VB Board MOd Just give me a little bit. I should have it done for you tomorrow
thanks so much!
OK here you go and this one is tested and works perfectly.
Proboards Board Mod: Template Version
Board Listing Templates: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="float: left; position: relative; height: 14px; font-size: 12px;" class="boardtitle">
- {board_name}
- </span>
- <br style="clear: both;" />
- <span style="float: left; position: relative; width: 70%;" 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 topic" width="4%"{tip}>
- <center>{total_topics}</center>
- </td>
- <td class="window2 post" width="4%"{tip}>
- <center>{total_posts}</center>
- </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>
- </tr>
Global Footer:Code:
- <script>
- /*Dwight's Proboards Board Mod
- To be used with HTML Templating Part #1
- Created By Dwight*/
- var fix = {
- d: get('td','tag'),
- init: function(){
- for(a = 0; a < this.d.length - 1; a++){
- if(this.d[a].className.match(/categorytitle/) || (this.d[a].className == "title1" && this.d[a].innerHTML.match(/<b>Sub-Board\sName<\/b>/i))) {
- var x = document.createElement('tr');
- var y = document.createElement('td');
- y.innerHTML = ' ';
- y.className = 'title1';
- x.appendChild(y);
- var y = document.createElement('td');
- y.innerHTML = 'Board Name';
- y.className = 'title1';
- x.appendChild(y);
- var y = document.createElement('td');
- y.innerHTML = 'Topics';
- y.className = 'title1';
- x.appendChild(y);
- var y = document.createElement('td');
- y.innerHTML = 'Posts';
- y.className = 'title1';
- x.appendChild(y);
- var y = document.createElement('td');
- y.innerHTML = 'Last Post';
- y.className = 'title1';
- x.appendChild(y);
- this.d[a].parentNode.parentNode.insertBefore(x, this.d[a].parentNode.nextSibling);
- this.d[a].colSpan = '5';
- if(this.d[a].className == "title1") {
- this.d[a].parentNode.style.display = "none";
- break;
- }
- }
- }
- }
- };
- fix.init();
- </script>
No Editing Needed
Thanks for the code!
Even though it wasn't exactly what I wanted, but still, Thanks!
wait oops, i'll fix it it forgot the second part or your request, i'll do that right now
u don't have to, I'm happy how the way it is
OK well if you say so, but if you change your mind please let me know right away. I'll be working on it just in case you change your mind.