Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Snitz Calendar
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

Aznknight
Senior Member

USA
1373 Posts

Posted - 15 January 2001 :  13:22:30  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

Aznknight tis a great mod...

I have been playing with it since you posted it... and made a few changes to the code myself.. One of them is to make the upcoming events actual order of the events.. (note, if you have more than 1 event on a upcoming day you will get the last event of that day then the prior event... I checked your version today and it had same issue)

This was a simple mod... just added a DESC and ASC for Event_id

Now, I am playing with trying to be able to show a week of events starting with the Sunday...

something on the other of this.

Events for the week of Sunday, January 14th 2001.

Monday, blah blah blah
Tuesdy, more blah blah
...
etc..
Thru Sat...

I have started this modification using code from your subroutine that is designed to display the upcoming events and then some of the event detail code...

Unfortunately I think I made a mess of the code.. and need to start over..

Is there anyone else that thinks something like this will improve this great mod?

-Tim

you can see my "work in progress" at http://www.nwcfonline.com/main/forum/events.asp

Thanks in Advance peoples!

*Graphics Withheld for Adminstrative reasons*
-Tim
System Admin



Tim, thanks.

Woops on forgot to about the sorting within a day for the upcoming events. That's for pointing it out...I would totally miss it.

changed (line 904):
strSql = "SELECT start_date, event_title, M_Name FROM FORUM_EVENTS Inner JOIN Forum_Members ON FORUM_EVENTS.added_by = Forum_Members.Member_ID WHERE start_date >= #" & date() & "# and start_date < #" & DateAdd("d",30,date()) & "# Order by start_date"

to

strSql = "SELECT start_date, event_title, M_Name FROM FORUM_EVENTS Inner JOIN Forum_Members ON FORUM_EVENTS.added_by = Forum_Members.Member_ID WHERE start_date >= #" & date() & "# and start_date < #" & DateAdd("d",30,date()) & "# Order BY start_date, event_id ASC"

Also, let me know when you have week view working.

- Alan


Edited by - aznknight on 15 January 2001 13:25:01
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 15 January 2001 :  13:29:10  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:


again is there ANY way around this? i have so many mods installed to upgrade is going to be a pain, but if i do upgrade what files do i need to change? im on 3.1 Service Release 2, what files need to be replaced ?


quote:

Anyone have this running on SR4 with SQL 7? IF you do, can you please post the code you're using. I'm still having problems with adding an event.



Sorry Davea and Crazy,

I don't really know neccessary changes to make this work on sr2, but the key in with the cookies. And I also don't know what's neccessary changes to make this work in sql server.

- Alan
Go to Top of Page

KXS
New Member

Canada
66 Posts

Posted - 15 January 2001 :  18:45:05  Show Profile  Send KXS an ICQ Message
Aznknight,

You have done a great job creating this mod, I can't imagine a site without this. I am developing a private buyers club with my buddies locally. This will allow us to setup deals with Merchants in the area for our group members to get discounts on their products/services. The Calendar will be a perfect additon for people to anounce new events within the group. I wish this mod becomes more and more popular, just like Snitz has become. The emailing feature would be just awesome.

Nice work, I wish I was more fluent in ASP, I would love to help build on this mod...

Everyone, let's support Aznknight's mod, and build on it, this could end up being HUGE...

------------------
"keeping it real"
Go to Top of Page

CrAzY
New Member

USA
50 Posts

Posted - 15 January 2001 :  19:39:53  Show Profile  Send CrAzY an AOL message  Send CrAzY an ICQ Message
I have SR4. My only problems is utilizting SQL Server 7.

If you'd like access to a SQL Server to test your code on in the future. Please let me know. I'll be more than happy to setup a small portion of my SQL Server for testing mod's.


« Nokturnal.Net »
Seize The Night
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 16 January 2001 :  06:51:53  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
If you're using my calendar mod with the active users mod. Add the code below (in red) in the who's online part of inc_top.asp so that it picks up that your visitor is looking at the calendar and events.

strOnlineLocation = "Profile"
End If
ElseIf lcase(Right(strOnlinePathInfo, 10)) = "events.asp" Then
strOnlineLocation = "<a href=""events.asp"">Events Calendar</a>"
ElseIf lcase(Right(strOnlinePathInfo, 15)) = "classifieds.asp" Then
strOnlineLocation = "<a href=""classifieds.asp"">Classifieds</a>"
ElseIf lcase(Right(strOnlinePathInfo, 11)) = "pm_view.asp" Then
strOnlineLocation = "<a href=""pm_view.asp"">Private Message Inbox</a>"


Cheers.



- Alan


Edited by - aznknight on 16 January 2001 06:52:56
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 16 January 2001 :  20:31:18  Show Profile  Visit rick7165's Homepage
Need help... When I add a event.. then go look at it. The font is White with a white background. and I can't see it. Does anyone know how to change this without changing the whole forum.

Thanks,
Rick

www.eastpasco.com

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 16 January 2001 :  20:48:34  Show Profile
If you are ok with the way the events.asp looks on my site , you can download this file: http://richard.cfm-resources.com/v31sr4/events.txt (right click and choose "Save Target As.." and then rename it to events.asp

Edited by - Richard Kinser on 16 January 2001 20:50:39
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 16 January 2001 :  22:15:58  Show Profile  Visit rick7165's Homepage
Thanks Richard... Worked Great

My Demo Site
www.eastpasco.com

Edited by - rick7165 on 17 January 2001 15:52:26
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 17 January 2001 :  09:28:43  Show Profile
quote:

Thanks Richard... Worked Great

My Demo Site
www.eastpasco.com



I haven´t had time to test the new version of this (very) cool mod yet...
Is it able to show only the admin and the particular users events by now?

This really must be a priority to this MOD...

can u get this to work?

With big boards with many users, the calendar would be flooded with events....also not all of the info one wants in one´s calender should be public. - privacy is needed!

MPH73
MPH73

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 17 January 2001 :  13:30:36  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

I haven´t had time to test the new version of this (very) cool mod yet...
Is it able to show only the admin and the particular users events by now?



It's was more of a service release than a new version.
-mainly fixed "Added By" bug on second event.

quote:

This really must be a priority to this MOD...

can u get this to work?

With big boards with many users, the calendar would be flooded with events....also not all of the info one wants in one´s calender should be public. - privacy is needed!

MPH73



I can imagine how it could be on a busy forum. Too much events that it becomes not as useful.

Hmm but how I should I implement and develop the new version. This is what i was thinking:

- users can set event as private and public.
- Admin can create global events that everyone could see when they look at the calendar.
- Users can set option to only view their private events or all events.
- search option for events.
- moderators can only delete public events.

How does these goals sound for next version of snitz calendar?

I have ideas and know-how to make it possible but it will require some time and work.

Whoa, I have too many top priorities....foremost is to graduate from college in May. Just Disclaimer to not be anxious about version 2 anytime soon.

- Alan
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 17 January 2001 :  15:40:57  Show Profile  Visit Rob Poretti's Homepage
The mods is great thanks very much! I'm wondering how I can change the font size for the calendar events. ANy help is greatly appreciated! Cheers!

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 17 January 2001 :  15:56:34  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
font size for which part of the events? The font size and color used to display events should be the same as what you set for the rest forums. The size of the numbers and background color, hover, etc. on the calendar itself is done with style sheets which is change in the styles declarations on the top of the page.

- Alan
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 17 January 2001 :  16:17:23  Show Profile  Visit Rob Poretti's Homepage
Understood...

At times, when I've wanted a sligtly different font size I've simply looked for something like:
<font face="<% =strDefaultFontFace %>" color="<% =strCategoryFontColor %>" size="<% =strDefaultFontSize %>"


Then I could, for example, replace size="<% =strDefaultFontSize %>" with size ="<% =strFooterFontSize %>" and presto! I would have a smaller font size.

I was hoping to find something similar, but haven't yet...thats why I was asking...

Also, IMHO, a calender, which has very limited space, shouldn't neccessarily have the same font attribute as message post which has LOTS of room.

I guess in an ideal world, we'd have a heading for Font attributes specifically for the calender, in one of the Adminsitrator's pages.

Cheers!




Edited by - Rob Poretti on 17 January 2001 16:19:28
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 17 January 2001 :  19:30:59  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
Just realized that you couldn't do the forum codes in the event's detail.

Fixed the events.asp page so the it does so now

You can just copy and past this events.txt file.

Also fixed in the zip.

I also set it so that the events title will also accept forum codes.

- Alan
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 17 January 2001 :  23:24:15  Show Profile  Visit Rob Poretti's Homepage
Cool! Thanks for the update Alan!

Cheers!

Rob

Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | Next 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07