vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Code Submissions :: Sapphire Info Center - View Topic
Topic Rating: *****
Printable View
ashkir
Full Member
***

[Avatar]

Posts: 1,158
Status: Offline
Gender: Male
Location: Cali!
Age: 30
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Sapphire Info Center (20th Feb 11 at 8:27pm UTC)
This is a complex info center template. I've been tweaking it over the last two years for my RPGs. But I don't use it anymore, so put it to good use. {Smile} . This is one of my prided info center designs. It includes a staff notes section as well. {Smile} . Hidden by the templating if:staff {Smile}

Image

Image

Please search for and replace the following within the code with your own settings:
-) SITE WIDTH - your site width
-) YOUR SITE NAME - your board's title
-) Search for group1, group2, etc up to group6 to modifying ranking names/group names or to add/delete some. {Smile}
-) <b>DATE</b> note<br /> - staff notes

Code:
 
  1. <table align="center" width="SITE WIDTH" border="0" cellspacing="1" cellpadding="0" class="border" id="info_center">
  2. <tr>
  3. <td width="100%" class="title1" align="center" height="29">
  4. <font class="titletext" size="2"><b>Forum Statistics</b></font>
  5. </td>
  6. </tr>
  7. <tr>
  8. <td width="100%" align="center">
  9. <table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
  10. <tr>
  11. <td width="85%" align="center" class="window2" style="border-right:1px #000000 solid;">
  12. <table width="85%" border="0" align="center">
  13. <tr>
  14. <td width="100%" align="center">
  15. Welcome to <b>YOUR SITE NAME</b>! <br />
  16. The last post was {last_post} made by {last_post_user} and was posted on {last_post_date}.
  17. <br />
  18. We have a total of {total_members} members with the newest being {newest_members:1} {if:birthdays}<br />We have birthdays today! Happy birthday to:{/if:birthdays} {birthdays} {ifnot:birthdays} {/ifnot:birthdays}
  19. </td>
  20. </tr>
  21. </table>
  22. <table align="center" width="100%" style="border-top:1px #000000 solid;">
  23. <tr>
  24. <td width="100%" align="center">
  25. {if:member}<table align="center" border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" align="center" class="window2" height="20">Hello <script>document.write('<a href="/action/view_profile" class="group'+vf_usergroup+'">'+vf_displayname+'</a>');</script>! Your Instant Messages: <a href="/action/pm">{total_pms}</a> New: <a href="/action/pm">{new_pms}</a></td></tr></table>{/if:member}
  26. {if:guest}<table align="center" border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" align="center" class="window2" height="20">Welcome Guest! Please <a href="/action/login">Login</a> or <a href="/action/register">Register</a> for the full experience of this board.</td></tr></table>{/if:guest}
  27. </td>
  28. </tr>
  29. </table>
  30. </td>
  31. <td width="15%" align="center" class="window2">
  32. <table width="95%" align="right" border="0">
  33. <tr>
  34. <td width="100%" align="right">
  35. {total_posts} Posts<br />
  36. {total_topics} Topics<br />
  37. {total_members} Members<br/>
  38. {event_total} Events<br />
  39. <a href="/action/recent">Recent Posts</a><br />
  40. </td>
  41. </tr>
  42. </table>
  43. </tr>
  44. </table>
  45. </td>
  46.  
  47. </tr>
  48. <tr>
  49. <td width="100%" class="title1" align="center" height="29">
  50. <font class="cattext" size="2"><b>Users Online</b></font>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td width="100%" align="center" class="window2">
  55. <table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
  56. <tr>
  57. <td width="50%" align="left" class="window2" style="border-right:1px #000000 solid;" valign="top">
  58. <table width="98%" border="0">
  59. <tr>
  60. <td width="100%" align="center" valign="top" height="50">
  61. There are {online_total} ({staff_on} staff, {member_on} members, {guest_on} guests) people online: <br />
  62. {online_str}
  63.  
  64. </td>
  65. </tr>
  66. </table>
  67. </td>
  68. <td width="50%" align="center" class="window2" valign="top">
  69. <table width="90%" border="0" align="center" valign="top">
  70. <tr>
  71. <td width="100%" align="center" height="50" valign="top">
  72. These users were online today ({staff_today} staff, {member_today} members, {guest_today} guests):<br />{today_str}
  73. </td>
  74. </tr>
  75. </table>
  76. </td>
  77. </tr>
  78. </table>
  79.  
  80. <table align="center" border="0" width="600" cellspacing="0" cellpadding="0"><tr><td width="100%" align="center" class="window2" height="20" style="border-top:1px #000000 solid; border-right:1px #000000 solid; border-left:1px #000000 solid;">
  81. Colour Legend: <a href="#" class="group1">Admins</a> | <a href="#" class="group2">Moderators</a> | <a href="#" class="group3">group3</a> | <a href="#" class="group4">group4</a> | <a href="#" class="group5">group5</a> | <a href="#" class="group6">group6</a> | <a href="#">regular members</a>
  82. </td></tr></table>
  83.  
  84. </td>
  85. </tr>
  86. {if:staff}<tr>
  87. <td width="100%" class="title1" align="center" height="18">
  88. <font class="titletext"><b>Staff Notes</b></font>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td width="100%" align="left" class="window1">
  93. <table width="90%" align="center" border="0" cellspacing="0" cellpadding="0">
  94. <tr>
  95. <td width="100%" align="left">
  96. <b>DATE</b> note<br />
  97. <b>DATE</b> note<br />
  98. <b>DATE</b> note<br />
  99. <b>DATE</b> note<br />
  100. </td>
  101. </tr>
  102. </table>
  103. </td>
  104. </tr>
  105. {/if}
  106. </table>
 
 Printable View
<