Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
Birthday Table
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Add-on`s for your forum
Author Message
Please Register and Login to this forum to stop seeing this advertising.







Add Comment
Show Comments
Posted:

Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England
FLAGS
Add Comment
Show Comments
PostPosted: Sat Mar 24, 2007 6:37 pm  Reply with quote

In an addition to the birthday hack used for profile you can now add a birthday table at the bottom of your forum so it looks like this.




So HOWTODOIT

You need to edit your index_body.tpl

Find a block of code that is similar to this

Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td class="tableborder">

           <table width="100%" border="0" cellspacing="1">
            <tr>
               <td colspan="2" bgcolor="#0C0C0C" class="categorybar">
      
                  <table border="0">
                     <tr>
                        <td><img src="templates/myfs_howtodoit1/images/category_icon.gif" /></td>
                        <td><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
                     </tr>
                  </table>
               
               </td>
            </tr>
            <tr>
               <td class="row1" align="center" valign="middle" rowspan="2" width="6%"><img src="templates/myfs_howtodoit1/images/whoisonline.jpg" alt="{L_WHO_IS_ONLINE}" /></td>
               <td class="row1" align="left" width="94%"><span class="gensmall">{TOTAL_POSTS}</span></td>
            </tr>
            <tr>
               <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} </span></td></tr></table>


Now just add this code to the bottom just before the last
Code:
</table>.


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>


So it will look look something like this



Code:
   <table width="100%" border="0" cellspacing="1">
            <tr>
               <td colspan="2" bgcolor="#0C0C0C" class="categorybar">
      
                  <table border="0">
                     <tr>
                        <td><img src="templates/myfs_howtodoit1/images/category_icon.gif" /></td>
                        <td><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
                     </tr>
                  </table>
               
               </td>
            </tr>
            <tr>
               <td class="row1" align="center" valign="middle" rowspan="2" width="6%"><img src="templates/myfs_howtodoit1/images/whoisonline.jpg" alt="{L_WHO_IS_ONLINE}" /></td>
               <td class="row1" align="left" width="94%"><span class="gensmall">{TOTAL_POSTS}</span></td>
            </tr>
            <tr>
               <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} </span></td></tr>
<td class="row1" align="center" valign="middle" rowspan="1"><img src="http://testhtml.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>


To add how old they are you would need to add the following code to your cms_birthday.tpl

Code:
({birthday.YEARS})


So the final code may look like this.

Code:
<!--BEGIN switch_birthday_title -->     
{BIRTHDAY_TITLE}
<!--END switch_birthday_title -->          
  <!-- BEGIN birthday -->
{birthday.NAME}&nbsp;
  <!-- END birthday -->


And thats HOWTODOIT

View user's profile Send private message Visit poster's website FACEBOOKSTEAM
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Add-on`s for your forum


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

HOWTODOIT was designed and built by Symon Field
Creator Of ☆ ☆ FunnyWorld
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 
Create your own free forum | Buy a domain to use with your forum