vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   code for time indication? (https://vborg.vbsupport.ru/showthread.php?t=70200)

Wordplay 10-05-2004 12:04 AM

code for time indication?
 
1 Attachment(s)
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:

Code:

<!-- 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 :)


All times are GMT. The time now is 12:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01592 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete