vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: eR Info Center - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
eR Info Center (2nd Apr 08 at 6:17pm UTC)
Preview


Code: HTML
 
  1. <!--Coded by Wrighty.
  2. Do not redistribute, RIP or claim.
  3. Concept By .System
  4. http://support.virtualforums.co.uk-->
  5.  
  6. <script>
  7. var ranks = [
  8. ['Administrator','#928f5f'],
  9. ['Senior Mod','#149100'],
  10. ['Moderator','#02c1a8'],
  11. ['Designer','#ab00b1'],
  12. ['Resource Staff','#cf0404']
  13. ];
  14. </script>
  15. <table align="center" cellpadding="3" cellspacing="1" class="border" width="100%" id="info_center">
  16. <tr>
  17. <td class="title2">
  18. <table border=0 width=100%>
  19. <tr>
  20. <td width=70% colspan=2>
  21. <font size=3><b>Information Center</b></font>
  22. </td><td width=30% align='right'>
  23. <table border=0 cellspacing=1 cellpadding=2 class=border>
  24. <tr>
  25. <td class=window2>
  26. {if:guest}<a href=/action/login>Login</a> or <a href=/action/register>Register</a>{/if:guest}
  27. {if:member}<a href=/action/logout>Logout</a>{/if:member}
  28. </td>
  29. </tr>
  30. </table>
  31. </td></tr>
  32. </table>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td class="window1">
  37. <table border=0 width=100%>
  38. <tr>
  39. <td width=60% valign=top>
  40. <u><font size=2>Members Currently Online</font></u>
  41. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100%>
  42. <tr>
  43. <td class=window2 height=57px valign=top>
  44. {staff_on} Staff:
  45. <script>
  46. var a = '{online_str}';
  47. var b = a.split(/, /);
  48. staff = [];
  49. mem = [];
  50. for(i=0;i<b.length;i++){
  51. if(b[i].match(/group0/)){
  52. mem.push(b[i]);
  53. }else{
  54. staff.push(b[i]);
  55. }
  56. }
  57. document.write(staff.join(', '));
  58. </script>
  59. <br>
  60. {member_on} Members: <script>
  61. document.write(mem.join(', '));
  62. </script><br>
  63. {guest_on} Guests
  64. </td>
  65. </tr>
  66. </table>
  67. <u><font size=2>Members Online in the Last 24 Hours</font></u>
  68. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100%>
  69. <tr>
  70. <td class=window2 height=57px valign=top>
  71. {today_str}
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. <td width=15% valign=top>
  77. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100%>
  78. <tr>
  79. <td class=window2>
  80. <u>Newest Members:</u><br>
  81. {newest_members:3}
  82. </td>
  83. </tr>
  84. </table>
  85. <div style="padding-bottom: 4px;"> </div>
  86. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100%>
  87. <tr>
  88. <td class=window2>
  89. <script>
  90. for(i=0;i<ranks.length;i++){
  91. document.write('<font color='+ranks[i][1]+'>'+ranks[i][0]+'</font><br>');
  92. }
  93. </script>
  94. </td>
  95. </tr>
  96. </table>
  97. </td>
  98. <td width=25% valign=top>
  99. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100% >
  100. <tr>
  101. <td class=window2>
  102. <u>Last Post:</u><br>
  103. {last_post} by {last_post_user}<br>
  104. {last_post_date}
  105. </td>
  106. </tr>
  107. </table>
  108. <div style="padding-bottom: 4px;"> </div>
  109. <table border=0 cellspacing=1 cellpadding=2 class=border align=center width=100%>
  110. <tr>
  111. <td class=window2>
  112. <u>Stats:</u><br>
  113. Members: {total_members}<br>
  114. Topics: {total_topics}<br>
  115. Posts: {total_posts}<br>
  116. Boards: {total_boards}<br>
  117. Categories: {total_categories}
  118. </td>
  119. </tr>
  120. </table>
  121. </td>
  122. </tr>
  123. </table>
  124. </td>
  125. </tr>
  126. </table>
 




This part of the code:
<script>
var ranks = [
['Administrator','#928f5f'],
['Senior Mod','#149100'],
['Moderator','#02c1a8'],
['Designer','#ab00b1'],
['Resource Staff','#cf0404']
];
</script>

Has to be editted. Simply change the names of the ranks and the colors of the ranks as well. This is for the 'staff legend' that will appear.

To add: Image => Info Center Template. Paste the whole code in here! {Smile}
 Printable View

All times are GMT+0 :: The current time is 7:22am
Page generated in 0.3318 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums