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
 eventsmod , cannot get it to work
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  05:56:20  Show Profile
Installed
eventsV2sr1
events_uk_date_format
(and also tried all the other uk-date possibilities I found on the Snitz forums)
Snitz last version.(3.3.03)

Hi,
Till 14 days ago the eventsmod worked fine on my forum.
The hostingprovider installed new security scripts, changed time/date on the server to dutch time zone (dd/mm/yyyy).
1.Result I could no longer give entries into the database.
2.The display of the month distorted, only the first week was to be seen.
See my test db on:
http://www.bijenhouden.nl/if/events.asp

In my sql7 database I can see that the dates are entered in a varchar field, in the US style (yyyy/mm/dd) i.e. 20020102202602
So, I conclude (probably wrong) that the servertime on my server isn't of any importance, since it is a varchar field in the db. Whatever, I cann't get this eventsmod installed again. Every day I get posts of our users, telling me that they want to use the calender. I tell them that I am working on it. The fact is that I have no more ideas how to solve it.
Grz.
Romée


ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 April 2002 :  07:17:30  Show Profile  Send ruirib a Yahoo! Message
Romée,

I won't be able to help much on this, as I do not have this mod installed and I cannot install it now. Nevertheless I'm just curious as to the changes you made to inc_functions.asp, since there could be a conflict with some changes introduced by version 4.0 of the Active Users Mod.

Can you post here the code for the StrToDate function in inc_functions.asp?



-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  07:41:33  Show Profile
Hi Rui, ,
The events mod doesn't need any changes in the inc_functions.asp.
I had this problem allready before the version 4.0 of the Active Users Mod, was installed. And on my testforum http://www.bijenhouden.nl/if/events.asp
this mod is it is not installed.
In the testforum the events files are in the if(=forum) directory, but no other forumfile is changed.
Romée




Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 April 2002 :  07:54:57  Show Profile  Send ruirib a Yahoo! Message
quote:

Hi Rui, ,
The events mod doesn't need any changes in the inc_functions.asp.
I had this problem allready before the version 4.0 of the Active Users Mod, was installed. And on my testforum http://www.bijenhouden.nl/if/events.asp
this mod is it is not installed.
In the testforum the events files are in the if(=forum) directory, but no other forumfile is changed.
Romée


Hi Romée,

Did you apply the change recommended in Active Users 4.0 to the StrToDate function in Active Users 4.0?
My view is that you'll need to apply some changes to this function, either the ones in StrToDate (AU 4.0) or the one recommended in the readme.txt included with the Events mod (non-us dates).

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  08:16:38  Show Profile
Rui,
I installed the ActiveUsers40_04 files on my production forum (you know where) as is described in the read me. And this mod works fine. There are no changes needed in the functions.asp however, but there are in the inc.functions.asp. (like function StrToDate(strDateTime)
Dim controlDate, testDate etc.) I made these changes in that forum.

But since the active users mod is not installed on my testforum, I did not make these changes there. Are you suggesting that I should make them in the inc.functions.asp anyhow?

In the events_uk_date_format read me, there is nothing said about changing the inc.functions.asp

Romée


Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 April 2002 :  08:25:28  Show Profile  Send ruirib a Yahoo! Message
quote:

Rui,
I installed the ActiveUsers40_04 files on my production forum (you know where) as is described in the read me. And this mod works fine. There are no changes needed in the functions.asp however, but there are in the inc.functions.asp. (like function StrToDate(strDateTime)
Dim controlDate, testDate etc.) I made these changes in that forum.

But since the active users mod is not installed on my testforum, I did not make these changes there. Are you suggesting that I should make them in the inc.functions.asp anyhow?


Yes Romée, apply the change to the StrToDate function in inc_functions.asp (just this change).
This change is meant to handle the issues related to the proper handling of different date formats (mm/dd/yy vs. dd/mm/yy).

quote:

In the events_uk_date_format read me, there is nothing said about changing the inc.functions.asp


Well in the download I got just a while ago from Snitz Exchange there is a file named non-usdates.txt that recommends a change to StrToDate.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  08:33:42  Show Profile
OK I shall try.

There are several different UK events mods with the same name. ( I use one that is wellreceived lately without such a change).
In one, "events_non_us_date", that has only one asp.file in it, I read the change you mean. I had that change in my old forum, and it worked as it should untill the described problems. But lets see what the au change gives,
Romée

Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  08:43:52  Show Profile
Hi Rui,
I made the change, but it didn't make the difference.
Romée

When I click view by week, I get:

Microsoft VBScript runtime error '800a0009'

Subscript out of range: 'intBack'

/if/events_functions.asp, line 1020

line 1020 is in red:
Response.Write "<tr>"
'Response.Write "<td align=left><a href=events.asp?date=" & strtodate(rs("Start_Date")) & "><font face=" & strDefaultFontFace & " size=" & strFooterFontSize & ">" & strTitle & "</font></a></td>"
Response.Write "<td align=left width='100%'><a href=""JavaScript:openWindow3('pop_event.asp?event_id=" & rs("event_id") & "')""><font face=" & strDefaultFontFace & " size=" & strFooterFontSize & ">" & strTitle & "</font></a></td>"
Response.Write "</tr>"
prevStartDate = rs("start_date")
end if




Edited by - Romee on 19 April 2002 08:46:36
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  09:07:34  Show Profile
In the same time that we are discussing this an error is given and fixed in the modw/c section.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=24119
I fixed it, and that works!

However, the display of the month is absolutely still wrong.
Romée

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 April 2002 :  09:18:29  Show Profile  Send ruirib a Yahoo! Message
Romée,

Don't know what to tell you. I have no knowledge of this mod.
A question though: Before the change you had no upcoming events, right? I don't remeber seeing them...

Another one: I can't find that piece of code in my downloaded version of the Events mod, so I can't even try to look for a cause.

Sorry.

<edit>It's probably wiser to undo the changes you did, and get proper help from someone who understands what they are talking about. As my initial presumption was wrong, I'd better stop here, and not try to help you with something I really don't know about </edit>
-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - ruirib on 19 April 2002 09:25:16
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 19 April 2002 :  09:23:45  Show Profile
Rui,
I had upcoming events in my production forum. My users are addicted to that.
I installed the mod on my productionforum now.
You can see the upcoming events there
http://www.bijenhouden.nl/forum/events.asp
Thanks for the help Rui.



Edited by - Romee on 19 April 2002 09:35:18
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 April 2002 :  09:44:16  Show Profile  Send ruirib a Yahoo! Message
Romée,

If you want to email me the code for that file (events_functions.asp) I may try to have a look at it later on. I cannot promise you anything except that I'll give it a shot.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
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