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.
|

CodyT07
|
Time component.This is one that i came up with the idea, Nick made it better.
Heres the current code in my overall header.tpl
| Code: | <table><tr>
<td valign="top">
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th>Current Time</th>
</tr>
<tr>
<td class="row1" ><span class="gen"><b>{CURRENT_TIME}</b></span></td>
</tr>
</table> |
And a preview can be seen at Link Exchange
Basically you add it in your portal codes. So for example heres my full portal code. (in overallheader as im running dual)
| Code: | <!-- BEGIN switch_forum_view -->
<table><tr>
<td valign="top">
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th>Current Time</th>
</tr>
<tr>
<td class="row1" ><span class="gen"><b>{CURRENT_TIME}</b></span></td>
</tr>
</table>
{MYFF.FADER}{MYFF.ANNOUNCE show_results="topics" link="FORUM"}{MYFF.STICKY show_results="topics" link="FORUM"}{MYFF.TOPPOSTERS}
</td></table>
<!-- END switch_forum_view -->
</td>
<td valign="top" align="center"> |
Though im wondering if its possible if it can do an ip thing and and it will see what time zone you are in.
thats the code, opinions please.
|
Nick(NR)
|
As you using the forums existing code, the time will be that of the board itself.
As for it automatically checking the timezone your in, not sure how, have had a quik look , but need more time to find something useful.
|
CodyT07
|
| Nick(NR) wrote: | As you using the forums existing code, the time will be that of the board itself.
As for it automatically checking the timezone your in, not sure how, have had a quik look , but need more time to find something useful. |
im just playing around with all the phpbb {} things, as i have been able to reproduce your private message thing too. I just dont want a third party portal component so thats why i used the {current time} code. Also Nick you may have noticed i added a few numbers to the code.
|
|
|
|