Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Front Page News MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 07 January 2007 :  08:11:21  Show Profile
I have had a couple of minor problems.. the first being an error relative to line 12 of inc_news_body.asp

response.write "<table align=""center"" width=""75%"" border=""1"" cellspacing =""0"">"
' dim i,cmdate,cmdate2
if strDBType = "mysql" then

as you can see I have commented this line out and all seems to work ok.. except..

I would like to change the way the date is displayed from 1/7/2007 to 7/1/2007 .. is the line I have commented out relative to this??

I would also like to change the font to "verdana, size 2(10pt)" to match in with the rest of the forum. If you could point me in the right direction I would be grateful.

Dave

No good at coding, but I can plough a field !!

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 23 February 2007 :  05:13:36  Show Profile
I had a similar problem with the way the date is displayed. I live in the UK, my server is based in USA. Shaggy and HuwR spent a great deal of time helping to solve close issues that relate to date and time displays. What we did to solve most of the problem was to change the LCID to 2057 in the config.asp file.
This routine will check server outputs for diffrent LCID

<html>
<body>
<%
response.write("<p>")
response.write("The default LCID for this page is: " & Session.LCID & "<br />")
response.write("The Date format for the above LCID is: " & date() & "<br />")
response.write("The Currency format for the above LCID is: " & FormatCurrency(350))
response.write("</p>")

Session.LCID = 2057

response.write("<p>")
response.write("The LCID is now changed to: " & Session.LCID & "<br />")
response.write("The Date format for the above LCID is: " & date() & "<br />")
response.write("The Currency format for the above LCID is: " & FormatCurrency(350))
response.write("</p>")
%>
</body>
</html>
Save this text in a test.asp file and upload to server root then view it
http://www.yourdomain.co.uk/test.asp
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 February 2007 :  05:15:28  Show Profile
quote:
Originally posted by thermal_seeker
I would like to change the way the date is displayed from 1/7/2007 to 7/1/2007 .. is the line I have commented out relative to this??
No. What you need to do is replace all uses of the strtodate function in that file with the chkdate function.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 23 February 2007 :  11:46:06  Show Profile
Magic,

Thanks for your help

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 February 2007 :  12:05:40  Show Profile
You're welcome


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07