Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> PhpBB3 General Support
archers-rest

Birthday table

Right, I have birthdays enabled in board features and load settings and the following is already in the index_body

Code:

<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
   <h3>{L_BIRTHDAYS}</h3>
   <p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
<!-- ENDIF -->


But nothing appears on the forum  
Symon

You would need something like this,, but your have to customise it for that template.


Code:

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
   <br clear="all" />

   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
   </tr>
   <tr>
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td>
      <td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
   </tr>
   </table>
<!-- ENDIF -->
archers-rest

Cheers Symon, I have added the supplied code and its working, needs a little tidy up though, thanks again
archers-rest

Code:

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
   <br clear="all" />

   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat" colspan="2"><h3>{L_BIRTHDAYS}</h3></td>
   </tr>
   <tr>
      

      <td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
   </tr>
   </table>
<!-- ENDIF -->


I have the above in my index_body.html but its not showing the birthdays, I have a birthday showing today on phpbb2 but not phpbb3?
archers-rest

^^^bump  Wink
Symon

The only thing i can think of is that this template is not pulling the data correct,, it would be one for Admin to look at ,, as i have given you a working code form another template, and yet it didnt work.
admin (no pm's please)

I'd certainly recommend trying a different template, and possibly looking at the main phpbb3 support forum.

This is early days with phpbb3 and I expect some templates are buggy at this stage.

Symon is I think saying he has seen this working, so that does point to template issues.
wills99

I had this problem too, I had to input every member's birthday manually myself and re-submitted the info, try and change someone's birthday to today and see if it works, it should show up straight away.
admin (no pm's please)

If this is so it would imply the conversion of birthdays is flawed that can be fixed.
wills99

I should have brought this to your attention earlier, sorry about that, I sorted it myself however and forgot all about it, but no birthday's were recognised in either of my phpBB3 forums when I converted.
admin (no pm's please)

I think I see and have fixed the issue for new conversions.

Normal date fields convert okay, but when the same is applied to the birthday field things do not, as phpbb3 reads this back in a fussier fashion than date profile fields.
archers-rest

Fixed for new conversions?

Does this mean I have to manually re enter all birthdays or will/may it work when I next 'syncronise'?
admin (no pm's please)

I think sync should do the trick.
andykm

Really didnt want to start a new thread for this as it is similar to this,

on my bday table, there is nothing, it doesnt even say,"No Birthdays Today"
should it say anything? Just curious...

http://worldofwarcraftpc.myfreeforum.org/index.php

Code:
<tr> <td class="row1" align="center" valign="middle" rowspan="1"><img src="http://howtodoit.myfastforum.org/templates/myfs_howtodoit1/images/birthday.gif" alt="{L_BIRTHDAY}" /></td>
  <td class="row1" align="left"><span class="gensmall">{MYFF.BIRTHDAY}</span> </td> </tr>

</table>
admin (no pm's please)

This is up to you. a macro {BIRTHDAY_COUNT} is defined, allowing constructions like:

<!-- IF BIRTHDAY_COUNT == 0 -->

<!-- ELSE -->

<!-- ENDIF -->

in the cms_birthday.tpl file.

       myfreeforum.org Forum Index -> PhpBB3 General Support
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum