PDA

View Full Version : code for time indication?


Wordplay
10-05-2004, 12:04 AM
okey i messed up... just changed my style, and for some reason... i've now got the current time at the top of my site... don't know how i managed that but i've got to get rid of that.

so could somebody please tell me the code for it? so i can search my style and put it somewhere around the bottom of my style?

peterska2
10-05-2004, 01:15 AM
The phrase is 'all_times_are_gmt_x_time_now_is_y' :)

nexialys
10-05-2004, 01:50 AM
your phrase is simply outside the < td > where it was placed, so it's displayed just in the first level of your table... just move it back where you took it!

Wordplay
10-05-2004, 09:47 AM
i dont really know where i took it from :D heehe, but i think i'll be able to drop it somewhere else.

Wordplay
10-05-2004, 10:19 AM
great. thanks alot for the help. got it working fine now. that was pretty easy, but i think my style sheet is kind of messy now.

i do have another question though, nobody was able to answer for me yet.

what's the code to display the login field in the forumhome? and when logged in it states the usual info. because i installed a style that doesn't include that part, at the top... so how can i put that in?

sorry about all the dumb questions, but i want my forum to be the best it can be, and i'm not that familiar with php scripts.

peterska2
10-05-2004, 10:44 AM
thats in your NAVBAR template

Wordplay
10-05-2004, 10:55 AM
it used to be... but i installed a style which doesn't feature it.

peterska2
10-05-2004, 10:59 AM
Ah right.

If you press the button labeled [view original] then the code will be in there. Just copy and paste it over,

Wordplay
10-05-2004, 10:59 AM
actually wait... apperently this is still in my navbar:

<!-- breadcrumb, login, pm info -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<br />
which seems to be it... but it doesn't show up on any of my pages... maybe i need to include that in my header... how would i call this up? so i can place in into my forum home's table at the top?

MindTrix
10-05-2004, 03:17 PM
Have you tried logging out to see if it shows up :)

Wordplay
10-05-2004, 07:33 PM
hehe, yeah i did. logged out or in, there is no indication of it. but the style i'm using has a completely new header and the forumhome is also very different.

isn't there a simple code that just places that right in there?

Wordplay
10-06-2004, 08:08 PM
bump!