Author |
Topic |
choppermc
New Member
Australia
80 Posts |
Posted - 26 October 2003 : 15:50:55
|
Yeah the older version of cal_style.asp does not have includes, the new one does. new_events_calendar_-34-Recurr_b3.zip |
Oh....Is that it? |
Edited by - choppermc on 26 October 2003 15:57:19 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 26 October 2003 : 16:47:24
|
Ah, this mod uses the old version of the calendar then, i'll have to take a look at the new version |
The UK MkIVs Forum |
|
|
pokemon
Junior Member
151 Posts |
Posted - 27 October 2003 : 14:24:16
|
Thanks David
Would you please take a look at new mod. I'm using new mod from Red1.
and i'm having this error:
Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression 'T.FORUM_ID IN () AND E.EVENT_DATE BETWEEN '20031001000000' AND '20031031000000''. /news/cal_functions.asp, line 70
when i try to do exactly what you told me. |
|
|
pokemon
Junior Member
151 Posts |
Posted - 29 October 2003 : 16:55:05
|
any update? |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 29 October 2003 : 18:30:58
|
Pokemon, you have mofified portal.asp, without knowing what you have done, I can't help you, sorry |
The UK MkIVs Forum |
|
|
pokemon
Junior Member
151 Posts |
Posted - 30 October 2003 : 13:30:45
|
Thanks David, I thought you are making a new add mod to portal for a new event calendar. Which i'm using now from author RED1. His mod is new for snitz 3.4.03 and i'm not sure how is work relate to your old mod from above. I notice there is something not work right.
FYI: I'm not changing anything with your portal.asp beside adding some links in there. Everything i added is working well, but not a event calendar. Would you please take a look at new event calendar mod and how to add it to portal.asp ? |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 30 October 2003 : 15:16:08
|
Yep, I will do. Have you got a link to this new events calendar so I know i'm working from the same one |
The UK MkIVs Forum |
|
|
pokemon
Junior Member
151 Posts |
|
soxc
New Member
53 Posts |
Posted - 01 November 2003 : 11:02:37
|
Not related to the Portal Mod but you might see this problem. I added a little piece of code in cal_functions.asp to show the "no events" message when an event is in a private forum and the user does not have access.
Basically I just added a bol to check if the function actually writes out any events if it does not then I write the message.
Below is the code that I have added in red:
Around 259 in cal_functions.asp
'***************************************************************** Sub WriteUpcomingEvents '*****************************************************************
Dim bEvent bEvent = false
<...body of function....>
if forumAccess and not(Moderation = "Y" and Topic_Status > 1 and Topic_Author <> MemberID) then bEvent = true Response.Write "<DIV class=""listitem"">" & MonthName(Month(Event_Date)) & " " & Day(Event_Date) & "<DIV>" & vbnewline & _ "<DIV class=""indented""><SPAN class=""spnMessageText""><A href=""topic.asp?TOPIC_ID=" & Topic_ID & """>" & Topic_Subject & "</A></SPAN></DIV>" end if rs.movenext loop If bEvent = false then Response.Write "<DIV class=""listitem"">" & strCalNoUpcoming & "</DIV>" & vbnewline end if
rs.close set rs = nothing End Sub 'WriteUpcomingEvents |
Edited by - soxc on 01 November 2003 11:03:43 |
|
|
pokemon
Junior Member
151 Posts |
Posted - 10 November 2003 : 13:55:57
|
any update on this David? |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 11 November 2003 : 04:25:41
|
Sorry, hadn't had much spare, will try and look asap |
The UK MkIVs Forum |
|
|
dhutten
New Member
Netherlands
66 Posts |
Posted - 30 November 2003 : 16:09:21
|
hi david
i get this error when i add the eventlist.asp file
Active Server Pages error 'ASP 0126'
Include file not found
/portal.asp, line 44
The include file 'cal_functions.asp' was not found.
also cal_style.asp was not found
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 01 December 2003 : 08:20:07
|
Do you have the events calendar mod installed? |
The UK MkIVs Forum |
|
|
Beano_ie
Junior Member
Ireland
328 Posts |
Posted - 06 February 2004 : 04:24:55
|
quote: Originally posted by soxc
I think that you need to add the sub TableSpacer.
I've read through the topic but can't seem to find an answer to this or am i misisng something.
Great Mod |
Steve Drogheda, Ireland @ www.droghedatown.com |
|
|
Beano_ie
Junior Member
Ireland
328 Posts |
Posted - 07 February 2004 : 11:18:19
|
I just removed the call TableSpacer in the end;
sub DisplayCalender(byval Width)
dateHolder = dateValue(strForumTimeAdjust) call DrawMonth(dateHolder,1,1,1) ' call TableSpacer(TABLE_SPACER_WIDTH, TABLE_SPACER_HEIGHT) call StartTable(Width, "Upcoming Events") call WriteUpcomingEvents() call EndTable() ' call TableSpacer(TABLE_SPACER_WIDTH, TABLE_SPACER_HEIGHT)
end sub
|
Steve Drogheda, Ireland @ www.droghedatown.com |
|
|
Topic |
|