Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Something broke. (22nd Oct 10 at 5:11pm UTC) | | Forum URL: http://idirectory.vforums.co.uk Experienced By: me Browser: Chrome 6.0 Operating System: Ubuntu 10.04
Problem:
In the Info center, a bit of coding looks like it is broken, even though it was working before. It seems to work just fine on another one of my forums though, but nothing has changed.
I'm not quite sure where the problem is.
Here is the code:
Code: - <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%" id="info_center">
-
- <tr>
- <td class="title1" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Users Online</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.us/images/forum/whosonline.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- In total there are {all_online_total} users online :: <a href="/action/members">{total_members}</a> registered, and {guest_on} guests
- Most users ever online was {today_total} (based on users active over the past 24 hours)<br /> <br />
- Online Now: {foreach:all_online}{user}{ifnot:foreach_last}, {/if}{/foreach} {foreach:bots_online}{user}{ifnot:foreach_last}, {/if}{/foreach} <br />
- Past Users: {foreach:all_online_today}{user}{if:invisible} (invisible){/if}{ifnot:foreach_last}, {/if}{/foreach} {foreach:bots_online_today}{user}{ifnot:foreach_last}, {/if}{/foreach}
- </font>
- </td>
- </tr>
- </table>
- <br />
-
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Statistics</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.us/images/forum/stats.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- Total Boards {total_boards} | Total Categories {total_categories} | Total posts {total_posts} | Total topics {total_topics} | Total members {total_members} | Our newest member {foreach:newest_members:1}: {member}{/foreach} <br /><br />
- The last post made was {last_post} by {last_post_user} on {last_post_date}
- </font>
- </td>
- </tr>
- </table>
-
- {if:birthdays}
- <br />
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Birthdays</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.us/images/forum/birthday.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- There are a total of {birthday_total} Birthdays<br />
- {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach}
- </font>
- </td>
- </tr>
- </table>
- <br />
- {/if}
-
- {if:member}
- <br />
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Your Information</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.us/images/forum/whosonline.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- Logged in as: <a href="/profile/">##username##</a>
- | New PM's <a href="/action/pm/">{new_pms}</a> | Total PM's <a href="/action/pm/">{total_pms}</a> | <a href="/action/markasread/type/boards">Mark all Boards as read</a> | <a href="/action/recent">View Most recent posts</a>
- </font>
- </td>
- </tr>
- </table>
- {/if}
edit:
I notice it says V2.4 now. So it has to be something in the new version that caused this. As my other forum http://icodes.vforums.co.uk is 2.3 and it looks fine. | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Something broke. (22nd Oct 10 at 8:30pm UTC) | | Unfortunately Maintenance Mode is enabled - could you perhaps elaborate on the areas that are displaying incorrectly? | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Something broke. (22nd Oct 10 at 9:03pm UTC) | | Ok it's open, but just in case the forum converts here is a screen shot: http://wimg.co.uk/4WD.png | |
|
xcessive New Member
Posts: 11 Status: Offline Joined:
pm | Re: Something broke. (23rd Oct 10 at 12:05am UTC) | | Is it your forum width code at all..?
I'm also seeing some more problems, like the random "{/foreach}". | |
|
Ross Administrator
Posts: 3,709 Status: Offline Gender: Male Age: 8 1⁄1 Joined:
Additional Groups: Support Team
pmwwwgtalkvForum | Re: Something broke. (23rd Oct 10 at 12:22am UTC) | | Hi Nick,
Should be good now.
Looks like a bug fix (relating to birthdays) was applied to the older version but not the newer one (while it was being tested). Have copied that fix over and all seems to be good again. Have also applied the bug to our development version to ensure the same thing doesn't happen again next time
- Ross | |
|
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Something broke. (23rd Oct 10 at 4:03am UTC) | | Ok, thanks. Looks good. | |
|