Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Nov 2005
    Posts
    750
    Thanks
    138
    Thanked 1 Time in 1 Post

    File and change of time question

    Hello

    I have downloaded a free ASP chat that works and I am free to customise it.

    There is an English language version of the site file made possible by a file called 'messages.en' which is included in the downloadable directory.

    The file also include scripting that inserts a time and date that a user logs on to the chat site, but the script is in a file that I don't recognise. That part of the script that makes the time visible on screen is included here:

    Code:
    # help
    help.title=Quick Help
    help.commands=This list gives you an overview of available commands.
    help.command.bold=&lt;b&gt; and &lt;/b&gt; to surround <b>bold</b> text.
    help.command.italic=&lt;i&gt; and &lt;/i&gt; to surround <i>italic</i> text.
    help.command.underline=&lt;u&gt; and &lt;/u&gt; to surround <u>underlined</u> text.
    help.command.date=&lt;date&gt; inserts current date.
    help.command.time=&lt;time&gt; inserts current time.
    help.command.datetime=&lt;datetime&gt; inserts current date and time.
    help.symbols=Some symbols are used to indicate users logging in, out, etc.
    help.symbols.log_in=A <img border="0" src="images/new.gif" width="9" height="9" alt="new"> indicates a user has logged in.
    help.symbols.log_out=A <img border="0" src="images/bp.gif" width="9" height="9" alt="notify"> indicates a user has logged out.
    help.hint=Hint:
    help.hint.refresh=Type an empty message to refresh chat window immediately.
    help.smilies=Smilies:
    help.smilies.link=Click here to see available smilies.
    The time is in a US time, not a UK one, and I would need to change that but I am not sure how. If I click on the file and go to Properties it is showing as a Windows Shell Common Dll.

    Thanks for any advise.

    Steve

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,919
    Thanks
    79
    Thanked 4,423 Times in 4,388 Posts
    Nope. Not this file. This is, as it says, a "Help" file. What that chat user presumably sees when he/she asks for help.

    There is not a bit of date or time formatting in here.

    Try again.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    SteveH (05-29-2012)

  • #3
    Regular Coder
    Join Date
    Nov 2005
    Posts
    750
    Thanks
    138
    Thanked 1 Time in 1 Post
    Hello OP

    Thanks.

    Well, at least I know now. I'll go through the other files I have.

    Cheers

    Steve

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,919
    Thanks
    79
    Thanked 4,423 Times in 4,388 Posts
    PROBABLY all you need to do is include the line
    Code:
    <%
    Session.LCID = 2057
    %>
    In the first page the user sees. At worst, you'd put it into each ASP page, but almost surely you don't need to do that.

    But give it a shot.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •