vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: wR 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
wR Info Center (31st Mar 08 at 5:09pm UTC)
This is the info center that was on wRcreations.

Preview

Code: HTML
 
  1. <table align="center" cellpadding="3" cellspacing="1" class="border" width="100%" id="info_center">
  2. <tr>
  3. <td class="title2">
  4. <span class="title"><a name='Stats'></a>Stats</span>
  5. </td>
  6. </tr>
  7. <tr>
  8. <td class="window2">
  9. <table width="100%">
  10. <tr>
  11. <td width="25%">
  12. <table width="95%" cellspacing="1" cellpadding="1" align="center">
  13. <tr>
  14. <td width="100%" class="border">
  15. <table width="100%" class="window1" cellpadding="0" cellspacing="3">
  16. <tr>
  17. <td align="center" id="info_center_stats" style="height: 55px;">
  18. Members: {total_members}<br />
  19. Topics: {total_topics} | Posts: {total_posts}<br />
  20. Boards: {total_boards} | Categories: {total_categories}<br />
  21. </td>
  22. </tr>
  23. </table>
  24. </td>
  25. </tr>
  26. </table>
  27. </td>
  28. <td width="50%" valign="top">
  29. <table width="100%" cellspacing="1" cellpadding="1" align="center">
  30. <tr>
  31. <td class="border">
  32. <table width="100%" class="window1">
  33. <tr>
  34. <td id="info_center_last_post" align="center" style="height: 55px;">
  35. <font size="2">
  36. The last post made was:<br />
  37. {last_post} by {last_post_user}<br />
  38. {last_post_date}
  39. </font>
  40. </td>
  41. </tr>
  42. </table>
  43. </td>
  44. </tr>
  45. </table>
  46. </td>
  47. <td width="25%">
  48. <table width="95%" cellspacing="1" cellpadding="1" align="center">
  49. <tr>
  50. <td class="border">
  51. <table width="100%" class="window1">
  52. <tr>
  53. <td style="height: 55px;" align="center">
  54. <div id="new_members">
  55. Newest Members: <script>
  56. var a = '{newest_members:3}';
  57. var b = a.split(/<br\s?\/?>/);
  58. document.write(b.splice(0,b.length-1).join(', '));
  59. </script>.
  60. </div><br>
  61. {if:member}Total PMs: {total_pms} | New PMs: {new_pms}{/if:member}
  62. {if:guest}Please <a href='/action/login'>Login</a> or <a href='/action/register'>Register</a>{/if:guest}
  63. </td>
  64. </tr>
  65. </table>
  66. </td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td width="100%" colspan="5">
  73. <table width="99%" cellspacing="1" cellpadding="1" align="center">
  74. <tr>
  75. <td width="100%" class="border">
  76. <table width="100%" class="window1">
  77. <tr>
  78. <td width="50%" valign="top">
  79. <font size="2">
  80. <b id="total_online">There {online_is} Currently {online_total} User{online_plural} Online</b> ({staff_on} Staff Member{staff_on_plural}, {member_on} Member{member_on_plural}, {guest_on} Guest{guest_on_plural})
  81. </font>
  82. <table cellpadding="4" width="100%">
  83. <tr>
  84. <td valign="top" id="users_online">
  85. <font size="2">
  86. {online_str}
  87. </font>
  88. </td>
  89. </tr>
  90. </table>
  91. </td>
  92. </tr>
  93. </table>
  94. </td>
  95. </tr>
  96. </table>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td width="100%" colspan="5">
  101. <table width="99%" cellspacing="1" cellpadding="1" align="center">
  102. <tr>
  103. <td width="100%" class="border">
  104. <table width="100%" class="window1">
  105. <tr>
  106. <script>
  107. function on_toggle(){
  108. get('on_today','id').style.display = (get('on_today','id').style.display=='none')? '' : 'none';
  109. get('on_link','id').innerHTML = (get('on_link','id').innerHTML=='Show')? 'Hide' : 'Show';
  110. }
  111. </script>
  112. <td width="100%" valign="top" id="online_today">
  113. <table border=0 width=100%>
  114. <tr><td>
  115. <font size="2">
  116. <b id="total_online_today">There {today_has} been {today_total} User{today_plural} Online in the Past 24 Hours</b>
  117. ({staff_today} Staff Member{staff_today_plural}, {member_today} Member{member_today_plural}, {guest_today} Guest{guest_today_plural})
  118. </font>
  119. </td>
  120. <td align="right">
  121. <font size="1"><a href='javascript: void(0);' onclick='on_toggle();' id='on_link'>Show</a></font>
  122. </td></tr>
  123. </table>
  124. <table cellpadding="4" width="100%">
  125. <tr id="on_today" style="display: none">
  126. <td valign="top" id="users_online_today">
  127. <font size="2">
  128. {today_str}
  129. </font>
  130. </td>
  131. </tr>
  132. </table>
  133. </td>
  134. </tr>
  135. </table>
  136. </td>
  137. </tr>
  138. </table>
  139. </td>
  140. </tr>
  141. </table>
  142. </td>
  143. </tr>
  144. </table>
 
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: wR Info Center (11th Oct 08 at 7:09pm UTC)
How do I make the "There have been x Users Online in the Past 24 Hours" always show?
dog199200
Guest
Re: wR Info Center (12th Oct 08 at 1:00am UTC)
try this:

Code:
 
  1. <table align="center" cellpadding="3" cellspacing="1" class="border" width="100%" id="info_center">
  2. <tr>
  3. <td class="title2">
  4. <span class="title"><a name='Stats'></a>Stats</span>
  5. </td>
  6. </tr>
  7. <tr>
  8. <td class="window2">
  9. <table width="100%">
  10. <tr>
  11. <td width="25%">
  12. <table width="95%" cellspacing="1" cellpadding="1" align="center">
  13. <tr>
  14. <td width="100%" class="border">
  15. <table width="100%" class="window1" cellpadding="0" cellspacing="3">
  16. <tr>
  17. <td align="center" id="info_center_stats" style="height: 55px;">
  18. Members: {total_members}<br />
  19. Topics: {total_topics} | Posts: {total_posts}<br />
  20. Boards: {total_boards} | Categories: {total_categories}<br />
  21. </td>
  22. </tr>
  23. </table>
  24. </td>
  25. </tr>
  26. </table>
  27. </td>
  28. <td width="50%" valign="top">
  29. <table width="100%" cellspacing="1" cellpadding="1" align="center">
  30. <tr>
  31. <td class="border">
  32. <table width="100%" class="window1">
  33. <tr>
  34. <td id="info_center_last_post" align="center" style="height: 55px;">
  35. <font size="2">
  36. The last post made was:<br />
  37. {last_post} by {last_post_user}<br />
  38. {last_post_date}
  39. </font>
  40. </td>
  41. </tr>
  42. </table>
  43. </td>
  44. </tr>
  45. </table>
  46. </td>
  47. <td width="25%">
  48. <table width="95%" cellspacing="1" cellpadding="1" align="center">
  49. <tr>
  50. <td class="border">
  51. <table width="100%" class="window1">
  52. <tr>
  53. <td style="height: 55px;" align="center">
  54. <div id="new_members">
  55. Newest Members: <script>
  56. var a = '{newest_members:3}';
  57. var b = a.split(/<br\s?\/?>/);
  58. document.write(b.splice(0,b.length-1).join(', '));
  59. </script>.
  60. </div><br>
  61. {if:member}Total PMs: {total_pms} | New PMs: {new_pms}{/if:member}
  62. {if:guest}Please <a href='/action/login'>Login</a> or <a href='/action/register'>Register</a>{/if:guest}
  63. </td>
  64. </tr>
  65. </table>
  66. </td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td width="100%" colspan="5">
  73. <table width="99%" cellspacing="1" cellpadding="1" align="center">
  74. <tr>
  75. <td width="100%" class="border">
  76. <table width="100%" class="window1">
  77. <tr>
  78. <td width="50%" valign="top">
  79. <font size="2">
  80. <b id="total_online">There {online_is} Currently {online_total} User{online_plural} Online</b> ({staff_on} Staff Member{staff_on_plural}, {member_on} Member{member_on_plural}, {guest_on} Guest{guest_on_plural})
  81. </font>
  82. <table cellpadding="4" width="100%">
  83. <tr>
  84. <td valign="top" id="users_online">
  85. <font size="2">
  86. {online_str}
  87. </font>
  88. </td>
  89. </tr>
  90. </table>
  91. </td>
  92. </tr>
  93. </table>
  94. </td>
  95. </tr>
  96. </table>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td width="100%" colspan="5">
  101. <table width="99%" cellspacing="1" cellpadding="1" align="center">
  102. <tr>
  103. <td width="100%" class="border">
  104. <table width="100%" class="window1">
  105. <tr>
  106. <td width="100%" valign="top" id="online_today">
  107. <table border=0 width=100%>
  108. <tr><td>
  109. <font size="2">
  110. <b id="total_online_today">There {today_has} been {today_total} User{today_plural} Online in the Past 24 Hours</b>
  111. ({staff_today} Staff Member{staff_today_plural}, {member_today} Member{member_today_plural}, {guest_today} Guest{guest_today_plural})
  112. </font>
  113. </td>
  114. </tr>
  115. </table>
  116. <table cellpadding="4" width="100%">
  117. <tr id="on_today" style="display: none">
  118. <td valign="top" id="users_online_today">
  119. <font size="2">
  120. {today_str}
  121. </font>
  122. </td>
  123. </tr>
  124. </table>
  125. </td>
  126. </tr>
  127. </table>
  128. </td>
  129. </tr>
  130. </table>
  131. </td>
  132. </tr>
  133. </table>
  134. </td>
  135. </tr>
  136. </table>
 


I was guessing you wanted the toggle effect removed
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: wR Info Center (12th Oct 08 at 5:12am UTC)
The toggle could have stayed, but thats ok. (Also this is not for infinity codes, I am revamping my Final Fantasy forum)

Thanks, but it now does not show
http://i185.photobucket.com/albums/x20/magedesigns/misc/FFVIIForbiddenReunionV3-Home.png

I also took out the links table that I adding into the Info center area, and there was no difference.
dog199200
Guest
Re: wR Info Center (12th Oct 08 at 7:43am UTC)
ok well when i get home tomorrow, i'll sit done and fix it for you
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: wR Info Center (12th Oct 08 at 7:48am UTC)
alright, and for right now, I have to go to bed, have to get up tomorrow for something.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: wR Info Center (12th Oct 08 at 2:38pm UTC)
On line 117 you'll see this:
<tr id="on_today" style="display: none">
just make it this:
<tr>
and it should be fine.

That's the only things you forgot to change Dwight, i think {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: wR Info Center (12th Oct 08 at 9:59pm UTC)
Hey that worked thanks Canada {Grin}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: wR Info Center (12th Oct 08 at 11:19pm UTC)
Your welcome Darkmage {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
dog199200
Guest
Re: wR Info Center (13th Oct 08 at 2:26am UTC)
:0 ya i noticed what i had done wrong last night, i was just to tired to fix it then, so ty Canada
(¯`•Stormraven•._)
Junior Member
**

[Avatar]
CodersHangout.co.uk

Posts: 81
Status: Offline
Gender: Male
Location: $_home
Age: 35
Joined:  
Reputation: 0%  


pmwww
Re: wR Info Center (13th Oct 08 at 2:50am UTC)
 
On line 117 you'll see this:
<tr id="on_today" style="display: none">
just make it this:
<tr>
and it should be fine.

That's the only things you forgot to change Dwight, i think {Grin} .


I see you have been working on your coding there Canada {Cool} Nice code Wrighty {Smile}

Design and Programming Forums
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: wR Info Center (13th Oct 08 at 2:35pm UTC)
Yes {Grin} , but there still alot of things that i have trouble with , i try but then i do need help . It coming slowly {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
 Printable View

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