vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: info center Birthday error - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


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:
 
  1. {if:birthdays}
  2. <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
  3. <tr>
  4. <td class="title2" colspan="2">
  5. <font size="2">
  6. <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Birthdays</strong>
  7. </font>
  8. </td>
  9. </tr>
  10. <tr>
  11. <td width="24px" class="window1">
  12. <img src="http://www.idirectory.x10.mx/images/forum/birthday.gif" align="middle">
  13. </td>
  14. <td class="window2">
  15. <font size="1">
  16. There are a total of {birthday_total} Birthdays<br />
  17. {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach}
  18. </font>
  19. </td>
  20. </tr>
  21. </table>
  22. <br />
  23. {/if}
  24.  
 


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. {Tongue Out}

I think the {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach} is broken to be honest. {Tongue Out}
Aiken
Full Member
***

[Avatar]

Posts: 333
Status: Offline
Gender: Male
Location: In a very lonely place, the domain of despair
Age: 35
Joined:  
Reputation: 12%  


pmtwitterskypemsnyahooxfire
Re: info center Birthday error (30th Apr 10 at 5:33am UTC)
I've never been able to put b-days and events in my info center because of something similar

vF forums:
Perfect World RP
BLEACH Universe - Under Construction / Testing Phase
Xen Qarna RP - Stage I
Vyren Entar Battle Network RP - Under Construction / Maintenance Mode Enabled
the Final Anime Hideout
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


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

Image
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


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! {Cheesy}


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. {Tongue Out}
 Printable View

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