Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | info center Birthday error (30th Apr 10 at 1:30am UTC) | | Ok so when I try to add in a birthday table for the info center it shows up like this: http://i185.photobucket.com/albums/x20/magedesigns/misc/bday-ic.jpg
This is the code:
 Code: - {if:birthdays}
- <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.x10.mx/images/favicon.gif"> <strong>Birthdays</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.x10.mx/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}
-
But I do not see any errors. I'm not sure if this is a coding error, or a bug. But a bug is what came to mind.
I think the {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach} is broken to be honest. | |
|
Aiken Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg) Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:
pmskypemsnyahooxfire | |
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: info center Birthday error (30th Apr 10 at 10:57pm UTC) | | I tried the code you provided on my test forum and got no issues. Which suggests the problems lies somewhere else in your info center template. Possibly this is embedded within another {if} or {foreach} statement which is causing the issue?
Can you provide the entire template or put it onto a test board I can look at?
| |
|
|
Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | Re: info center Birthday error (1st May 10 at 6:02am UTC) | | Oddly enough. . . it sorted it's self out. o.o
I took a picture, so I know I'm not crazy!
http://dmtesting.vforums.co.uk/
I always add codes onto my testing forum, to make sure they work, and see what they do, before I officially add them to the main forum, I am adding it too. | |
|