Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Date presentation enhancement

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jamesdavis Posted - 21 August 2005 : 07:16:29
This is a little MOD that has been extremely well received on my board. What it does is show * Today * instead of the date if the date is today. Members find that it makes it far easier to locate what has changed on the board.

A new function (chkdateT) is added to inc_func_common.asp as follows:

function chkDateT(fDate,separator,fTime)
	if left(fDate,8) = left(DateToStr(strForumTimeAdjust),8) then
		chkDateT = "<B>* Today *</B>"
		if fTime then
			chkDateT = chkDateT & separator & chkTime(fDate)
		end if
	else
		chkDateT = chkDate(fDate,separator,fTime)
	end if
end function

Then anywhere you wish to use it just change 'chkdate' to 'chkdateT'

You may see it in action here.<
8   L A T E S T    R E P L I E S    (Newest First)
Bassman Posted - 29 August 2005 : 17:38:31
Thanks Dave, this is a nice addon. Works great <
bitwise2000 Posted - 22 August 2005 : 11:27:26
quote:
Originally posted by jamesdavis

The Local Time Zone function is now fully functional on my system. It took the addition of a small (6 character) field in the Members db and less than 50 lines of code. When I have shaken it down for awhile I will package it as a MOD.
That will be a great mod!<
jamesdavis Posted - 21 August 2005 : 19:58:19
The Local Time Zone function is now fully functional on my system. It took the addition of a small (6 character) field in the Members db and less than 50 lines of code. When I have shaken it down for awhile I will package it as a MOD.

Note that this only works for members - guests continue to see all times relative to the server's time zone.

You can register on my board and check it out for yourself by going to the Motorcyle Safety Forum.<
HuwR Posted - 21 August 2005 : 12:25:33
quote:
Originally posted by jamesdavis

I understand that. This was a quick enhancement MOD. I will work on adding a local Time Adjust to the user profile to handle the real world.


Some people may not, that was the only reason for pointing it out, otherwise you can guarentee someone will complain <
jamesdavis Posted - 21 August 2005 : 11:31:44
I understand that. This was a quick enhancement MOD. I will work on adding a local Time Adjust to the user profile to handle the real world.<
HuwR Posted - 21 August 2005 : 11:16:57
The forums today is still not my today unless it is in the same timezone as I am<
jamesdavis Posted - 21 August 2005 : 08:58:27
Because I use strForumTimeAdjust today is always today relative to all dates shown the user.<
HuwR Posted - 21 August 2005 : 08:10:24
Today for you may not be today for other people though <

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.07