This is the info center that was on wRcreations.
Preview
Code: HTML
- <table align="center" cellpadding="3" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title2">
- <span class="title"><a name='Stats'></a>Stats</span>
- </td>
- </tr>
- <tr>
- <td class="window2">
- <table width="100%">
- <tr>
- <td width="25%">
- <table width="95%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1" cellpadding="0" cellspacing="3">
- <tr>
- <td align="center" id="info_center_stats" style="height: 55px;">
- Members: {total_members}<br />
- Topics: {total_topics} | Posts: {total_posts}<br />
- Boards: {total_boards} | Categories: {total_categories}<br />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="50%" valign="top">
- <table width="100%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td class="border">
- <table width="100%" class="window1">
- <tr>
- <td id="info_center_last_post" align="center" style="height: 55px;">
- <font size="2">
- The last post made was:<br />
- {last_post} by {last_post_user}<br />
- {last_post_date}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="25%">
- <table width="95%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td class="border">
- <table width="100%" class="window1">
- <tr>
- <td style="height: 55px;" align="center">
- <div id="new_members">
- Newest Members: <script>
- var a = '{newest_members:3}';
- var b = a.split(/<br\s?\/?>/);
- document.write(b.splice(0,b.length-1).join(', '));
- </script>.
- </div><br>
- {if:member}Total PMs: {total_pms} | New PMs: {new_pms}{/if:member}
- {if:guest}Please <a href='/action/login'>Login</a> or <a href='/action/register'>Register</a>{/if:guest}
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100%" colspan="5">
- <table width="99%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1">
- <tr>
- <td width="50%" valign="top">
- <font size="2">
- <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})
- </font>
- <table cellpadding="4" width="100%">
- <tr>
- <td valign="top" id="users_online">
- <font size="2">
- {online_str}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100%" colspan="5">
- <table width="99%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1">
- <tr>
- <script>
- function on_toggle(){
- get('on_today','id').style.display = (get('on_today','id').style.display=='none')? '' : 'none';
- get('on_link','id').innerHTML = (get('on_link','id').innerHTML=='Show')? 'Hide' : 'Show';
- }
- </script>
- <td width="100%" valign="top" id="online_today">
- <table border=0 width=100%>
- <tr><td>
- <font size="2">
- <b id="total_online_today">There {today_has} been {today_total} User{today_plural} Online in the Past 24 Hours</b>
- ({staff_today} Staff Member{staff_today_plural}, {member_today} Member{member_today_plural}, {guest_today} Guest{guest_today_plural})
- </font>
- </td>
- <td align="right">
- <font size="1"><a href='javascript: void(0);' onclick='on_toggle();' id='on_link'>Show</a></font>
- </td></tr>
- </table>
- <table cellpadding="4" width="100%">
- <tr id="on_today" style="display: none">
- <td valign="top" id="users_online_today">
- <font size="2">
- {today_str}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
How do I make the "There have been x Users Online in the Past 24 Hours" always show?
try this:
Code:
- <table align="center" cellpadding="3" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title2">
- <span class="title"><a name='Stats'></a>Stats</span>
- </td>
- </tr>
- <tr>
- <td class="window2">
- <table width="100%">
- <tr>
- <td width="25%">
- <table width="95%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1" cellpadding="0" cellspacing="3">
- <tr>
- <td align="center" id="info_center_stats" style="height: 55px;">
- Members: {total_members}<br />
- Topics: {total_topics} | Posts: {total_posts}<br />
- Boards: {total_boards} | Categories: {total_categories}<br />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="50%" valign="top">
- <table width="100%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td class="border">
- <table width="100%" class="window1">
- <tr>
- <td id="info_center_last_post" align="center" style="height: 55px;">
- <font size="2">
- The last post made was:<br />
- {last_post} by {last_post_user}<br />
- {last_post_date}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="25%">
- <table width="95%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td class="border">
- <table width="100%" class="window1">
- <tr>
- <td style="height: 55px;" align="center">
- <div id="new_members">
- Newest Members: <script>
- var a = '{newest_members:3}';
- var b = a.split(/<br\s?\/?>/);
- document.write(b.splice(0,b.length-1).join(', '));
- </script>.
- </div><br>
- {if:member}Total PMs: {total_pms} | New PMs: {new_pms}{/if:member}
- {if:guest}Please <a href='/action/login'>Login</a> or <a href='/action/register'>Register</a>{/if:guest}
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100%" colspan="5">
- <table width="99%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1">
- <tr>
- <td width="50%" valign="top">
- <font size="2">
- <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})
- </font>
- <table cellpadding="4" width="100%">
- <tr>
- <td valign="top" id="users_online">
- <font size="2">
- {online_str}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100%" colspan="5">
- <table width="99%" cellspacing="1" cellpadding="1" align="center">
- <tr>
- <td width="100%" class="border">
- <table width="100%" class="window1">
- <tr>
- <td width="100%" valign="top" id="online_today">
- <table border=0 width=100%>
- <tr><td>
- <font size="2">
- <b id="total_online_today">There {today_has} been {today_total} User{today_plural} Online in the Past 24 Hours</b>
- ({staff_today} Staff Member{staff_today_plural}, {member_today} Member{member_today_plural}, {guest_today} Guest{guest_today_plural})
- </font>
- </td>
- </tr>
- </table>
- <table cellpadding="4" width="100%">
- <tr id="on_today" style="display: none">
- <td valign="top" id="users_online_today">
- <font size="2">
- {today_str}
- </font>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
I was guessing you wanted the toggle effect removed
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/FFVI IForbiddenReunionV3-Home.png
I also took out the links table that I adding into the Info center area, and there was no difference.
ok well when i get home tomorrow, i'll sit done and fix it for you
alright, and for right now, I have to go to bed, have to get up tomorrow for something.
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 .
Hey that worked thanks Canada
Your welcome Darkmage .
:0 ya i noticed what i had done wrong last night, i was just to tired to fix it then, so ty Canada
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 .
I see you have been working on your coding there Canada Nice code Wrighty
Yes , but there still alot of things that i have trouble with , i try but then i do need help . It coming slowly .