Author |
Topic |
Fresdar
Starting Member
19 Posts |
Posted - 06 October 2002 : 12:56:08
|
Red1,
I think the reason why you were getting redirected to the default.asp page on my site with trying to do monthly is that there are events that are in a private section. Im thinking that this is the reason why the default.asp just keeps getting stuck in a loop as well.
Also,
I did a fresh install of the board using my current database with your new files and I still get the same problem. Hopefully you can find this problem out.< |
Edited by - Fresdar on 06 October 2002 15:01:48 |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 06 October 2002 : 17:20:41
|
quote: Originally posted by bobc3
Have installed the MOD and all is working great.
How do i restrict access to creating new events but leave open the ability to comment on them?
Open up cal_constants and change line 12 as per documentation on line 11< |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 06 October 2002 : 17:25:14
|
quote: Originally posted by LeoRat
Red1,
Here is similar but different error message generated with your new script for cal.asp (well, I did something stupid first, just running the change portion of cal.asp but this run is a "clean" cal.asp with your suggested change):
Microsoft VBScript runtime error '800a01a8'
Object required
/leorat2/forum/cal.asp, line 328
line 328 in cal.asp is: rs.filter = ""
Supposedly put object in " "????
Thanks.
Leo, the 'Object required' message means that rs must be an object. Just out of curiosity, can you paste lines 310 & 311 from your cal.asp ? (or the lines from around that area that also contain references to rs) if I have the line numbers wrong, please let me know what your line numbers are.< |
|
|
goldfish
New Member
82 Posts |
Posted - 07 October 2002 : 09:41:11
|
Red1 and others,
Just to let you know that my problem with post.asp (editing messages) went away when I swopped my strconn thing from ODBC to OLEDB... thanks to ruirib and HuwR for sorting that out, but Red you might want to log it as an issue... I'm so happy with it I'm planning on going live soon...
Simon< |
|
|
bobc3
Junior Member
USA
144 Posts |
Posted - 07 October 2002 : 11:53:45
|
quote: Originally posted by laser
quote: Originally posted by bobc3
Have installed the MOD and all is working great.
How do i restrict access to creating new events but leave open the ability to comment on them?
Open up cal_constants and change line 12 as per documentation on line 11
Thanks Laser!< |
|
|
red1
Junior Member
355 Posts |
Posted - 07 October 2002 : 12:45:28
|
quote: Originally posted by goldfish
Red1 and others,
Just to let you know that my problem with post.asp (editing messages) went away when I swopped my strconn thing from ODBC to OLEDB... thanks to ruirib and HuwR for sorting that out, but Red you might want to log it as an issue... I'm so happy with it I'm planning on going live soon...
Simon
Ok, I'm glad you got that sorted out.< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 07 October 2002 : 14:35:53
|
Any idea why I'd be getting a big screensize box for an event date with the other dates squeezed off to the edge?
< |
|
|
n/a
deleted
593 Posts |
Posted - 07 October 2002 : 16:14:57
|
laser, This is a block right below strSQL1="..... block for SQL calls to DB...
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open StrSql, My_conn, adOpenStatic
intEventsforWeek = rs.RecordCount
dim iWeek
for iWeek=1 to 7
Response.Write "<TABLE cellspacing=0 cellpadding=0 width=""95%""><TR><TD bgColor=""" & strTableBorderColor & """>" & vbnewline
Response.Write "<TABLE cellspacing=1 cellpadding=2 width=""100%""><TR><TD bgColor=""" & strCategoryCellColor & """ vAlign=top>" & vbnewline
Response.Write getCurrentIcon(strIconEvent,"","") & " <FONT face=" & strDefaultFontFace & " size=" & strDefaultFontSize & " color=" & strCategoryFontColor & "><B>"
Response.Write FormatDateTime(dateCursor, vbLongDate) & vbnewline
Response.Write "</B></FONT>" & vbnewline
Response.Write "</TD></TR>" & vbnewline
Response.Write "<TR><TD bgColor=""" & strAltForumCellColor & """>" & vbnewline
'### Get the Events for this day only ###
if intEventsforWeek > 0 then
rs.filter = ""
rs.filter="T_EVENT_DATE='" & DateToStr(dateCursor) & "'"
end if
'### Loop through the recordset to find the events for this date ###
if rs.EOF then
This one is from red1's rev posted above after the initial problem for Weekly Display view by Admin...
Thanks.< |
Taku
|
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 07 October 2002 : 16:31:39
|
LeoRat, that all seems fine. Just a few questions ...
- Have you replaced cal.asp with a new extract from the zip ? - Try an OLEDB connection (like goldfish did above) - After that, do you get the error ? - If so, can you detail the steps to reproduce the error ? .. I've been trying to replicate the problem, but I'm logged as Admin and weekly view looks fine to me.< |
|
|
Bookie
Average Member
USA
856 Posts |
Posted - 07 October 2002 : 18:49:35
|
Red1, Could you be a little clearer in the readme file in the updates section concerning this line on October 5...
quote:
Fixed a bug on the message not being retrieved when editing or quoting a message.
Please tell me at least what file the change is in so we don't have to go through each change if we have this mod installed already. I would appreciate this, thanks. I just need to know if I need to replace file and/or go into a file like topic.asp or post.asp to make a change.< |
Participate in my nonsense |
|
|
Fresdar
Starting Member
19 Posts |
Posted - 07 October 2002 : 19:21:13
|
Is there a way not to display the calendar on the main page unless they are logged into the board? I believe this would fixed my problem.< |
|
|
red1
Junior Member
355 Posts |
Posted - 07 October 2002 : 21:30:40
|
I think LeoRat is using an access db. I've been testing this with Access since the beginning so I really don't know where the problem is coming from. Leo can you please try replacing the entire file with the replacement one that I suggested... seems like you're only making changes to it and I think you're missing a few of them.
cal.asp
Bookie -- this bug applies to sql server and mysql. Access is more forgiving with the database calls, that's why I didn't catch it sooner. The fix is to change the strSql statement in post.asp, but I think I redid the strSql statements in almost all of them. I moved the locations where the new lines are inserted so that they are in the proper order. You don't have to re-install, just go through the readme with each file to see if the lines are all inserted in the proper places, and if not just move them a few lines up or down to where they should be.
Fresdar -- I'm not sure if it would fix your problem but... go to default.asp and use this instead of the one in the readme:
if mlev > 0 then
%> <!--#include file="cal_default.asp" --> <%
end if
alex042 -- which page are you talking about?< |
My Mods: New Events Calendar New Non-database Active Users |
Edited by - red1 on 07 October 2002 21:36:44 |
|
|
n/a
deleted
593 Posts |
Posted - 07 October 2002 : 23:01:29
|
Yes, am using Access 200 on Brinkster... I have applied your suggested change to cal.asp and ran it, but getting the error mentioned above.
I went through all files affected and re-installed them with a new cap.asp and still getting the above error...
So am not sure. One possibility is that I had Forum Integration and Frong Page News Mods installed before but they were removed and all changes being set back to "default" before reinstalling the newly updated and re-installing the whole files for EC..
I retried with cal.asp file from the above link again.... now seems pretty screwed up....don't know why but when I click on a date and go to events calender page, and click on a weekly, it is bringing up Spinks.com page and Domain DLX page (both ads)... so I guess something bad happened to it... This one is gone now.
Reinstalled clean EC again but still getting the same Weekly View error.... Will remove new EC and seems that I may have to reinstall V3403 and new EC 6.1 fresh....
Thanks.
< |
Taku
|
Edited by - n/a on 07 October 2002 23:44:03 |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 08 October 2002 : 10:52:15
|
quote: which page are you talking about?
Any page that includes the monthly calendar. After looking at it again, it appears that the current date takes up most of the screen, but only in certain browsers. It seemed to look ok in MAC IE 5 & WIN Netscape 4, but not in WIN IE 5 or 6. < |
Edited by - alex042 on 08 October 2002 13:52:38 |
|
|
red1
Junior Member
355 Posts |
Posted - 08 October 2002 : 14:00:45
|
I don't understand what you mean when you say, "the current date takes up most of the screen." I'm using IE6 and it looks ok. Can you show me what you mean?
LeoRat -- if the error is in cal.asp then I don't think reinstalling it will help. Can I talk a look at your site?< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
Topic |
|