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
 Why members can delete other member's Events ?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

GauravBhabu
Advanced Member

4288 Posts

Posted - 13 September 2002 :  20:30:23  Show Profile
I can't tell, because I don't know what you want to use it for?

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

Alex123
Junior Member

Greece
237 Posts

Posted - 13 September 2002 :  20:43:58  Show Profile
Hi GauravBhabu,

I only want for the "Event Calendar" to show the Today’s Date, not based on the server's hours, where my forum is hosted, but based on the forum's hours. I add 7 hours to the Forum's Date, through the "Server Date/Time Configuration" option.

You have helped me enormously already, so if this is too much I ‘ll understand

Thanks
Alex
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 13 September 2002 :  21:02:27  Show Profile
Find this around Line 140 in events.asp
datToday = date()


Replace as below
datToday = DateValue(strForumTimeAdjust)


You might need to change all
Date() occurances
to
DateValue(strForumTimeAdjust)

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

Alex123
Junior Member

Greece
237 Posts

Posted - 13 September 2002 :  21:30:57  Show Profile
Thank you again. It worked just fine

Thanks
Alex
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 13 September 2002 :  22:13:06  Show Profile
You are welcome

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

Alex123
Junior Member

Greece
237 Posts

Posted - 14 September 2002 :  06:30:31  Show Profile
Hi GauravBhabu,

Sorry to be of such a pain , but after I added the last tow scripts you suggested, one for "events.asp" and the other for "events_functions.asp" , whenever I try to delete an event, I get the following error:

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/forum/events_functions.asp, line 1118

Could help me with this please ?

Thank you again very much
Alex

Edited by - Alex123 on 14 September 2002 06:36:47
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 14 September 2002 :  07:38:12  Show Profile
first, Thanks GB again~~ i learn one more lesson from you !!

Alex123, i also applied GB's code on my Events MOD.
and it work fine for me... no any problem about edit/delete.

so i think maybe your problem not cause from delete event..
if you change something about Date format, maybe should check it again.
there are many places need take care, especially the Date issue of Events MOD.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07