Welcome, Guest. Please Login or Register.
April 23, 2024, 10:58:49 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous next »
Pages: 1 ... 11 12 [13] 14 15 ... 23 Reply Ignore Print
Author Topic: [Done] Calendar Mod [Ver 1.4]  (Read 148218 times)
D8TA
Jr. Member
**
Posts: 55


I'm a Christian

WWW
Re:[Beta] Calendar Mod [New Ver 1.3]
« Reply #180 on: May 17, 2002, 04:28:18 PM »
Reply with quote

QuoteHrm, just noticed I hard coded the color in for the table caption. I used the style sheet for everything else so that it would match your board colors, but the text color there was too dark. For now, just find the <caption> HTML tag in Calendar.php and you'll see the HTML color in the <font> tag. Can change that to whatever you like. Maybe I'll make that color a setting.

Thanks that did the trick.  ;D
Logged

Jack of all trades.....Master of none.
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #181 on: May 17, 2002, 08:43:59 PM »
Reply with quote

I just put up version 1.4 -- See the link in the first message in this thread.

This is a fairly big update. Most of the changes are in Calendar.php but you'll also have to change a few other files.

As usual, the readme.txt has instructions on how to update from 1.3 to 1.4. All of the changes are marked with "1.4" on them in the .MOD file to make life easier.

Changes are as follows:

Using the Move Topic admin/mod feature will now reconnect calendar events to the correct board.

There are 3 new options which allow you to selectively show Events, Birthdays and Holidays on the board index. If you want to see what it looks like there is one item listed today (5/17) on my site: http://www.mud-master.com/soh/   You can chose to display any you wish or none at all. If there is nothing going on in the current day the calendar section is left off the board index.

The color of the calendar's caption (the "May 2002") is now an option.

You can now control access to posting events by Member Name as well as the other methods.

You can now turn on Week Numbers for the calendar. I'm not really sure if the way I chose to display the week numbers is how it's normally done. I've never seen a calendar with week numbers before -- other than one web based one I looked at to check my math. If you think there is a better way or a standard abbreviation or have any suggestions on it feel free to comment.

When posting an event or linking an event to a message you can now make it span multiple days. This is an option -- it's off by default. The dropdown for spanning will only appear if you have the option turned on AND you pick more than 1 day as a maximum to span -- doesn't make any sense to span 1 day. The maximum to span is in there to prevent abuse from childish users. I took the simplest route when implementing this and spanning days actually puts a row in the calendar table for each day spanned -- basically the same as if you linked a bunch of days to a single event by hand. If you delete the thread the events are attached to, all will be deleted. If you chose to edit a specific event from the calendar and pick delete, only that day will be deleted -- that's not a bug, it's working as intended. Editing an event does not allow you to pick a span of time. If you want to shorten it, go delete the individual days you want gone from the calendar. If you want to make the event longer, post a new event adjacent to the current one and span it from there.

I've added a new section to the Readme.txt that describes all of the calendar options since there are so many now.

« Last Edit: May 17, 2002, 08:46:16 PM by Myiasis » Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #182 on: May 17, 2002, 08:59:01 PM »
Reply with quote

Well, you are something extra!  :D
All our wishes completed in a few days!

It was me who suggested the week numbers, so I'd better upgrade and check it out at once...

Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #183 on: May 17, 2002, 09:43:29 PM »
Reply with quote

It works great for me except for one thing. What ever I do the calenderpe.gif won't show up. Any ideas? I have tried almost everything.

<Update>
Okay, I got it working. There was mixed up the words calendar and calender in the mod it seems.
« Last Edit: May 17, 2002, 09:49:13 PM by Hypocrite » Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #184 on: May 17, 2002, 09:50:02 PM »
Reply with quote

Quote from: Hypocrite on May 17, 2002, 09:43:29 PMIt works great for me except for one thing. What ever I do the calenderpe.gif won't show up. Any ideas? I have tried almost everything.

I dunno. It's in the same place as the other images right (in the images folder)? There should be the one image for the calendar button, the image when viewing a message to link an event and if you have 1.4 there's the image on the board index. If those are all working and calendarpe.gif isn't maybe trying reuploading it -- make sure you upload it in binary mode.
« Last Edit: May 17, 2002, 09:50:33 PM by Myiasis » Logged
opus
Jr. Member
**
Posts: 59


I'm an opus!

ICQ - 16116986 WWW
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #185 on: May 17, 2002, 10:02:27 PM »
Reply with quote

Works Great!  Thanks for all your work on this.  

I went and looked up Easter Sunday Until 2010.  Thought some other people may want it.

insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',3,31,2002);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,20,2003);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,11,2004);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',3,27,2005);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,16,2006);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,8,2007);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',3,23,2008);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,12,2009);
insert into <prefix>calendar_holiday (title,month,day,year) values ('Easter Sunday',4,4,2010);
« Last Edit: May 17, 2002, 10:19:25 PM by opus » Logged

If I were two people I would still be busy.
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #186 on: May 17, 2002, 10:12:25 PM »
Reply with quote

Nice, thanks. :)  I forgot all about Easter.

I'll add those to the Readme.txt file for future downloaders too.
Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #187 on: May 17, 2002, 10:20:40 PM »
Reply with quote

Absolutely perfect!
Works like a dream, and the display of week numbers is correct, at least according to Swedish standards.  ;)

Thanks a lot!

And now I have a dream... Imagine things could be like this in all aspects of life... You go to the shop were you got your new car (for free, of course) and say: well it's good, but now I would like to have an air contitioner, and I really would like to have some extra lamps, and why not a square steering wheel instead of that standard circle, and I want this and that... And a bunch of people said 'Hold on a minute' and rushed away and came back a moment later saying: 'Done! Hope you'll like it! Just tell me if you get any errors or have some suggestions...'
Logged
opus
Jr. Member
**
Posts: 59


I'm an opus!

ICQ - 16116986 WWW
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #188 on: May 17, 2002, 10:27:22 PM »
Reply with quote

Quote from: Myiasis on May 17, 2002, 10:12:25 PMNice, thanks. :)  I forgot all about Easter.

I'll add those to the Readme.txt file for future downloaders too.

<grin>  Guess this means I am a contributor now.   ;D
Logged

If I were two people I would still be busy.
Ironman
Guest
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #189 on: May 17, 2002, 10:39:11 PM »
Reply with quote

I've just updatet, updating was very easy (although I'm only German  ;))!

Works real fine and looks absolutely bugfree, I love it!  ;D

AND it is 100% compatible to that Smiley Thing!

Congratulations for this great Mod from Germany!  8)
Logged
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #190 on: May 17, 2002, 11:09:26 PM »
Reply with quote

Oh Wow, this is very cool - you have worked hard on it.

Thank you!!

Tony.
Logged

To the world - you are just one person, but to one person you are the world!
opus
Jr. Member
**
Posts: 59


I'm an opus!

ICQ - 16116986 WWW
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #191 on: May 17, 2002, 11:21:29 PM »
Reply with quote

I am about to get in trouble here.. but.. According to the calendar on this yabb.info today is Myiasis' birthday

 ::)
Logged

If I were two people I would still be busy.
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #192 on: May 18, 2002, 12:05:22 AM »
Reply with quote

Just did your update to 1.4.. its just the job! If only all mods updated so easily  ;D
Logged
charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #193 on: May 18, 2002, 04:46:10 AM »
Reply with quote

The mod looks incredible...can't wait to get it setup...which brings me to a very n0obish question:

I've run boardmod succesfully and all the files are uploaded and ready to go...this just leaves me with the database editing, which i have no clue how to do...

is there anyone that can explain how I can make these mods through phpmyadmin?  I have access to that and see where to add the table but from there, i'm totally green...

any simple instructions on doing this?  if not, anyone wanna volunteer to earn an easy $20 or whatever is fair, to walk me through it real quick over icq/aim?

thx again for the great mod...it's installed perfectly so far...just need the table!

maDD
Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.4]
« Reply #194 on: May 18, 2002, 06:34:07 AM »
Reply with quote

With phpmyadmin it's just as easy as it could be.
Just change all the <prefix> to whatever you use as an prefix in the other tables, copy and paste it into the textfield in phpmyadmin (it's probably labeled "run mysql-question" or something like that, I haven't the english version), hit the "run"- (or maybe "go"-) button, and your done.
Phpmyadmin will tell you if it's done successfully.
Logged
Pages: 1 ... 11 12 [13] 14 15 ... 23 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.038 seconds with 20 queries.