|
Text
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



Joined: 11 Jun 2006
Posts: 909
Location: Hampshire,England

Add Comment
Show Comments
|
Posted: Sat Mar 24, 2007 6:37 pm |
 |
|
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: | <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
So the final code may look like this.
| Code: | <!--BEGIN switch_birthday_title -->
{BIRTHDAY_TITLE}
<!--END switch_birthday_title -->
<!-- BEGIN birthday -->
{birthday.NAME}
<!-- END birthday --> |
And thats HOWTODOIT
|
|
| |
|
 |
|
|
|
 |
|
 |
|
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.
|
|
|
|