vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Something broke. - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

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


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:
 
  1. <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%" id="info_center">
  2.  
  3. <tr>
  4. <td class="title1" colspan="2">
  5. <font size="2">
  6. <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Users Online</strong>
  7. </font>
  8. </td>
  9. </tr>
  10. <tr>
  11. <td width="24px" class="window1">
  12. <img src="http://www.idirectory.us/images/forum/whosonline.gif" align="middle">
  13. </td>
  14. <td class="window2">
  15. <font size="1">
  16. In total there are {all_online_total} users online :: <a href="/action/members">{total_members}</a> registered, and {guest_on} guests
  17. Most users ever online was {today_total} (based on users active over the past 24 hours)<br /> <br />
  18. Online Now: {foreach:all_online}{user}{ifnot:foreach_last}, {/if}{/foreach} {foreach:bots_online}{user}{ifnot:foreach_last}, {/if}{/foreach} <br />
  19. 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}
  20. </font>
  21. </td>
  22. </tr>
  23. </table>
  24. <br />
  25.  
  26. <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
  27. <tr>
  28. <td class="title2" colspan="2">
  29. <font size="2">
  30. <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Statistics</strong>
  31. </font>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td width="24px" class="window1">
  36. <img src="http://www.idirectory.us/images/forum/stats.gif" align="middle">
  37. </td>
  38. <td class="window2">
  39. <font size="1">
  40. 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 />
  41. The last post made was {last_post} by {last_post_user} on {last_post_date}
  42. </font>
  43. </td>
  44. </tr>
  45. </table>
  46.  
  47. {if:birthdays}
  48. <br />
  49. <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
  50. <tr>
  51. <td class="title2" colspan="2">
  52. <font size="2">
  53. <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Birthdays</strong>
  54. </font>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td width="24px" class="window1">
  59. <img src="http://www.idirectory.us/images/forum/birthday.gif" align="middle">
  60. </td>
  61. <td class="window2">
  62. <font size="1">
  63. There are a total of {birthday_total} Birthdays<br />
  64. {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach}
  65. </font>
  66. </td>
  67. </tr>
  68. </table>
  69. <br />
  70. {/if}
  71.  
  72. {if:member}
  73. <br />
  74. <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
  75. <tr>
  76. <td class="title2" colspan="2">
  77. <font size="2">
  78. <img src="http://www.idirectory.us/images/favicon.gif"> <strong>Your Information</strong>
  79. </font>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td width="24px" class="window1">
  84. <img src="http://www.idirectory.us/images/forum/whosonline.gif" align="middle">
  85. </td>
  86. <td class="window2">
  87. <font size="1">
  88. Logged in as: <a href="/profile/">##username##</a>
  89. | 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>
  90. </font>
  91. </td>
  92. </tr>
  93. </table>
  94. {/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
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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? {Smile}
Nick
Very Senior Member
*****

[Avatar]

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


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:  
Reputation: 0%  


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
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
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 {Smile}

- Ross

Image
Nick
Very Senior Member
*****

[Avatar]

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


pmwww
Re: Something broke. (23rd Oct 10 at 4:03am UTC)
Ok, thanks. {Smile} Looks good.
 Printable View

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