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
 Last Post...Today
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

langiujc
Starting Member

11 Posts

Posted - 19 October 2005 :  12:54:59  Show Profile
I have a mod that I am using and it outputs Today or Yesterday in the last post section....not too hard. Well it seems that after it rolls over 12 hours, it changes Today to Yesterday.

For example, I post today at 9:45 a.m. and it displays Today. At 9:45 p.m., it changes to Yesterday.

Does anyone know a way to remedy this ?

Thank you

kwhipp
Junior Member

United States
407 Posts

Posted - 19 October 2005 :  13:36:13  Show Profile
Take a look at my Today and Yesterday MOD.

http://whipp.us/topic.asp?TOPIC_ID=15

- Kevin
Go to Top of Page

langiujc
Starting Member

11 Posts

Posted - 19 October 2005 :  13:48:53  Show Profile
I have your mod installed.
Do you know what would be causing my problem?

I recently changed from the 24 hour to 12 hour format.

Thanks
Go to Top of Page

kwhipp
Junior Member

United States
407 Posts

Posted - 19 October 2005 :  23:37:41  Show Profile
Can you post a link to your forum? Also, a link to a text version of your inc_func_common.asp would also help.

- Kevin
Go to Top of Page

langiujc
Starting Member

11 Posts

Posted - 20 October 2005 :  06:11:06  Show Profile
http://2wheelexpressions.com

user: demo
pass: temp

http://2wheelexpressions.com/files/inc_func_common.txt

Edited by - langiujc on 20 October 2005 07:43:14
Go to Top of Page

kwhipp
Junior Member

United States
407 Posts

Posted - 20 October 2005 :  08:22:46  Show Profile
Just tried to go to your forum, but I received the following error.
Active Server Pages error 'ASP 0126'

Include file not found

/board/default.asp, line 71

The include file 'config.asp' was not found.
Is your config.asp file missing?

- Kevin
Go to Top of Page

langiujc
Starting Member

11 Posts

Posted - 20 October 2005 :  09:49:18  Show Profile
Sorry, I was doing some other addons.
It is up now.
Go to Top of Page

langiujc
Starting Member

11 Posts

Posted - 20 October 2005 :  21:27:02  Show Profile
Here is a perfect example.

One of my users posted TODAY at 3:16:50 p.m. it is now 9:35:15 and it is marked as tomorrow...I have been looking at the cod and it looks pretty straight forward.

If date = date then Today, if date = date -1 then Yesterday....at least to that effect (I am still learning ASP).

What am I overlooking ?
Go to Top of Page

kwhipp
Junior Member

United States
407 Posts

Posted - 21 October 2005 :  00:08:44  Show Profile
Sorry, but I cannot see anything wrong with the ASP. Does anyone else have any ideas or thoughts?

- Kevin
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 21 October 2005 :  00:21:02  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
langiujc, I just checked your forum... looks OK to me.
It works with the "you last visited" code in default.asp, and I don't see anything wrong anywhere else.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

kwhipp
Junior Member

United States
407 Posts

Posted - 21 October 2005 :  00:30:41  Show Profile
OWM -

I used the demo account and posted 3 topics at around 11:50 and they all immediately displayed as "Yesterday". I waited until after 12:00 midnight and posted a 4th time. This 4th post came up as "Today" and the other 3 still read "Yesterday".

- Kevin
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 21 October 2005 :  15:12:04  Show Profile  Visit leatherlips's Homepage
This may not work, but is your time adjustment set correctly in the Admin Options > Server Date/Time Configuration section?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07